Could Someone Show Me How To Make A Form Handler?
I have tried and tried, but I can't seem to make a php form handler. I would love it to be able to check for required fields, and to be able to show the viewer their information before it is submitted, so they can make changes before it is submitted.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How Do I Make It To Show The Next Record?
Can someone please tell me how to create a link that when clicked will go to the next record. Also, I know how to display search results, when mine are displayed, there is only one record showing, how can I make it so that there are more records show?
Generic Form Handler
I have a number of forms on a website that I maintian. A few of them have 40+ fields and are currently being handled by frontpage server extensions. What I would like to do is write a generic form handler that can take any number of fields and process it, then email the contents to the appropriate person. I do not want to have to write a seperate form handler for each form. I'm trying to save myself work in the long run. Can this be done? Do I have to use an array?
Where Is Form Handler Code?
I'm working on an open source PHP project. what PHP does when there is no 'action=' specified in the form tag? An example being: <form name='EditEntity' method='POST'> I've seached all the code for 'EditEntity' and '$_POST' but no sign of either.
Form Data Not Passing To PHP Handler
Using a basic PHP file to handle incoming form data of a single text field, I have determined that the contents of the input is not being passed. The PHP reports the variable as empty... I suspect the reason it is getting "lost" on the way there is that the form is part of an include (header.html) rather than hard coded into the main page. So its link to the PHP handler is not direct. Is that possible? I was using GET method but to eliminate issues such as superglobals being off, I switched over to POST, at least for now and until I get it working...
Show If Form Varible Not Empty
I need an alteration to my code to show region only if the form varible from the previous file is not empty. I have a list of properties in a table called employees, database name gcproperty. Some properties dont have full records in the fields (photo1, photo2, etc..........to photo9. and are empty. On the show all details page some images are blank as there is no record in the database or where drawn from the form varibles browse page that where also empty. Does this make sense? Code:
Form Doesnt Show Due To Php Conflict
I decided to load some of my form via php as it was needed to generate a combo box with infomation from a query.. this is what i have yet it doesn't load up on my browser.. Code:
Popup Window Show When Php Form Is Validated.
I am using a HTML/PHP form on a website I am doing. The form works and it even redirects to the correct page. However, instead of redirecting to a new page I would like it to call a popup window (600px x 400px)but leave the page that the form is on open so when they close the popup window the page is still there.
Double Quoted Values From Database Won't Show Up In Form
I enter user input from a form into a mysql database using addslashes. When I access values with a double quote from the database they won't show up in a text form field as the default value. I use stripslashes when accessing database values, magic_quotes_gpc is on, magic_quotes_runtime is off, magic_quotes_sybase is off.
Show Stored Value For Form Field Type=file
I have a file-uploading form to uploads a .jpg file and stores its name in a table in my db as co_bannerfile. I'm trying to now write an update form so the user can update their .jpg file. I've successfully written a query to retrieve the stored file's name. How can I display the stored file's name so the user can see its name within the input TYPE="file" field and then decide to update it or not? The following doesn't display the stored file name. What do I have wrong? Code:
PHP Form To PDF File - How Do I Make PDF Secure?
I have a simple PHP form that grabs names and emails of everyone that wants to download a PDF file. When the required info is entered into the form, it gives them a link to the PDF which they can download (no problem so far). However if they then wanted to send that PDF URL to other people, they could just bypass the form and just download the PDF directly. I’ve seen references to this question in a few places, but no answers, can someone give me some ideas how I secure the PDF, or guide me to a tutorial?
How To Make PHP 'grab' Variables From A WML Form
I really can't get forms to pass data to my scripts. Now someone mentioned something about grabbing it and posted some code, but for the life of me I cannot find the email/post/whatever the hell it was, so can someone please tell me how a PHP script can be made to 'grab' a variable from a form.
How Do You Make A Form Unusable By Spammers Please?
How do you make a form unusable by spammers please? Hi all, I'm desperately trying to get a php form to not be used by spammers, I don't want anything to do with javascript or captcha's. Can anyone please let me know what changes I would need to make to the code on the link below?
How Do I Make A Normal Textlink That Submits A Form?
I've got the following search form: <form name="search" method="get" action="main.php"> <input type='text' name='searchquery' size=ཇ' value='Search'> <input type="submit" name="Submit" value="search"> <input type="hidden" name="section" value="home"> <input type="hidden" name="topic" value="search"> <input type="hidden" name="subtopic" value="results"> </form> Now I want, instead of the grey submit button, a normal (text) link that can submit this form. I see this on many sites but I have no idea how to make such a 'submit link'. Some people said it has something to do with an onClick() function, but they don't know the value for it.
How To Make A Form In Php Accepting Indefinite Inputs?
I was trying to figure out how to make such a form: Data: [ ] [add][done] When I enter a data and click the [add] button, the data gets added to a list (and preferably the updated list is displayed on the same page). This repeats until I click [done] button.
No Libphp4.so File Created In Make Intstall Or Make.
I have done a make, and a make install on the 4.3.6 version, using /usr/local/etc/php as the directory I make from. However, no matter what I do, I do not see a php4lib.so that has been created. The documentation I recieved (an IBM source) says that the following has to be added to the httpd.conf file : LoadModule php4_modulelib/apache/libphp4.so .. .. .. AddModule mod_php4.c here is the output from my make install : [root@mail php]# make install Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/bin/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar - already installed: 1.1 [PEAR] Console_Getopt - already installed: 1.2 [PEAR] PEAR - already installed: 1.3.1 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/lib/php to your php.ini include_path [PEAR] DB - already installed: 1.6.2 [PEAR] HTTP - already installed: 1.2.2 [PEAR] Mail - already installed: 1.1.3 [PEAR] Net_SMTP - already installed: 1.2.3 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0.1 [PEAR] XML_RPC - already installed: 1.1.0 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist
Code To Show Slide Show In PHP
Can anyone guide me as to how can i display a slideshow of all the images present in an album and if possible the code.
Show Table Only If There Is Data To Show?
I have a table that shows specific data (via a while loop) however, when you first log in as a new user, you see the table column headers but there is obviously no data, and it looks a bit unsightly. How could i take this code:
Outputting A Table Or Form Using SHOW FIELDS FROM Table
In the code the MySQL database was queried using "SHOW FIELDS FROM table" which and the returned results of column names was then use to build an output for a form and a table with php using a series of if statements along the lines of if the returned field name matches something echo a text input field. I have never seen this done this way before, so I want to get the opinion of the devshed user. Does it seem like an unsual long process to build up a form. Is there a security advantage doing it this way? Has anyone ever done it this way before?
How To Make A "sophisticated" Insert Record Form ?
I have a DB with many inter-related tables (MySQL) My main table called "content" has almost only foreign keys (integers) some have a 3 level relation (ex: content->city->region->country) I would like admins to be able to insert new records including all the "content" fields (in 1 page form) But how can I make an insert form that would display the related tables as list menus instead of a textfield with a number? (ex: select country from a drop down menu instead of typing the foerign key number) Main content Table: IDRef = primary key IDLocation = foreign key --related to tables city->region->country IDDescription = foreign key --related to table Description (=several big and small text fields) IDImages = foreign key --related to image (=image and thumbs path, alt text, etc..) Do you know any tutorial, help or solution ?
=& Instantiate The Handler
What does the =& do in the following code? //instantiating the handler $Obj =& new Baz(); Why couldn't I use just = with the ampersand like below? //instantiating the handler? $Obj = new Baz();
Add Handler ? #!/usr/local/bin/php
I have a web page like this #!/usr/local/bin/php <? echo "hello"; ?> It always shows the first line as text output. Does anyone know how to let web server or intepreter ignor this line. I try to add the following line in the httpd.conf AddHandler cgi-script .php And make the file executable. It shows " internal server error". Since this package has around 40 or 50 pages. I do not want to get into each file and comment it out. Any idea about this?
Error Handler
In my code I have a block like this ---------------------------------------------------------------------- $old_error_handler = set_error_handler('HLErrorHandler'); // some code restore_error_handler(); //some code $old_error_handler = set_error_handler('HLErrorHandler'); ---------------------------------------------------------------------- once I call the function 'restore_error_handler()' I can't set the error handler back to ''HLErrorHandler''. Does anyone know why?
Result Handler Set?
I'm getting an error which get's reported something like "can't save result handler blabla".. .. i didn't note the exact error at the time and i can't bring it back cuz i deleted my whole database and started from scratch.. anybody know what this is about?? i'm pretty sure it's something to do with mysql.. it shows with mysql_error().
Serialize Handler
Does anyone know how to write a serialize handler function (session.serialize_handler)? There's not a word about it in the manual.
Download Handler
I've developed a download handler, it works perfectly in all cases but one: When the file is bigger than the memory_limit from php, the apache webserver falls down. This is the code:
MySQL Session HANDLER HELP!!!!
What My Problem Is: ARGH! I've been trying to get a MySQL Session Handler to work with no avail! Can someone give me any input before I go on a rampage? This is what it Does: Say I call session_start(); apparently the session is written but saved into a file still? I can register a variety of session variables but it never shows up in the DB until I register valid_user? WTF is WRONG WITH THIS PICTURE. hehe sorry stressed. It apparently doesn't matter where I register valid_user as long as I do register valid_user for it to work. Strange huh? *sigh* I have all my configuration set correctly I think session.save_hander is set to user, and I even added a check for it in the code. If anyone can help I will be very greatful. Here is the Session Handler Code, Ying's Code With Mods: assert(get_cfg_var("session.save_handler") == "user"); $SESS_DBHOST = "localhost";/* database server hostname */ $SESS_DBNAME = "IntranetIEDB";/* database name */ $SESS_DBUSER = "root";/* database user */ $SESS_DBPASS = "ieei";/* database password */ $SESS_DBH = ""; $SESS_LIFE = get_cfg_var("session.gc_maxlifetime"); function sess_open($save_path, $session_name) { global $SESS_DBHOST, $SESS_DBNAME, $SESS_DBUSER, $SESS_DBPASS, $SESS_DBH; if (! $SESS_DBH = mysql_pconnect($SESS_DBHOST, $SESS_DBUSER, $SESS_DBPASS)) { echo "<li>Can't connect to $SESS_DBHOST as $SESS_DBUSER"; echo "<li>MySQL Error: ", mysql_error(); die; } if (! mysql_select_db($SESS_DBNAME, $SESS_DBH)) { echo "<li>Unable to select database $SESS_DBNAME"; die; } return true; } function sess_close() { return true; } function sess_read($key) { global $SESS_DBH, $SESS_LIFE, $SESS_DBNAME; $qry = "SELECT value FROM sessions WHERE sesskey = '$key' AND expiry > " . time(); $qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH); if (list($value) = mysql_fetch_row($qid)) { return $value; } return false; } function sess_write($key, $val) { global $SESS_DBH, $SESS_LIFE, $REMOTE_ADDR, $SESS_DBNAME; $expiry = time() + $SESS_LIFE; $value = addslashes($val); $qry = "REPLACE INTO sessions VALUES ('$key', $expiry, '$value','$REMOTE_ADDR')"; $qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH); return $qid; } /* function sess_write($key, $val) { global $SESS_DBH, $SESS_LIFE ,$REMOTE_ADDR; $expiry = time() + $SESS_LIFE; $value = addslashes($val); $qry = "INSERT INTO sessions VALUES ('$key', $expiry, '$value','$REMOTE_ADDR')"; $qid = mysql_query($qry, $SESS_DBH); if (! $qid) { $qry = "UPDATE sessions SET expiry = $expiry, value = '$value' WHERE sesskey = '$key' AND expiry > " . time(); $qid = mysql_query($qry, $SESS_DBH); } return $qid; } */ function sess_destroy($key) { global $SESS_DBH,$SESS_DBNAME; $qry = "DELETE FROM sessions WHERE sesskey = '$key'"; $qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH); return $qid; } function sess_gc($maxlifetime) { global $SESS_DBH,$SESS_DBNAME; $qry = "DELETE FROM sessions WHERE expiry < " . time(); $qid = mysql_db_query($SESS_DBNAME, $qry, $SESS_DBH); return mysql_affected_rows($SESS_DBH); } session_set_save_handler( "sess_open", "sess_close", "sess_read", "sess_write", "sess_destroy", "sess_gc");
Email Handler Problem
I'm having problems with my PHP form handler. It used to work correctly, but now for some reason its not. I'm hoping someone here could take a look and tell me where I might have gone wrong. Just for background info, when I click submit the form sends okay, but when the email arrives in my inbox the $name value is non-existent - like nothing had been entered in the box on the web page form. Also, I'm not sure if this is relevant: The server uses PHP version 4.4.4 The form handler: (scripts/ct_em.php) <? $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; mail( "ME@MYDOMAIN.COM", "SUBJECT OF THE EMAIL", "NAME: $name EMAIL ADDRESS: $email MESSAGE FOLLOWS BELOW: $message", "From: $email" ); header( "Location: THANK-YOU PAGE" ); ?> The form: (03_contact.html) - it should be noted that I've got a Javascript validation script that checks the length of the value of the email address field to ensure that it's not left blank - it's had no impact on the form working or not working - when the form did work this Javascript was always present. <form enctype="multipart/form-data" method="post" action="scripts/ct_em.php" name="form1"> <table width=288 cellpadding=0 cellspacing=0> <tr valign=center> <td class="body_mid" width=288>Name:<br><input name="name" style="font-size: 12px; width: 288px; height: 19px;"></td> </tr> <tr valign=center> <td width=288 height=5></td> </tr> <tr valign=center> <td class="body_mid" width=288>Email address:<br><input name="email" style="font-size: 12px; width: 288px; height: 19px;"></td> </tr> <tr valign=center> <td width=288 height=5></td> </tr> <tr valign=top> <td class="body_mid" width=288>Your message:<br><textarea name="message" style="font-family: Arial; font-size: 12px; width: 288px; height: 50px;"></textarea></td> </tr> <tr valign=center> <td width=288 height=10></td> </tr> <tr valign=center> <td width=288><a href="javascript:document.form1.submit()" OnMouseOver="se.src='images/bu_se_lt.gif'" OnMouseOut="se.src='images/bu_se_dk.gif'" onClick="return validate();"><img name="se" id="se" src="images/bu_se_dk.gif" alt="Send" border="0"></a></td> </tr> </table> </form>
Setting My Own Session Handler..
I'm trying to handle sessions using php5, but having some troubles to design it.. Ok, I have to use "session_set_save_handler()" to override session management but I don't really understand callback functions arguments. According to doc (http://fr3.php.net/manual/fr/function.session-set- save-handler.php french version), open(), close() take not arg, read() takes $id, write() takes $id, $sess_data and so on... But too few doc about it.. a little may be found there: http://shiflett.org/articles/storin...s-in-a-database My question: do we have to take in account these args ? May I implement my callback functions without supplying those arguments but my own ones ? How have I to consider it ? :)
Event Driven Handler In PHP
I started creating a variety of classes (calendars, input forms, combo boxes, etc. ) but I am running into code overhead when I integrate these objects (testing for POST, GETS, Cookies etc.). I am looking for an interrupt driven approach to handle event processing (akin to VB's GUI) to simplify interactions. Basically, I would like to create the objects to be displayed on the pages and then activate a page event handler to process ithe inputs. Currently I am using a mix of js, php and session cookies. But I don't like this hybrid approach. AFIK, PHP does not natively support event interrupt handling. Is there somewhere an add-on or a more elegant work-around to handle such situations? I read about Ajax, XML and related technologies. Is this the path to go?
Stale NFS File Handler
I have an error that I've never come across before. When I try to upload or delete an image I get the following error: Warning: copy(/import_fs1/home/sitevision/public_html/clients/bedsrus/preview/images/ausmonthly.jpg) [function.copy]: failed to create stream: Stale NFS file handle in /import_fs2/home/sitevision/public_html/clients/bedsrus/preview/admin/manageMonthly.proc.php on line 59 Does anyone know what could be causing this or how I could fix it? I talked to the host and all they offered to do was debug my code for $100 per hour, so not sure how much help they'll be.
Namespace Handler Isn't Called
I'm using the XML functions in PHP 5. The callback function I set for namespace declarations doesn't get called. Can anyone help me out? The code is: $xml = '<addressbook xmlns:ab="http://www.somewhere.com/addressbook/">' . '</addressbook>' $parser = xml_parser_create_ns(); xml_set_element_handler( $parser, 'StartHandler', 'EndHandler' ); /* The handler doesn't get called for some reason */ xml_set_start_namespace_decl_handler( $parser, 'NSHandler' ); xml_parse( $parser, $xml, true); xml_parser_free( $parser ); function StartHandler( $parser, $name, $attrs ) { print( 'StartHandler Called<br/>' ); } function EndHandler( $parser, $name ) { print( 'EndHandler Called<br/>' ); } function NSHandler( $parser, $prefix, $uri ) { print( 'NSHandler Called<br/>' ); } And the output is: StartHandler Called EndHandler Called I want the output to be StartHandler Called EndHandler Called NSHandler Called
Mysql Session Handler?
Can anyone recommend a good php-mysql session handler class? I have found a lot of them, but they are all pretty old, pre-2005...
Disabling The Built-in POST Handler
I need to handle very large file uploads and push the data into a socket. Having php to write everything to a temporary file, then reading it again inside the script and pushing it into the socket is very inefficient and imposes size limitations to the uploaded files (which may reach GB in size)....
Download Handler, Continued With .htaccess
I have a /download directory for my website. I dont want the files to get downloaded just by typing http://www.foo.com/download/some_file.doc because its sensitive information. I was wondering if there's a way to DISABLE the file download through the .htaccess, and then i could get the file with something like: http://www.foo.com/get.php?id=$ID_OF_FILE&hash=MD5($filename)
Echo Html With Javascript Handler
I'm building a site that is a photo archive. The way it works is the photographers submit a series of photos for a log number. (5855-1, 5855-2, 5855-3, etc.) A search returns the first image in a series (5855-1). Clicking on the image makes two hidden divs visible and initiates a AJAX script. The first div is just a screen to darken the background stuff, the second div gets populated with the results of the AJAX call, which is just a query to the db to get the number of images in the series and path to the thumbnails. All works fine but on my php page that is called through the AJAX script I have this bit of code: $table .= "</tr><tr valign='top'><td colspan=Ɗ' align='center'><p><a href='#' onClick="closeDivs();">Close</a></td></tr></table>"; this is closing out the table that displays all the images. I am trying to drop in a javascript handler that would close the two divs and return the viewer to the initial view. However, when I click the "Close" link in Fire Fox, Error Console tells me that closeDivs is not defined. On the page the user is on I do have the closeDiv() function at the top - here's the code: <script language="javascript"> function closeDivs() { if (browserType == "Firefox") { //get screen div screenDiv = document.getElementById("screen"); imageDiv = document.getElementById("imageFloat"); //get visibility state screenDivView = screenDiv.style.visibility; imageDivView = imageDiv.style.visibility; //-->determine if it is on or off if (screenDivView == "visible") { screenDiv.style.visibility = "hidden"; } //turn div on if (imageDivView == "visible") { imageDiv.style.visibility = "hidden"; } </script> I thought maybe it was looking for the JS on the PHP page that AJAX called but I dropped it (the closeDivs JS) on there and I still get the same errors.
Disable .php Handler For A Specific Browser,
I would like to know if there is a way to remove/disable .php handler when the request come from a specific Browser. I ask this because I use dreamweaver / webdav to edit my .php files. But when I try to open the .php file in dreamweaver, what I see if the result of the .php executions, not the .php source files. I know that you can create an Alias location "/dav", and disable the ..php handler for this location. It's a solution, but not the best I think. It would be better if we can disable .php runtime where dreamweaver Get the files.
Custom Php Handler Using Apache's Mod_actions
i have a problem using a PHP script as a custom handler in Apache. What i wanna do is this: Whenever a .html file is requested by a browser, i want Apache to call a CGI that outputs a header, then the requested file and then a footer. I want to use PHP for this, as i also want to do some template parsing. Well, basically, this can be done using Apache's mod_action module, where a custom handler can be defined for a certain filetype. This does work correctly. If i request a .html file, the handler is activated. The strange thing is this: PHP does not output anything but the html header! This is my custom handler file: ------------<htmlhandler.cgi>--------------- #!/bin/bash /usr/bin/php-cgi test.php -------------------------------------------- You see, php-cgi is called to execute test.php, which looks like this: ------------<test.php>---------------------- <?php phpinfo(); ?> -------------------------------------------- what i would expect is, that the PHP info page is being sent to the browser, which is not the case. All that is sent back is the .html file i requested. And the strange thing is: If i execute the CGI from commandline, i get all the phpinfo output! It just doesn't work when called by apache! You might think that the handler is not activated at all, but it is, because if i change something in the custom handler config, like spelling the filename wrong, i get a server error. Also, i tried this using php-cgi directly, like this: ------------<htmlhandler.cgi>--------------- #!/usr/bin/php-cgi <?php phpinfo(); ?> -------------------------------------------- Which just gives me back the exact same results (just the requested ..html file).
Why My Error Handler Function Can Not Work?
I want to write my own error handler function in php by using "set_error_handler()" function. I have made a test for this function but found it did not work. My test code is as following: <?php function myerrorHandler ($errno, $errstr, $errfile, $errline, $errcontext) { switch ($errno) { case E_USER_WARNING: case E_USER_NOTICE: case E_WARNING: case E_NOTICE: case E_CORE_WARNING: case E_COMPILE_WARNING: case E_USER_ERROR: case E_ERROR: case E_PARSE: case E_CORE_ERROR: case E_COMPILE_ERROR: echo "This is my own error handler function "; die(); } } set_error_handler("myerrorHandler"); Undefined(); ?> In the code, "Undefined()" is a function which is not defined in the file, so it should produce a error message. If my own handler function works, it should print "This is my own error handler function". but actually, when my program runs, it gives the error report:
Error Handler With Email Address Defined Elsewhere ?
Without using globals, how would one use an email address defined elsewhere, from within an error handler function. I can t pass it in as an argument, and the variables outisde the function arent available within it.
Falling Back To PHP's Session Handler
I've created a custom session handler that saves session data to a MySQL database. If the database server is down, I'd like to fallback to PHP's default session handler (files) until the server comes back up. After calling session_set_save_handler(), is there a way to tell PHP to ignore this setting and revert to temp files for session storage? If I try an ini_set on session.save_handler upon detecting that the DB server is down, it doesn't work because the session is already active.
Custom User Session Handler + PHPSESSID In Cookie
I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading the documentation it seems it should do it anyway the session handler, from php website:
How Do I Show The Id Of The Last Row?
I've got a database called cutepooch and a table in it called tshirts. What I want to do is display in a php page, the ID of the last row added to the table.
Show All Filesizes
why doesn't this code work? it returns a blank file <? $html = "<table width=80% cols=2>"; function display($dir) { $d = dir($dir); while ($f = $d->read()) { if(($f!= ".") && ($f!= "..")) { if(is_dir($f)) { $ds = $dir.$f."/"; display($ds); }else{ $html .= "<tr><td>".$dir.$f."</td><td>".filesize($dir.$f)."</td></tr>"; } } } } display("./"); echo $html; ?>
Random Pic - Does Not ALWAYS Show
i just want to show up a random pic. <? $files = glob("./gfx/zufall/*"); shuffle ($files); if (count($files) < 1) $count = count($files); else $count = 1; for ($i = 0; $i < $count; $i ++) { $file = $files[$i]; echo "<a href='index.php'><img src='$file' height=ñS' width=óv' border=Ɔ'></a>"; } ?> it works fine, just ocasionally, it shows NO pic. whats wrong? that is, how can i solve it?
How Can I Show A Title?
The script below is from a popup window that I have that displays projects, what I would like, is that the title of the window have the project title in it, Code:
Show Array Name
is there a function, that can echo/print the name of an array, so when i dump the array, it also says the name?
Show Source
Is there a function that can allow me to show an html files source in to a textarea?
Show Image
On a page I have an image tag like this: <img src="showimage.php?image_id=1"> What would the "showimage" script (php3) look like if I wanted to show this image?
|