Search found 105 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 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 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) {
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 () {
  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() 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) may have an easier time than messing with time(). the pro...

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

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

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

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)) {
  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 = ""; $body = "text"; $subject = "Subject"; $from = ""; $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 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 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 :)

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

maybe they meant $2.99 :)

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

no dos involved...the disc asks you if you want to format the hard drive before you installif you follow the instructions, you'll be able to install before you install your new os. read carefully

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

I think you'd have to understand MySQL pretty well and also the way the scripts in phpbb and php-nuke work with MySQL top be able to manipulate the database or transfer users from one to the other. basically, you'd have to a mysql dump where you'd dump the database and import into the new database.

Post Posted: July 12th, 2003, 9:05 pm

You could also call (although it may be more expensive) (408) 349-3300 you may get it taken care quicker and more efficiently.

Post Posted: July 11th, 2003, 11:14 pm

nifty...wish i could figure this stuff out :) changed it for fun hope you don't mind but i liked the graffiti tag one :)

Post Posted: July 11th, 2003, 11:05 pm

PS- *guitrspaz thinks unflux is crazy*

Post Posted: July 11th, 2003, 11:04 pm

with her??...good luck brotha!...just hook me up with one of her friends :)

Post Posted: July 11th, 2003, 10:59 pm

sounds like a friend playing a trick or do you know it was hacked? the easiest way to get into an email account is to know the password and username so i'd start there...who knows your email username and password? its probably someone you know...if not then I'd suggest getting in con...

Post Posted: July 11th, 2003, 10:44 pm

Not enough info...for starters, I usually use UPDATE....WHERE x=x....what happens? errors?

Post Posted: June 30th, 2003, 9:00 pm

Unix is similar but costs $$$ :)

Post Posted: June 30th, 2003, 8:47 pm

i've noticed that up until recently, those silly wheel well covers were always on the rear wheels of electric/hybrid cars...and i always thought they looked stupid...i wonder if they're there for some reason other than appearance. appearance-wise they're really the only thing about hybrid/electric c...

Post Posted: June 19th, 2003, 5:43 pm

you might try changing the first one's value from 0 to 1...that way it'll show the same thing the group one option does including the text, but the menu will still say"-Select Picture Group-"

Post Posted: June 16th, 2003, 9:57 pm

unflux is right...photoshop is the best, and it comes bundled with imageready which is handy for button animation and stuff. you could also use fireworks or flash. most designers use macromedia or adobe products for web graphics. there are definitely other programs available, but the ones i metioned...

Post Posted: June 16th, 2003, 9:48 pm

You said something about displaying photo groups...b_heyers script is great for choosing one picture at a time, but if you want to choose pics in groups, i would think you'd need a database of some kind to keep them in order...i'd suggest asp or php to control/access the database. basically, the pro...

Post Posted: June 12th, 2003, 10:47 pm

"go on with the chlorophyll" -billy madison

Post Posted: June 12th, 2003, 10:43 pm

no php in cgi-bin...doesn't work :) i use it alot and its always a problem. if its in the root folder it will run fine...just put it there and you'll be set

Post Posted: June 12th, 2003, 10:39 pm

if you have ssh access, you can type 'whereis perl' and whereis sendmail' to find the info about perl and sendmail...otherwise, contact your host and they can tell you both :)

Post Posted: May 23rd, 2003, 4:33 pm

hmm...sounds like its not worth it, whats the point? aesthetics? that boot screen only stays up for 15 seconds anyway. it doesn't need to say windows in the boot selection for the computer to boot in windows. if you select DOS, it will boot windows.

Post Posted: May 22nd, 2003, 11:22 pm

h mm...follow your instructions for the install of the drivers...if you have an internal, it should recognize it, but if its external, you'll have to figure out how to install it yourself (i mean read the instructions your posted and ask questions about PARTICULAR steps you didn't unserstand)...if y...

Post Posted: May 22nd, 2003, 10:22 pm

I just put redhat on my pc yesterday, and didn't have a problem with most of it, i posted a step by step for the sections of your instructions that i didn't understand (as a 1 day beginner) and i don't really think you looked too hard at it. as far as the question you had about the terminal, it is V...

Post Posted: May 22nd, 2003, 5:11 am

Oh, its fine the way it is...i just never had the time to find out myself, just curious :) not sure why i thought about it actually ha ha

Post Posted: May 21st, 2003, 11:25 pm

it can't be a big file (the driver)..put it on a disk and take it to your poor PC :)

Post Posted: May 21st, 2003, 11:22 pm

try fireworks too, its really easy to create dropdowns in fireworks

Post Posted: May 21st, 2003, 11:13 pm

Does refresh itself?...meaning, if i were to sit on one thread for an hour or so, would i be able to see new posts without going back and refreshing my browser?...just curious :)

Post Posted: May 21st, 2003, 11:05 pm

ps - "tar.gz" files should unzip in windows with winzip or an equivalent...not that that wiull do you much good with 2 OS's :)

Post Posted: May 21st, 2003, 11:01 pm

if i were DS12, I would be confused by steps 2 (no idea how to find the chipset) and 3 (which lines do i include and what do they mean?)...steps 1 and 4-7 are self explanitory (somewhat) and make sense as long as he is in the folder where he downloaded "pctel-0.9.6.tar.gz" far as gzips (To: ...

Post Posted: May 21st, 2003, 10:41 pm

thats ok :) the guy who i was doing it for stopped emailing me and put his own ASP processor together (i know i have perl and php form processors on hand if need em...whats up with him asking me for help?...i could also write one in an hour or so if i had to) so he's taken care of i suppose...thanks...

Post Posted: May 19th, 2003, 11:22 pm

bigweb, i think you're right on my page...i wish everyone went with that philosophy...i hate ASP...i've passed a few jobs where i needed to learn it, and just have no interest...i thought unflux might have a viewpoint on this one...despite his design tendencies, he always seems to have a solid MSFT ...

Post Posted: May 19th, 2003, 7:44 pm

there are a million sites that offer the same deal...try another :) but if i were you i wouldn't mess with any of em, go out and buy some lotto'll get alot less spam and your odds are better :)

Post Posted: May 19th, 2003, 7:42 pm

I guess you don't have any idea about the sendmail thing do you? I am almost positive there's no sendmail for windows...but i could be wrong...just a hunch...but, what would it use otherwise? and btw thanks for the answer for the perl...wish this guy knew what i was talking about when i asked for th...

Post Posted: May 19th, 2003, 2:44 pm

I'm messing with and trying to get it to work with a microsoft server. I've used the script before and I'm familiar with it, but I have almost 0 experience with MSFT servers. The script is made for unix/linux, and requires a sendmail and perl path to w...

Post Posted: May 18th, 2003, 9:14 am

guitrspaz has a mac widescreen. I know he loves it
Yes, I love having the widescreen, it adds so much space, plus its great for watching movies...but mine's not as wide as those linux shots...that looks pretty cool :).

Post Posted: May 18th, 2003, 9:06 am

I choose completely randomly...

Post Posted: May 17th, 2003, 6:18 am

If that didn't work, I don't have any other ideas, sorry. :)

Post Posted: May 16th, 2003, 3:05 pm

* guitrspaz is confused *

Post Posted: May 16th, 2003, 3:03 pm

second thought on that, looking back at the message you got, it looks like maybe you left in the
Code: [ Select ]
and took the rest any case the reason you got the error is because there's one more { than there are }'s and its ...

Post Posted: May 16th, 2003, 3:00 pm

