[PHP] delete a file from the server
Hi, I'm new in PHP and i have a question: How can i delete a file from the server in PHP Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] redirect
Hi, I have a small problem i come from a link in html page witch gives an numbet to php (contact.php?nummer=2) and in the script i use a redirec to a other php script but i can't give that number to then next script i do it like this: $url = sprintf(http://www.test.com/contact1.php?num=%,$nummer); #header(sprintf(Location: %s,$url)); Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] pictures width and height
Hi, I'am new in php and i have a question. Is there a way to check the height and width from a picture that I upload? Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] database conection (newby)
Hi I'am totaly new in php i work always with asp. I give the folowing hidden fields to a php script input type=hidden name=connectie value=mysqlhost.mijndomein.be:3306 input type=hidden name=uid value=U0498526 input type=hidden name=pwd value=iwinfo59 input type=hidden name=database value=D0498526 and in my php script i try to make my connection as follows: $conn = mysql_connect('%s','%s','%s',$connectie,$uid,$pwd); mysql_select_db('%s',$database,$conn); but i keep getting this error: Warning: Wrong parameter count for mysql_connect() in /home/users/mijndomein.be/admin/x.php on line 27 What do i wrong or is there a method to make my connection with a include file? Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]