Search found 106 matches

Actual Results

Post Posted: January 14th, 2010, 6:05 pm

Or you could ALTER [tablename] MODIFY [datefield] TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP...I think.

Post Posted: September 16th, 2009, 3:16 pm

Thanks. I have added the MIME types to httpd.conf. The page loads perfectly if I enter the URL in the browser...it only returns the blank file when the form is submitted. The form code you posted is correct except I have method="post" enctype="multipart/form-data" in there becaus...

Post Posted: September 16th, 2009, 8:14 am

Hi all, I'm having a problem with a PHP form handler that I've never seen before. When I submit the form, the browser tries to download the handler page (blank BTW) instead of rendering it in the browser. If I hit the handler directly, it renders as expected. In the process of testing, I have ended ...

Post Posted: March 11th, 2005, 7:43 pm

that depends. if you want detail 2 to be passed from one form or another, you need to add the hidden input to the form AFTER the information is entered...likewise for detail 1. You can also keep passing it along. so for example, if the user enters detail 1 on the first of 3 forms, you'd want to put ...

Post Posted: March 9th, 2005, 9:50 pm

this will work beautifully:
Code: [ Select ]
<input type="hidden" name="detail1" value="<?=$_REQUEST['detail1'] ?>" />
<input type="hidden" name="detail2" value="<?=$_REQUEST['detail2'] ?>" />
  1. <input type="hidden" name="detail1" value="<?=$_REQUEST['detail1'] ?>" />
  2. <input type="hidden" name="detail2" value="<?=$_REQUEST['detail2'] ?>" />

Post Posted: March 9th, 2005, 9:45 pm

just saw your last post. you don't have a $_GET[] anywhere in it. and that should work anyway...to elminate any issues, i always use $_REQUEST[] because it encompasses get, post etc all in one, so that would be worth trying...if you have too much trouble with it, it might be worth contacting your se...

Post Posted: March 9th, 2005, 9:41 pm

try changing:
Code: [ Select ]
    while ($tagn < $tag_len) {
to:
Code: [ Select ]
    while ($tagn <= $tag_len) {
usually, php gives a line error at the line BELOW where the error actually IS...this line is the first thing i saw above it that might be a problem, but in any...

Post Posted: March 9th, 2005, 9:22 pm

for one thing, in this quote: _root.myButton.onPress = function() { gotoandplay(20) } you left out a semi-colon:
Code: [ Select ]
_root.myButton.onPress = function() { gotoandplay(20); }
but you also may have better luck with: [code]this.myButton.onPress = funct...

Post Posted: March 9th, 2005, 9:11 pm

is this helpful?
Code: [ Select ]
this.btnGo.onPress = function () {
  theGoCode();
};
  1. this.btnGo.onPress = function () {
  2.   theGoCode();
  3. };

Post Posted: January 28th, 2005, 8:18 pm

i can tell you that i always had problems with time()...so i use date() for everything...maybe, if you use date()...maybe it'll work? you can format it anyway you want...and format it so its the same as mysqls TIME() (which is 00:00:00)...you may have an easier time than messing with time(). the pro...

Post Posted: January 28th, 2005, 7:56 pm

or:
Code: [ Select ]
<input type="hidden" name="chargetotal" value="<?=$chargetotal ?>" />

Post Posted: December 22nd, 2004, 8:27 pm

http://dev.mysql.com/downloads/mysql/4.0.html

Post Posted: December 22nd, 2004, 8:14 pm

oops, change $_POST['action'] to $_GET['action'] and it should work...sorry, missed that on first glance.

Post Posted: December 22nd, 2004, 8:12 pm

I did a quick re-write...see if this works: [code] <?php if(!$action) { print (" <form action='contactform.php?action=send' method='post'> <table width='400'  border='0' cellspacing='0' cellpadding='0' align='center'>   <tr>     <td align='center' va...

Post Posted: November 17th, 2004, 9:19 pm

with HTML only, its not possible to generate pages. you'd need something like PHP to generate the pages for you. in which case, you'd need to build a template page like Maedhros mentioned. it would be formatted like a regular HTML page, but the sections in which you want to show form data would have...

Post Posted: November 16th, 2004, 10:47 pm

also, most times the mysql UPDATE (or SELECT, DELETE etc) command will not work if you don't close the connection at some point (mysql_close();) I've had that problem in the past.

Post Posted: November 15th, 2004, 10:27 pm

its not your code. mysql_connect() is a built in php command. either you don't have mysql installed on your server, or you don't have php installed on your server.

Post Posted: November 15th, 2004, 10:14 pm

I have the same feeling you do heh, which makes me sorry that i'm the first on responding to you. Right now, I use OOP PHP for generating HTML templates. I have a class written that reads HTML files and outputs them and replaces call signs with PHP/MySQL generated data. I like it because I can easil...

Post Posted: November 15th, 2004, 10:06 pm

i want to play with it too. is it really worth $450.00? how good is it? really?

Post Posted: November 15th, 2004, 9:57 pm

by default, user: root has no password. use this: mysql -u root. you have to grant root access WITH a password once yer in. ;)

Post Posted: November 15th, 2004, 9:54 pm

hmm...we need alot more information. is "admin.php" something you wrote? or is it something you got? i mean, there are lots of ways to track ip addresses. we need some code and, at the very least, a much more detailed description of the issue.

Post Posted: November 13th, 2004, 10:49 pm

computer name meaning the ISP-assigned computer name? it changes with the IP address as far as I know. Also, my ISP is comcast and sometimes my IP starts with 69.x.x.x and sometimes 68.x.x.x, so the idea of leaving off the last three isn't completely dependable either. the email or cookie thing woul...

Post Posted: November 13th, 2004, 10:38 pm

I don't know of a way that PHP will print something to a printer directly, but you can always use HTML to format the results in a way that it will be printable regardless of browser window size: use fixed table widths and heights...i wrote a printable form for this site: http://www.jimmessen...

Post Posted: November 13th, 2004, 10:25 pm

could use php for that too:

Code: [ Select ]
$validEmail = "^[a-zA-Z0-9_\.\-]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$";
if(eregi($validEmail, $emailAddress)) {
  $actions;
}
  1. $validEmail = "^[a-zA-Z0-9_\.\-]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$";
  2. if(eregi($validEmail, $emailAddress)) {
  3.   $actions;
  4. }

Post Posted: November 13th, 2004, 10:11 pm

checkbox data is interpreted by PHP as $_REQUEST['checkboxname'], and the value is whatever you set the value in "<input type="checkbox" value="" />" to. So, if you're trying to check whether the data is there at all, you could use: [code] if($_REQUEST['checkboxname']) { &...

Post Posted: November 13th, 2004, 9:51 pm

I usually use the header() function for an email form to send them to the page i want them to go. Its fairly simple, here's an example: [code] <? $email = "email@example.com"; $body = "text"; $subject = "Subject"; $from = "email@example.com"; $sent ...

Post Posted: April 29th, 2004, 10:11 pm

OR write a function and then call it in the template...wouldn't that work ok? i mean, for example, if you were to use a loop command, the function would carry out the loop and the template would display it as a "static element" so to speak

Post Posted: April 5th, 2004, 8:25 pm

go to http://www.entropy.ch Marc Liyanage has DETAILED instructions for install on OS X and you can copy and paste his commands into the terminal if you don't really know what you're doing. he has a line that will allow you to do what you're talking about...in fact it is: echo 'export PA...

Post Posted: April 5th, 2004, 8:02 pm

I use this to display all folders and files in my local root folder it might work for you with some mods: [code] $dot = "."; if ($handle = opendir('./')) { $x = '0'; while (false !== ($file = readdir($handle))) { if (($file ...

Post Posted: July 17th, 2003, 9:55 pm

and their server is slo too :)
  • Sort by
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.