hmm...well, it doesn't look like part of a function so it can't be called anywhere else on the page, that leaves one problem that I can think of...maybe you left a part of it in or took too much out. you need to make sure you take out exactly this: [code]if($HTTP_COOKIE_VARS[check_recommend&...

Post Posted: May 16th, 2003, 11:45 am

I don't know of a way to require form items with HTML, but you could try its really easy to set up and you can specify required fields very easily

Post Posted: May 16th, 2003, 11:39 am

just delete the part you posted (only the part I pasted below I mean). as long as the
Code: [ Select ]
if($HTTP_COOKIE_VARS[check_recommend]=='true'){ print("<font face=Arial><h4>Sorry, you can send once a day</h4></font>"); }
isn't th...

Post Posted: May 15th, 2003, 2:40 pm

get the manual from the redhat site and read it.

Post Posted: May 15th, 2003, 2:39 pm

dude...i just told you how to find your IP in my other post.

Post Posted: May 15th, 2003, 7:57 am

Dammit, I checked with my friend Tim who told me about that sort of stuff, and showed me some, but the site he gave me link to ( no longer has the illustration in there.

Post Posted: May 14th, 2003, 9:10 pm

jbb image broken on links page...check it

Post Posted: May 14th, 2003, 9:08 pm

and while i'm at it, it looks fine on mac...thats what i'm using...

Post Posted: May 14th, 2003, 9:07 pm

I just gotta ask how you picked the subject matter? fetish? fascination? experience? site looks good in terms of it's probable viewers (none of which i imagine will care much about appearance) and for a first time website its great! *applause* dude, bottom line; your site fascinates me...

Post Posted: May 14th, 2003, 9:02 pm

damn...i need o play with windows more...this stuff is so easy on mac :)

Post Posted: May 14th, 2003, 8:58 pm

i've only seen a couple, but its pretty damn funny..wish i could remember the links. i'l get em tomorrow maybe and post :)

Post Posted: May 14th, 2003, 8:45 pm

I gotta put one in on this because i have question too. where did the come from? is that the nic? because i assumed all were in which case i'd guess there was some weird setting in httpd.conf (incorrect nic IP) its definitely permissions, but its the root www folder that has pe...

Post Posted: May 14th, 2003, 8:35 pm

*guitrspaz always manages to log in with another computer and has the same problem

Post Posted: May 14th, 2003, 8:33 pm

hmm...even stupider question, but did you look at it before you logged in? because that could be it. ;)

Post Posted: May 14th, 2003, 8:21 pm

I personally enjoy when people draw pics in their code...thats alot better than disabling right click...make like 8 pages of text drawings and put the html at the bottom :)[/code]

Post Posted: May 14th, 2003, 8:11 pm

thats not your IP..that name is associated with your nic ( internally...for anyone to reach you from the outside you need the IP ( for anyone to access your server...apparently you can use route -n to get it (found that on google btw...used to unix :)) then let us know what...

Post Posted: May 14th, 2003, 9:21 am

hee guys make a good comedy team. anyway, it took me less than 10 seconds to find it. "Red Hat Linux Manuals" unflux's advice was exactly correct, and it was the first thing i saw when i loaded the page...a little effort can go a lot further than a million questions

Post Posted: May 12th, 2003, 10:32 pm

do you guys know of an email prg that works with MSN since they won't let you use OE?

Post Posted: May 12th, 2003, 10:32 am

just thought it was interesting that all the links on the pages (such as the about page) drive to the 1999 versions of the pages...for example, in the credits, the nasa and darpa links drive to their 1999 websites...hee hee. I'm amused by the dumbest things.

Post Posted: May 12th, 2003, 10:10 am

First of all, the from header needs to be -
Code: [ Select ]
$header = "from: $name <$email>";

I don't usually do it that way though, it'd be easier just put:
Code: [ Select ]
mail($to, $subject, $message, "From: $name<$email>");

Post Posted: May 9th, 2003, 12:55 pm

sorry, it worked...I had done that once, but the second time it did indeed work. :) thanks for the help

Post Posted: May 9th, 2003, 6:11 am

thanks alot guys that helps alot. I'm going to forward the info to her. I don't know much about the tower other than it's an AM radio station. thanks alot for the advice :)

