Search Results

Showing results 1 to 40 of 42
Search took 0.01 seconds.
Search: Posts Made By: UrbanSky
Forum: PHP Jun 8th, 2007
Replies: 3
Views: 940
Posted By UrbanSky
It is quite trival but I not keen on doing peoples coursework for them because they don't learn anything from it but!
[code]

function encode()
{
$master_array = ...
Forum: PHP Jun 8th, 2007
Replies: 2
Solved: Oo Php
Views: 844
Posted By UrbanSky
Yes not a problem, this the code for a list node. Writting the rest of the operation functions are quite easy once you have a node.


<?php
class ListNode{
var $previousNode;
var...
Forum: PHP Jun 8th, 2007
Replies: 5
Views: 1,520
Posted By UrbanSky
All of the solutions about delete the entie contents of the text file. Just to clear up hussulinux's point (as I think it is probably the most resource friendly, while still keeping the text file. ...
Forum: PHP May 31st, 2007
Replies: 2
Views: 2,862
Posted By UrbanSky
what you could do is hardcore the the save directory into the function (as you have to save the image to the server, and this makes sense as you can then have it acting as a cache so that you only...
Forum: IT Professionals' Lounge May 20th, 2007
Replies: 5
Views: 3,084
Posted By UrbanSky
Mine is 129K as well and as I said it has not been modified since the 14/05/07. I might just download the program again and reinstall it.

But thanks for the offer
Forum: HTML and CSS May 19th, 2007
Replies: 2
Views: 1,948
Posted By UrbanSky
All of the data for your site is being being downloaded tothe browser corretly. If you veiw the source for the age in IE then you can see all of the data is there. This means that is probably a CCS...
Forum: PHP May 19th, 2007
Replies: 1
Views: 1,443
Posted By UrbanSky
This isn't the right forum to past this in as it is a javascript question but i assume that you are trying to use confirm message box of ok or cancel. The confirm messaage box returns a true or...
Forum: PHP May 19th, 2007
Replies: 32
Views: 39,086
Posted By UrbanSky
I am as stupped as you are. The only thing that comes to mind is that IE sometimes has problem finsihes off writting session data and it is subsquently lost.

I think that it is quit well...
Forum: Website Reviews May 19th, 2007
Replies: 7
Views: 1,560
Posted By UrbanSky
I just had a quick look and I am not sure that it is displaying correctly in firefox.

I get scroll bars on you slideshow images at the top of the page and I have to scroll down before I see...
Forum: PHP May 19th, 2007
Replies: 32
Views: 39,086
Posted By UrbanSky
Although I have not come across this problem before I can think of a couple of things that might be happening.

First of I would look in your code at any items that uses the session_start()...
Forum: IT Professionals' Lounge May 19th, 2007
Replies: 5
Views: 3,084
Posted By UrbanSky
Hi All,

Just logged on to my main windows box to see the scan results from AVG Free have suddenly picked up a trojan in the 7Zip folder, which they have named Generic4.PJR and identified the file...
Forum: PHP May 17th, 2007
Replies: 1
Views: 720
Posted By UrbanSky
This very much dependes on you server setup but a safe bet is to place them under the public_html directory in your user account.
Forum: PHP May 7th, 2007
Replies: 3
Views: 1,085
Posted By UrbanSky
you can do that in php because php is a server side script. Once it has processed the script and set it to the browser it has no more control of the page. The easiest way is to use javascipt
Forum: PHP May 4th, 2007
Replies: 10
Views: 3,172
Posted By UrbanSky
what error reporting level have you got switched on? Also if you veiw source on you white screen is there any text there?
Forum: PHP May 3rd, 2007
Replies: 10
Views: 3,172
Posted By UrbanSky
okay,

first
$SQL = "Select * from LISTINGS WHERE $_POST LIKE '%$value%' ORDER BY TITLE ASC LIMIT 50";

will actually be "Select * from LISTINGS WHERE array LIKE '%value%' ORDER BY TITLE ASC...
Forum: PHP May 2nd, 2007
Replies: 10
Views: 3,172
Posted By UrbanSky
can you do an echo on the sql statment just before you call mysql_query please. At first glance in your mysql_query your have written $SQL rather that $sql. If you post the $sql statment then if...
Forum: PHP Apr 30th, 2007
Replies: 3
Views: 943
Posted By UrbanSky
First of all what do you mean it does not make sense? Please be a bit more specific in your question.

Secondly, does the script through any errors about connecting to the database as your have...
Forum: PHP Apr 30th, 2007
Replies: 14
Views: 4,920
Posted By UrbanSky
Bassically, I am not sure that you can. Becuase the script has to be run when the page is called by the browser. I think that you are over complicating the process, increasing bandwidth, increasing...
Forum: Windows NT / 2000 / XP Apr 30th, 2007
Replies: 1
Views: 1,733
Posted By UrbanSky
Hi All,

I was wondering if any one new a program that could list where hard disk space was being used.

For example,

Windows will tell you that you are using 29GB in total but it doesn't tell...
Forum: Windows NT / 2000 / XP Apr 30th, 2007
Replies: 2
Views: 1,305
Posted By UrbanSky
the /f in chkdsk means fix error found while scanning the disk. It always use /r which repairs all bad sectors (and also implies /f).

How are you trying to format your harddrive? It seems odd...
Forum: PHP Apr 30th, 2007
Replies: 14
Views: 4,920
Posted By UrbanSky
Ok having read what you are trying to do, I would just place the information in a cookie and then if they visit my site again the first thing that I do is delete the cookie to clear the information.
Forum: PHP Apr 30th, 2007
Replies: 14
Views: 4,920
Posted By UrbanSky
Sorry, was typing when the two replys came in above.
Forum: PHP Apr 30th, 2007
Replies: 14
Views: 4,920
Posted By UrbanSky
Basically you need to remember that php is a scripting language that is designed to be excecuted before a page is sent to a browser and scripts will only be processed when page is called and will...
Forum: PHP Apr 5th, 2007
Replies: 2
Views: 1,392
Posted By UrbanSky
what is the field type for family_id in your database. If it is an integer then you are trying to add a string and '$id' remove the ' and see if that makes any difference.
Forum: PHP Apr 5th, 2007
Replies: 2
Views: 2,959
Posted By UrbanSky
Yeah I agree with digital, you should change the where clause to WHERE DOB BETWEEN CURDATE() AND CURDATE()+7

I think mysql can do that if not just use DATE_ADD()

I also think that you have over...
Forum: PHP Mar 27th, 2007
Replies: 9
Views: 2,565
Posted By UrbanSky
Yes you are quite right

you just stick something like

<meta http-equiv="refresh" content="600">
in the head section of your html document. The thing is that it is not good to take over the...
Forum: PHP Mar 26th, 2007
Replies: 6
Views: 1,260
Posted By UrbanSky
To be slightly unhelpful but honest, get a faster server or optimise your web server. There is not much else you can do. Apart from streaming the flash flie to the user so that it starts playing...
Forum: PHP Mar 26th, 2007
Replies: 3
Views: 2,844
Posted By UrbanSky
What is the percentage actually representing? Is it the percentage of the point that that team hold of the total point in the table?
Forum: PHP Mar 24th, 2007
Replies: 5
Views: 1,257
Posted By UrbanSky
Just in case you were wondering this your modified dboutput string


$dboutput = "//database vars \n"."\$dbtype = '".$dbtype."'; \n". "\$dbhost = '".$dbhost."'; \n"."\$dbtype = '".$dbtype."';...
Forum: PHP Mar 24th, 2007
Replies: 5
Views: 1,257
Posted By UrbanSky
I have just run the script that you have posted and I first results that I got was


<?php
//database vars
dbtype = 'a';
dbhost = 'b';
dbtype = 'a';
dbname = 'b';
dbport = 'b';
Forum: PHP Mar 24th, 2007
Replies: 5
Views: 1,257
Posted By UrbanSky
what are you actually asking? I think that you are saying that you are missing the $ at the start of the variables is that correct?
Forum: PHP Mar 24th, 2007
Replies: 2
Views: 1,057
Posted By UrbanSky
I think that patserver has been stopped as a project and the codebase and concept has been moved to PEAR::Net_Server, which is still being deveolped and improved. I would suggest having a look at...
Forum: PHP Mar 24th, 2007
Replies: 3
Views: 1,981
Posted By UrbanSky
I agree with all the above comments except for the for enctype.
multipart/form-data is only need when you are using the input tag of the tpye file.

I think that you need to use
...
Forum: PHP Mar 22nd, 2007
Replies: 8
Views: 3,665
Posted By UrbanSky
You are getting these because you are referancing array keys that do not exist.

Without seeing your whole script it is difficult to give you definate answer but I would assume that you are using...
Forum: PHP Mar 22nd, 2007
Replies: 4
Views: 2,854
Posted By UrbanSky
Hi,

AOL is a bit of a pain with their email servers. They make you jump through hopes to be able to send them mail.

The major stumbling blocks for most people is that need to ensure that you...
Forum: PHP Mar 22nd, 2007
Replies: 9
Views: 2,565
Posted By UrbanSky
Javascript is definatly the way forwards. You can either use javascript to refresh or you can use an AJAX query to get fresh data and update you page.
Forum: PHP Mar 22nd, 2007
Replies: 8
Views: 3,665
Posted By UrbanSky
You get the error message because you have your error level set to E_ALL or simalar. The message that you are getting is a warning and doesn't affect how the script runs.

When you put it on a...
Forum: PHP Dec 18th, 2006
Replies: 4
Views: 5,497
Posted By UrbanSky
The syntax works,

What will happen is that the php hits the second <? tag it turns back on see the end of the if closing bracket of the if statment evaluates the else statment ie it know that it...
Forum: PHP Dec 18th, 2006
Replies: 1
Views: 821
Posted By UrbanSky
does row["price"] have a value in it? Php let you assign empty array items. Try add echo $row['price'] to the loop and make sure that it is not empty.
Forum: PHP Dec 17th, 2006
Replies: 4
Views: 5,497
Posted By UrbanSky
Ummm, from you post I am not entirly sure what you are trying to achieve. At a guess I think that you are trying to increase the speed and remove and uncessary server load. I point you to the...
Showing results 1 to 40 of 42

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC