-
Posts
783 -
Joined
-
Last visited
Posts posted by Q695
-
-
Then it's a good thing OP didn't actually ask for a solution and only asked if his code was correct.
The only way to make sure code is working is to test it yourself.
-
It does stay on one page, it just goes to another frame.
-
-
Hi guys,
I am taking a PHP class and I need your help. I have the instructions below:
I don't do homework.
-
look for an image upload tutorial.
-
I feel silly, I shoud've thought that
-
the file being uploaded is passed as a $_FILE, similar to how an image is handled.
-
You mean if empty: http://php.net/manual/en/function.empty.php
-
can not generate result You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '../images/clear.gif' alt='terain' height='20' width='20' />
-
How can I write the HTML, not have an sql escape error, and do the insert?
<?php $img_src = ob_get_contents(); //25x25 html table of images being written by about 30 lines of PHP $sql_map_img="INSERT INTO map_image (`user`, `map_id`, `map_img`) VALUES ('$id', NULL, `$img_src`);"; //echo $sql_map_img; $result_creature = mysql_query($sql_map_img, $con) or die ("can not generate result " . mysql_error()); ?>
-
It is possible, I would do it with flash (the loading circle was on for a moment). They're targeting a flash <a> from what I've seen (the loading circle).
Copy the <div id="container"> from there, read the code, and write your own to run it.
-
Hidden fields are for those just being used to hide data from a user, but keep it on the form. try something else, like a text, instead of hidden. the value will show up, and you can see it at the same time.
-
That's just a joining system with a while inside a while with different value systems based upon where you want it to show up. One of the only exceptions you would use a nested while loop in. At the final level you do a check to see if the item would be checked, or not.
-
You guys were right, I was wrong, I should do: it with switches being flipped to certain colors behind the scenes, then store the flips as a formula in a single database entry with a longtext field storing the data, and strip the <a>.
-
It doesn't look like the quotes are correct, are they? If not, then swap single, and double quotes.
if ($var1 && $var2 && $var3 && ..){
//do this
}
-
I think I found what I'm looking for, and just need to make it work with the code being written by the server: http://www.webmasterworld.com/forum88/3910.htm
-
nesting via table/layer abbreviations (table 2 variable= table 1 variable if different, or where table byte operator = byte) to say how deep the option is, or doing a php join if the data is different.
-
The images are like transparencies (not actually transparencies), but electronic images being put into a file. I to put the output in a file electronically, just have the user click a submit button that will make an image of the output.
This is what I have:
<?php $filename = 'image.jpg'; header('Content-Disposition: inline; filename="'.$filename.'"'); header("Content-Type: image/png"); // Don't forget the Content-Type as well... // Output image here /* header("Content-Type: image/png"); header('Content-Disposition: inline; filename="some.png"'); //*/ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="generator" content="Adobe GoLive" /> <title>Untitled Page</title> </head> <body> <?php $id='1'; $img_fldr='../'; if (isset($_GET['map']) && $_GET['map']!='' && isset($id) && $id!=''){ include "../connection.php";//the database connection off the main application include "../design.php";//the object I want to have a screen shot of behind the scenes } ?> </body> </html>
The URL being pulled is: http://localhost/fall_axe/builder/map_render.php?map=1
error: it says there are errors, but when without the header info it works just fine.
-
You can use the GD library to copy a load of smaller images into a larger image and then save the large image. If that is what you mean?
How?
Is there an easy way to take it from HTML, and make it a PHP, if it's already in a table form (think of how overhead projectors used to be able to convert print on paper onto a clear film I want the clear film copies).
-
Use these videos: http://www.youtube.com/watch?v=T0Uv3VeTMR8
-
Do you want to create an image of what the rendered page would look like in the browser? For that you'd either need a app that can render HTML to an image or you'd have to install a browser and some screen-capture software on the server to load the page and snap the picture.
Exactly, but like a button press cronjob. I have a page that is written just to do the image output in HTML, but now I want to have it converted to an image.
-
Is it solved?
-
Why not just do an image upload, they're incredibly easy.
-
$strHtmlOutput.= ' <tbody> <tr> $strHtmlOutput.= '<tr> <th>Date of Request</th> <td> '.$result['cdate'].' </td> </tr> '; $strHtmlOutput.= '<tr> <th>Date Last Modified</th> <td> '.$result['mdate'].' </td> </tr> '; } $strHtmlOutput.='</tbody> </table>';
missing a single '
$strHtmlOutput.= ' <tbody> <tr>'; $strHtmlOutput.= '<tr> <th>Date of Request</th> <td> '.$result['cdate'].' </td> </tr> '; $strHtmlOutput.= '<tr> <th>Date Last Modified</th> <td> '.$result['mdate'].' </td> </tr> '; } $strHtmlOutput.='</tbody> </table>';
odd behavior with the new firefox
in Other
Posted
Does anyone know why firefox defaults to google if you type in an address that isn't "localhost/.../?", but when I put in 127.0.0.1 it worked perfectly?