Post Posted: May 8th, 2003, 1:54 pm

i guess i didn't say enough..oops
yes, i entered the password...and i tried localhost as well as the ip. I did use the admin tool to set up the db and it let me in, but when my pages couldn't access the db, i went ahead and tried to log in from the terminal. and it didn't work.

Post Posted: May 8th, 2003, 12:38 pm

I left out a very important detail oops...the server in question is unflux's :) neither of us are sure about what the problem is.

Post Posted: May 8th, 2003, 10:51 am

I just got this from a friend...any ideas? How do you keep radio tower interference from coming into your house? Any ideas? We have just moved next to a radio tower and we get it on our phone, tv and computer. I saw on the internet about a "notch filter" and ferret beads, but don't know what they ar...

Post Posted: May 8th, 2003, 10:38 am

Thanks, seems to be working ok you know where the info is stored (in which db or whatever) for each individual db's grant privileges? the user_priv table in the mysql db seems to only keep track of global privileges.

Post Posted: May 8th, 2003, 10:33 am

different server this time. I'm having trouble logging in, and I'm pretty sure it's because of the GRANTs. When I enter this line: shell> mysql -h hname -u uname -p dbname I get this line: shell> ERROR 1045: Access denied for user: 'uname@hname' (Using password: YES) I'm wondering if there may...

Post Posted: May 7th, 2003, 1:07 pm

Alright hope you all can help with this :), I've been messing with this MySQL server for about an hour now and I'm confused...first of all, it somehow forgot the root password and remembered a random it took me a long time to change that back and btw, I didn't do anything to make it change....

Post Posted: May 6th, 2003, 9:35 am

I don't know alot about any, but I do ok with php and I know some very very basic perl. other than that, nothin :)

Post Posted: May 6th, 2003, 9:19 am

No disrespect, but I think you're the ONLY one in this thread asking for help...

Post Posted: May 5th, 2003, 11:00 pm

Donny'd love him, and anything by Stevie Wonder. Also, (a little more rock-n-roll-ish) you GOTTA hear Cody Chestnutt...he wrote a song called seeds 2.0 which is on the roots new album, but he also just put out a double album of good ass might have heard the single "look go...

Post Posted: May 5th, 2003, 10:43 pm

I like dells...they're my favorite, and i like t3s too, but how many hot chicks work in this office *kidding* hee hee hee hee

Post Posted: May 5th, 2003, 10:30 pm is actually a really good place to start learning about PHP, also try too...zend is hosted by the guy who created PHP. both are really good resources for preset vars and manuals and stuff. DevShed is good too

Post Posted: May 5th, 2003, 9:16 am

Just a few ideas. First of all, I didn't see which package you have, but the two more expensive packages do offer MySQL. Second, the PHPBB does not need to be in the fact, i've had trouble running PHP from the cgi-bin, but that's not your main problem...your main problem (and the reason...

Post Posted: April 28th, 2003, 2:59 pm

As far as i know its for mac only...its similar to homesite...color-coded tags etc, built-in perl syntax/error editor, ftp, basically a hightech notepad.

Post Posted: April 28th, 2003, 2:50 pm

Bigwebmaster is right, the error is because of an expired doesn't look like there's a way to end the session after a certain point with the session_start() command, but you might want to look into using session_destroy() to end it after a certain period of time...or session_cache_expire...

Post Posted: April 28th, 2003, 2:14 pm

You guys are going to laugh at me, but I use BBEdit (Mac :) ) or notepad for most my old job they used GoLive which I hate, and I (very) occasionally use Dreamweaver.

Post Posted: April 27th, 2003, 6:48 pm

Hey, my name is Chris and I'm from Baltimore. I was referred by Unflux, and I'm a learning self-taught PHP programmer. I've been designing websites for a few years, but I've recently become interested in PHP and PERL and various other fun stuff. Looks like a cool place, i'll be visiting alot I think...
  • Sort by

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