Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K

29 Posted Topics

Member Avatar for brob5000

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() function, as you could be accidently regenerating the existing session which would oviously reset …

Member Avatar for Trevor Mills
0
1K
Member Avatar for DavidB

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 purpose of the <? ?> tags. These turn on an off …

Member Avatar for Thomas.Fischer
0
387
Member Avatar for monkeywright

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 will show you exactly what your are asking the db to query.

Member Avatar for allenaj
0
258
Member Avatar for mahe4us

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 only continue while a page is loading. So if a window is closed …

Member Avatar for Member #120589
-1
176
Member Avatar for zippee

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 have a PTR record setup for your server that points to …

Member Avatar for arvindhar
0
261
Member Avatar for Fungus1487

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. [code] [COLOR=#000000] [COLOR=#0000bb]<?php [/COLOR][COLOR=#004000]class [/COLOR][COLOR=#0000bb]ListNode[/COLOR][COLOR=#004000]{ var [/COLOR][COLOR=#0000bb]$previousNode[/COLOR][COLOR=#004000]; var [/COLOR][COLOR=#0000bb]$nextNode[/COLOR][COLOR=#004000]; [/COLOR][COLOR=#808080]//a reference to the next node [/COLOR][COLOR=#004000]var [/COLOR][COLOR=#0000bb]$element[/COLOR][COLOR=#004000]; [/COLOR][COLOR=#808080]//the object || value for this node. …

Member Avatar for Fungus1487
0
110
Member Avatar for Roc

It is quite trival but I not keen on doing peoples coursework for them because they don't learn anything from it but! function encode() { $master_array = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',1,2,3,4,5,6,7,8,9,0); //Initalise the return array $ecode_array=array(); //Create a copy of the master array $delete_array = $master_array; //Loop through the master array for($i=0;$i<count($master_array);$i++) { …

Member Avatar for UrbanSky
0
90
Member Avatar for dudegio

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. Basically when you open a file in php you usually use either append mode or …

Member Avatar for UrbanSky
0
148
Member Avatar for 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 and 7zCon.sfx. I have also logged on to the other 3 windows boxes …

Member Avatar for jamestomsa
0
214
Member Avatar for jnscollier

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 have to process the image once, rather than everytime …

Member Avatar for UrbanSky
0
118
Member Avatar for jewboy

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 styling error (I been there where I designed my …

Member Avatar for MidiMagic
0
158
Member Avatar for heliumgas

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 false response. Below is a simple illistrated true or false method. …

Member Avatar for UrbanSky
0
77
Member Avatar for chubbywubba

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.

Member Avatar for UrbanSky
0
54
Member Avatar for realnsleo

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

Member Avatar for johny_d
0
99
Member Avatar for 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 you where you are using it, the only way I know is …

Member Avatar for normanallen
0
117
Member Avatar for altergrave

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 that you are getting windows error messages while trying. Are you trying to format …

Member Avatar for gerbil
0
91
Member Avatar for rednarjess

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 left the $user and $password blank I would assume that your have a username …

Member Avatar for rednarjess
0
78
Member Avatar for Barefootsanders

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.

Member Avatar for Barefootsanders
0
91
Member Avatar for proctk

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 complicated the SELECT part using STR_TO_DATE() all you need to do is return the …

Member Avatar for UrbanSky
0
1K
Member Avatar for heliumgas

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.

Member Avatar for tavox
0
140
Member Avatar for dcarrillo18

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 before the whole file has finished downloading it.

Member Avatar for DanceInstructor
0
139
Member Avatar for anasta

What is the percentage actually representing? Is it the percentage of the point that that team hold of the total point in the table?

Member Avatar for anasta
0
100
Member Avatar for eldoc

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 that before doing to much with an unsupported bit of kit.

Member Avatar for eldoc
0
97
Member Avatar for hunkychop

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?

Member Avatar for hunkychop
0
110
Member Avatar for mohaydee

I agree with all the above comments except for the for enctype. [COLOR=#ff8000][COLOR=#0000ff]multipart/form-data is only need when you are using the input tag of the tpye file. I think that you need to use [/COLOR][/COLOR] application/x-www-form-urlencoded but then this is the value set be default, so you don't need to …

Member Avatar for UrbanSky
0
103
Member Avatar for tomhughes

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 production server you shoud have the lower level warning messages turned off …

Member Avatar for digital-ether
0
153
Member Avatar for cty

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.

Member Avatar for UrbanSky
0
60
Member Avatar for zed420

Well unless I am beening really blind (which is not unusal as I am only on my second coffee of the day). You do not seem to have a form tag, so when you are clicking the submit button the browser has no idea what to do. I guess that …

Member Avatar for php_coder
0
102
Member Avatar for Karpat

Hi, HTTP_REFERER is an optional header that clients our allowed to omitt according to the HTTP specification. But having said that most major browsers do set it. It wont be set if you load the page directly i.e. enter the link directly but if you have clicked a link and …

Member Avatar for UrbanSky
0
83

The End.