Jump to content

ahmed17

Members
  • Posts

    59
  • Joined

  • Last visited

    Never

Everything posted by ahmed17

  1. hello , this form -> (html combing php )not work  it take user name and address and preview it in other page   what is the problem  in this script ..i test it in local and remote server but not work html code : [code]<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head>       <title>Title here!</title> </head> <body> <form action="test.php"> <pre> <b>enter user name</b>    <input type="text" name="user"> <br><br> <b>enter your address</b> <textarea name="address" rows="5" cols="40" ></textarea> <br> <br>                    <input type="submit" value="press here "> </form> </body> </html>[/code] _____________ php code _____________ [code] <!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head>       <title>Title here!</title> </head> <body> <?php print"<pre>"; print "welcome  :$user <br>"; print"your address is :$address"; ?> </body> </html>[/code]
  2. thanks more wildteen88  :)
  3. may god bless you ..i am using local server ....i want any one help me to correct the upload script [quote]$file_dir = "what  i    write    here  ?";[/quote]   [quote]$file_url = "what  i    write    here  ?";[/quote]
  4. plz help me ....plz help me  * 10000000000000000000000000000
  5. [color=red][b]i want to know how i can tie php with ms acess and excel files ...? note! i am using mysql but i read article say u can tie php with ms acess or excel but how ?..its the prolobem [/b] [/color] ******************************************************** -------------------------------------------------------------------------------- hello everybody . i want to know how i can install gd libary of php to use it note ! i found in extensions folder the dll of gd "php_gd2.dll" and found it included in php.ini (configuration) ........wat i do ,plz help me ? ******************************************************* ---------------------------------------------------------------------------------- plz help me  to correct this script to upload [code][sup] <html> <head> <title> upload script</title> </head> <?php //file_dir variable on line 6 to store the file path to our upload directory $file_dir = "what  i    write    here  ?"; //$file_url on line 7 to store the URL of the same directory $file_url = "what  i    write    here  ?"; foreach( $HTTP_POST_FILES as $file_name => $file_array ) {   print "path: ".$file_array['tmp_name']."<br>\n";   print "name: ".$file_array['name']."<br>\n";   print "type: ".$file_array['type']."<br>\n";   print "size: ".$file_array['size']."<br>\n";   if ( is_uploaded_file( $file_array['tmp_name'] )     && $file_array['type'] == "image/gif" ) {     move_uploaded_file( $file_array['tmp_name'], "$file_dir/$file_name")       or die ("Couldn't copy");     print "<img src=\"$file_url/$file_name\"><p>\n\n";   } } ?> <body> <form enctype="multipart/form-data" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="51200"> <input type="file" name="fupload"><br> <input type="submit" value="Send file!"> </form> </body> </html>[/sup][/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.