[PHP] Parse URLs

2002-11-23 Thread Stephen
I have a simple post script and I want to make it so if a user types in a URL of some sort, to change it to make it clickable. How could I do that? Thanks,Stephen Cratonhttp://www.melchior.us   "Life is a gift from God. Wasting it is like destroying a gift you got from the person you

Re: [PHP] Parse URLs

2002-11-23 Thread Stephen
They are entering in a whole paragraph or two of text and I want to search the paragraph for URLs then make it a clickable URL and then store it in a MySQL database. - Original Message - From: "Tom Culpepper" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTE

[PHP] Parse URLs

2002-11-24 Thread Stephen
replacement? Also, how could I then limit how many are in the post? > - Original Message - > From: "Tom Culpepper" <[EMAIL PROTECTED]> > To: "Stephen" <[EMAIL PROTECTED]> > Cc: "PHP List" <[EMAIL PROTECTED]> > Sent: Saturday, Novembe

Re: [PHP] Re: security of stand alone script

2002-11-24 Thread Stephen
Just a little note. Don't use $remote_addr. I would strongly recomend using $HTTP_SERVER_VARS["REMOTE_ADDR"]. - Original Message - From: "gamin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 24, 2002 1:10 PM Subject: [PHP] Re: security of stand alone script > i gues

Re: [PHP] Parse URLs

2002-11-24 Thread Stephen
Yes, I found that after posting my last message. Sorry and I'll use google more... - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, No

[PHP] Decrypt Password

2002-11-26 Thread Stephen
I would like to make a "Lost Password" part to my member's area script but the problem is, the passwords in the database are encrypted using the password function. How could I decrypt it for a lost password thing? Thanks,Stephen Cratonhttp://www.melchior.us   "Lif

Re: [PHP] Decrypt Password

2002-11-26 Thread Stephen
That's what I'm going to do but how can I pull it from the database to decrypt it, then send it? - Original Message - From: "Tom Woody" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, Nove

[PHP] MySQL Error

2002-12-01 Thread Stephen
e is check and phpMyAdmin can get to it just fine. Also, how can I set it up so MySQL allows the user name root and no password acessable through localhost? I accidently changed it to only allow username root, with password... Thanks, Stephen Craton http://www.melchior.us "What is a dreamer tha

Re: [PHP] MySQL Error

2002-12-01 Thread Stephen
I did that and it didn't output anything... - Original Message - From: "Brad Bonkoski" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, December 01, 2002 2:55 PM Subject: Re: [PH

[PHP] Show Folder Contents in Form

2002-12-02 Thread Stephen
Hello, Is it possible, and if so how, to get the filenames and last edited time/date, then display them in a select field in a form for a user to select? I'd need to show them in order of most recently edited to last edited. How can this be done if it can? Thanks, Stephen Craton

Re: [PHP] Re: Show Folder Contents in Form

2002-12-03 Thread Stephen
e"]) ? -1 : 1; > } > > while (false !== ($file = readdir("/some/directory/"))) > { > if ($file != "." && $file != "..") > $files[] = array("file" => $file, "time" => > filectime("/some/di

Re: [PHP] Re: Show Folder Contents in Form

2002-12-03 Thread Stephen
ub/wwwroot/checker/modules/".$file)); } usort($files, "sortBytime"); echo ""; while (list(,$filearr) = each($files)) { echo "".$filearr["file"]."".$filearr["time"]; } echo ""; } ?> -

Re: Re[2]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread Stephen
I have a similar problem only my sessions expire once you leave the site, even for a second. I'm not so experienced with cookies so how can I fix this? - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "John W. Holmes" <[EMAIL PROTECTED]> Cc: "'Gerard Samuel'" <[EMAIL PROTEC

Re: [PHP] "x" as a multiplier

2002-12-04 Thread Stephen
This is off topic but the word for " is called a quote mark. ;-) - Original Message - From: "Bastian Vogt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 2:55 AM Subject: Re: [PHP] "x" as a multiplier > Hi, > > try $newwidth." x ".$newheight instead. > It

Re: [PHP] Help with session variables

2002-12-04 Thread Stephen
Instead of register, set it up like a normal variable. Here's an examlple going by your code: Page1. session_start(); $HTTP_SESSION_VARS['step'] = 1; header("Location: page_A.php"); Page A session_start(); $HTTP_SESSION_VARS['step'] = 2; header("Location: page_B.php"); Page B. sessio

Re: [PHP] PHP Sessions

2002-12-04 Thread Stephen
All I know is $_SESSION only works if you have shortcuts on. To test this, try replacing yoru tags with just May sound noobish but I'm lost by this whole thread... - Original Message - From: "Daniel Masson" <[EMAIL PROTECTED]> To: "'Justin French'" <[EMAIL PROTECTED]> Cc: "'Ryan Gibson

[PHP] Detecing a Number

2002-12-04 Thread Stephen
I do this? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looping Addition

2002-12-04 Thread Stephen
could I loop that out also? Here's what I'm trying to do right now but naturally, it doesn't work: $output = 0; $current = 1; do { $output .= $num.$current + $current++; } while($current <= $_POST['vars']); Any help would be great! Thanks! Thanks, Step

Re: [PHP] Looping Addition

2002-12-04 Thread Stephen
I already have that. $_POST['vars'] is a number and I already check that you on a page before. All I need to know is how to keep adding numbers until there are no more to add... - Original Message - From: "Ray Hunter" <[EMAIL PROTECTED]> To: "Stephen&quo

Re: [PHP] Looping Addition

2002-12-04 Thread Stephen
e... Then I calculate it. My question is, how would I loop the adding? I hope you understand this now... - Original Message - From: "Chris Wesley" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Cc: "Stephen" <[EMAIL PROTECTED]> Se

Re: [PHP] Looping Addition

2002-12-04 Thread Stephen
st" <[EMAIL PROTECTED]> Cc: "Stephen" <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 8:42 PM Subject: Re: [PHP] Looping Addition > On Wed, 4 Dec 2002, Stephen wrote: > > This is only a snippet, there is more to it but for simplicities sake... > >

Re: [PHP] sessions

2002-12-05 Thread Stephen
Show us your code and don't copy straight from books. ;-) - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Martin Hudec" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 7:57 AM Subject: Re: [PHP] sessions > > i have one script (index.p

Re: [PHP] Looping Addition

2002-12-05 Thread Stephen
One more question... If I then wanted to do this for the other operations (such as multiplication, division, etc), how would I do that? - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; "&#x

Re: [PHP] code for my question about sessions ;) sorry

2002-12-05 Thread Stephen
I don't know if this will fix anything or not but instead of using check_valid_user(), try making the if statement say this: is(!isset($_SESSION['valid_user)) { echo "NOT LOGGED IN"; } else { echo "LOGGED IN"; } - Original Message - From: "Martin Hudec" <[EMAIL PROTECTED]> To: "1

Re: [PHP] Looping Addition

2002-12-05 Thread Stephen
So would I just put this? foreach(%_POST['number'] as $num) { $output *= $num; } echo $output; That's for multiplication. - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc

[PHP] Repeating Decimals

2002-12-05 Thread Stephen
mbers will be repeating decimals? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looping Addition

2002-12-05 Thread Stephen
om 0, then taking 4 and subtracting that from -5. How can I fix this keeping in mind the user may type in more then two numbers? - Original Message - From: "Chris Wesley" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Cc: "Stephen" <[EM

Re: [PHP] Looping Addition

2002-12-05 Thread Stephen
But then, if the user entered 5 - 6, it should be -1 but it'd return positive one... Is there another way? - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "Chris Wesley" <[EMAIL PROTECTED]&

Re: [PHP] Looping Addition

2002-12-05 Thread Stephen
No, I wasn't going to ask that. But thanks for the info. :P - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "Kevin Stone" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL

Re: [PHP] Problems with header

2002-12-06 Thread Stephen
Plainly put, you've already sent headers. Wheather it be an tag, a plain character, or just a space. Check line 37 and see what it is... - Original Message - From: "Carlos Alberto Pinto Hurtado" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:31 PM Subject:

Re: [PHP] Repeating Decimals

2002-12-06 Thread Stephen
How would I run the functions though and then print the repeating decimal to the screen? - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, Decemb

[PHP] Middle Number

2002-12-06 Thread Stephen
How can you find the meadian (or middle number) of a list of numbers? If there is an even amount of numbers, how would I still find it? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing

Re: [PHP] Date again

2002-12-06 Thread Stephen
Not sure but I think now() doesn't return the date formate you'd want assuming your date section is classified as a date. Here's what I would do: $date = date("Y-m-d"); $sql = "SELECT * FROM table WHERE date='".$date"'"; $result = mysql_query($sql, $connection); Hope it works! - Original Me

Re: Re[2]: [PHP] Repeating Decimals

2002-12-07 Thread Stephen
Ok, I'm getting some weird errors. Here's the website: http://check.melchior.us/module.php?id=3 I attached the output file. What am I doing wrong!? - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]&g

Re: Re[8]: [PHP] Repeating Decimals

2002-12-07 Thread Stephen
That's ok. The user needs to use some of his/her brain too. :P Thanks again! - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 2:03 PM Subject: Re[8]: [PHP] Repeating De

Re: [PHP] Middle Number

2002-12-07 Thread Stephen
Wouldn't this only work for an even ammount of numbers? Like 1, 2, 3, 4 has 4 numbers... - Original Message - From: "Rick Widmer" <[EMAIL PROTECTED]> Newsgroups: php.general To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]

[PHP] Finding Mode

2002-12-07 Thread Stephen
Another math question... How would I find the mode (number that repeats most often) of an array? Then, if there isn't a number that repeats most often, tell the user that. Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchi

Re: [PHP] Finding Mode

2002-12-07 Thread Stephen
--- Original Message - From: "Rick Widmer" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 9:14 PM Subject: Re: [PHP] Finding Mode > At 07:12 PM 12/7/02 -0500, Stephen wrote: >

Re: [PHP] Can I check MYSQL version

2002-12-08 Thread Stephen
$sql = "SELECT VERSION()"; $result = mysql_query($sql); $ver = mysql_fetch_assoc($result); if($ver[0] >= 4) { echo "You have MySQL 4.0 or greater"; } else { echo "You DON'T have MySQL 4.0 or greater"; } Not sure if that'll work or not, I haven't tested it. Hope it does though. - Ori

[PHP] Hiding URL Variable

2002-12-08 Thread Stephen
How can you hide URL variables without using the POST method in a form? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Find Next Integer

2002-12-09 Thread Stephen
I have yet another math question. How could you find the next integer of a number specified? Then how could you tell it to go up or down depending on if the greater then or less tehn sign was chosen by the user? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that c

Re: [PHP] Find Next Integer

2002-12-09 Thread Stephen
But the problem is, the user may type in a decimal.. I guess I could round then add or subtract.. Would that work too? - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 1:14

[PHP] Spaces

2002-12-09 Thread Stephen
I have a article submission thing where the user types in whatever they want. I've already made it so that when the user pushes enter, it saves it as a for HTML but how would I do this for spaces also? I'm storing the contents in a MySQL database... Thanks,Stephen

Re: [PHP] Find Next Integer

2002-12-09 Thread Stephen
Ah, yes, thanks! - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 4:08 PM Subject: Re: [PHP] Find Next Integer > Well that case then > i

Re: [PHP] Spaces

2002-12-09 Thread Stephen
So would I just do this? $text = str_replace(" ", " ", $_POST['input']); - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 09

Re: [PHP] Spaces

2002-12-09 Thread Stephen
One more problem I could see is that if the user types in an odd number of spaces like 5 or 7. Wouldn't this replace string only replace spaces all the even spaces like 2, 4, 6, 8, and so on? - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "

[PHP] Fractions

2002-12-09 Thread Stephen
;t use. How could I put it in simplest form without displaying a decimal to the user and if one does come up, a mixed number? Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Fractions

2002-12-09 Thread Stephen
But how do you find it in PHP? - Original Message - From: "Ray Hunter" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 6:12 PM Subject: Re: [PHP] Fractions > Just like math...fi

Re: [PHP] Fractions

2002-12-09 Thread Stephen
on in simpliest form? - Original Message - From: "Ray Hunter" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 6:38 PM Subject: Re: [PHP] Fractions > If there are none in

Re: [PHP] Fractions

2002-12-09 Thread Stephen
erator . '/' . $denominator; > > The method might look like the above > > Andrew > > - Original Message - > From: "Stephen" <[EMAIL PROTECTED]> > To: "Ray Hunter" <[EMAIL PROTECTED]> > Cc: "PHP List" <[EMAIL

Re: [PHP] Variables problem

2002-12-09 Thread Stephen
If you have globals on, then I see your problem. Rename $totalqty to something else - Original Message - From: "Marco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 4:30 AM Subject: [PHP] Variables problem > Hi All, > > I'm a newbie and try to learn a l

Re: [PHP] Fractions

2002-12-09 Thread Stephen
I found how it works, and it doesn't put it into a mixed number. I work on it this week and see if I can't fix it. Thanks for all the help people! - Original Message - From: "Andrew Brampton" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]&g

[PHP] Report Viruses

2002-12-10 Thread Stephen
This is off topic but, where can you go to report viruses? I've been spammed with them a lot lately from this person and I'd like to stop him. Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP Genera

Re: [PHP] Report Viruses

2002-12-10 Thread Stephen
I sent one but got a mailerdemon response. The ISP is www.gosfieldtel.com if anyone has heard of them... - Original Message - From: "Brad Bonkoski" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 5:26 PM Subject: Re:

Re: [PHP] Report Viruses

2002-12-10 Thread Stephen
Both return mailer demons... 8 more viruses just to check this email. Thank goodness I have a virus protection program!!! - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROT

Re: [PHP] Report Viruses

2002-12-10 Thread Stephen
I had 20 once I got home from school. 8 to check my email and reply to Justin's email. Now 2 to check and reply to yours... - Original Message - From: "Peter Houchin" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "Justin French&q

[PHP] Geometric Sequences

2002-12-10 Thread Stephen
m3; do { $output = $output / $r; $number++; } while($number < $_POST['x']); echo $output; } else { $r = "None"; } } For those who don't know, r is the common ratio. Thanks, Stephen Craton http://www.melchior.us "What is a dream

[PHP] Repeat This...

2002-12-10 Thread Stephen
After that, it puts it in a list, and tells the user the next X numbers in the sequence... Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Move Decimal Point

2002-12-11 Thread Stephen
find the 0 in the 4th column. Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Move Decimal Point

2002-12-11 Thread Stephen
> >I have a question. How would you move the decimal left or right, > depending on if the > >number a user enters is negative or not, and then move it that many > spaces? If > >needed, it would add zeros. > > Hmm. Trying to remember what grade I learned this in. You multiply by 10 > to move it righ

Re: [PHP] PHP and MySQL

2002-12-11 Thread Stephen
My guess is you don't have register_globals on. Replace each variable with $_POST['field_name'] or $_GET['field_name'] depending on what your form's method is. You could also turn register_globals on but that is a security risk I've heard. - Original Message - From: "Pushpinder Singh Garc

Re: [PHP] Move Decimal Point

2002-12-11 Thread Stephen
{ $i = 2; } else { $exp++; $i = 1; } } while($i = 1); $output = $num . "* 10".$exp.""; Please help! - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP

[PHP] Move Decimal Point...Again

2002-12-11 Thread Stephen
Ok, nevermind about that. I fixed it finally. However, I am having trouble with the negative exponents. I want to find the scientific notation of 0.0046 which should be 4.6 * 10 to the negative 3rd. However, what I get in return is this: 4.6E-009 * 106 How could I fix this problem? I'm also havin

Re: [PHP] Move Decimal Point...Again

2002-12-11 Thread Stephen
Side note...the formatting for my email program went all weird. The numbers I'm getting as error are as follows: 4.6E-009 * 10^6 1.7E-006 ^ indicates that the next number is an exponent... The real error does not show the ^ sign. - Original Message - From: "Stephen" &l

[PHP] What's the Difference?

2002-12-13 Thread Stephen
I can't quite figure this out... What exactly is the difference between str_replace() and ereg_replace()? Don't they both do the exact same thing? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP

Re: [PHP] can I mail unlimited in one click?

2002-12-16 Thread Stephen
The limit is by your webhost and by bandwidth. Emailing 300 people with that script would be rather time consuming if your host is slow... - Original Message - From: "Jan Grafström" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 4:34 PM Subject: [PHP] can I ma

Re: [PHP] Tutorials on OOP

2002-12-22 Thread Stephen
I found thise one to be rather useful: http://www.liquidpulse.net/articles/125 - Original Message - From: "Davy Obdam" <[EMAIL PROTECTED]> To: "Justin French" <[EMAIL PROTECTED]> Cc: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN" <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 8:30 PM Subject:

Re: [PHP] forum?

2002-12-24 Thread Stephen
www.invisionboard.com - Original Message - From: "Fatih Üstündað" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Tuesday, December 24, 2002 9:51 AM Subject: [PHP] forum? : do you know freeware forum in php I can easly use? : : thanks. : fatih ustundag : : -- : PHP Gener

[PHP] Cheap Hosting

2002-12-26 Thread Stephen
at'd I like. If nothing else pops up, I'll go with it. I'd also like domain parking and/or domain registration (don't really need the registration though). Thanks in advance! Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- h

Re: [PHP] Cheap Hosting

2002-12-27 Thread Stephen
That is way to expensive for me. I'm only 13 with a $25 a day paying job... - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, Decem

Re: [PHP] processform.php not found

2002-12-27 Thread Stephen
My guess is they are explained later in the book for on the CD if it came with one. Most programming books do some with one now and days... - Original Message - From: "Cerebrimbor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 8:38 AM Subject: [PHP] processfo

[PHP] IIS Quit Working

2002-12-28 Thread Stephen
ot be displayed" thing since I'm using IE. Any ideas why this is happening? Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IIS Quit Working

2002-12-29 Thread Stephen
Sunday, December 29, 2002 3:16 AM Subject: Re: [PHP] IIS Quit Working : On Sunday 29 December 2002 09:14, Stephen wrote: : > Since I like new things and all, I decided to download and install PHP 4.3. : > Before, I had the latest (4.2.3) and IIS worked fine. But then, after : > uninst

Re: [PHP] IIS Quit Working

2002-12-29 Thread Stephen
I found on the official site that C:\WINDOWS\Temp works well too... - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, December 29, 2002 2:05 PM

[PHP] Alternatives for Meta Refresh

2002-12-30 Thread Stephen
The only thing I can think of is the header function. Any ideas? Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with CHMOD

2002-12-30 Thread Stephen
['file'].".html";   Please help!! Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with CHMOD

2002-12-30 Thread Stephen
ot; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 4:48 PM Subject: Re: [PHP] Problem with CHMOD On Monday, December 30, 2002, at 04:34 PM, Stephen wrote: > I'm running the CHMOD function and I get this error: > > Warning: chmod() [function.chmo

[PHP] SQL Error

2002-12-30 Thread Stephen
es VALUES (':-)', 'emotes/smile.gif');INSERT INTO c_emotes VALUES (';-)', 'emotes/wink.gif');INSERT INTO c_emotes VALUES (':-P', 'emotes/tounge.gif');INSERT INTO c_emotes VALUES (':-(', 'emotes/sad.gif');   Anyone see the problem?? Thanks,Stephen Cratonhttp://www.melchior.us   "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL

2002-12-31 Thread Stephen
>From experience, I don't think you can run more then one SQL statement at once in a single time. Try assigning each variable with delete, then query them all seperately. I also don't think you need the ; in the SQL statement... - Original Message - From: "@ Nilaab" <[EMAIL PROTECTED]> To

[PHP] Windows XP

2003-01-01 Thread Stephen
  Oh, and happy new years from Indiana! ^_^ Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pass Variables

2003-01-05 Thread Stephen
but again, I'd have to list all of them out. Any other quick and simple way? Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us -- PHP General Mailing List (http://www.ph

Re: [PHP] Pass Variables

2003-01-05 Thread Stephen
Oh yeah, forgot that the $_POST variable was an actual array already... Thanks! - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 7:56 PM Subject: Re: [PHP] Pass Variables : A

Re: [PHP] Re: Get your *own* IP...?!

2003-01-06 Thread Stephen
Try echoin out this: getenv("SERVER_ADDR"); - Original Message - From: "Charles likes PHP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 4:33 PM Subject: [PHP] Re: Get your *own* IP...?! : No, it has to be an absolute path... : : $_SERVER["SERVER_ADDR"]

[PHP] Submit Form

2003-01-08 Thread Stephen
idea of what I mean) -PHP saves current form vars to a MySQL database --User told information saved and he leaves ---User comes back next day, clicks load User select his current project -User taken to the last form he was on, fields filled in Thanks,Stephen Cratonht

[PHP] Variables

2003-01-08 Thread Stephen
Yet another question: How would you make a variable's name the value of another variable? For example... Variable 1's value is "joe." I want to make the value of variabe one, or joe, the name of variable two which would equal something else. Thanks,Stephen Cratonht

[PHP] Stumped...

2003-01-08 Thread Stephen
any number between 1 and 999 could be entered and without making 999 tables? Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net

Re: [PHP] Stumped...

2003-01-08 Thread Stephen
I will later select them and display them to be edited, but other then that, not really... - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; "'PHP List'" <[EM

Re: [PHP] Stumped...

2003-01-08 Thread Stephen
How would I serialise it? I can make the numbers into an array, but if I echo the array itself, I'd get "Array" and I need the number in the db, not the word... - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Ste

Re: [PHP] Stumped...

2003-01-08 Thread Stephen
- From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 9:30 PM Subject: RE: [PHP] Stumped... : The issue with the serialise option is that is you have then in a row : they are serialised

[PHP] Why T_error?

2003-01-10 Thread Stephen
S for sessions and $HTTP_POST_VARS for posted form vars from now on or what? Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To

[PHP] Make fil downloadable

2003-01-10 Thread Stephen
I need to somehow make it so when a user clicks a link, then get displayed the download dialogue for the file. The file is a .php file so I'm not sure how this is done but I've seen it been done before. How can you do this? Thanks,Stephen Cratonhttp://www.melchior.us   "What

Re: [PHP] Make fil downloadable

2003-01-10 Thread Stephen
It's a dynamically created file the user downloads and uses later as a PHP script. If I put header() in it, that would make it downloadable again when the user uses it on his/her server, wouldn't it? - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PR

Re: [PHP] Make fil downloadable

2003-01-10 Thread Stephen
Would this print the contents or the actual file for download? - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]> Cc: "'PHP List'" <[EMAIL PROTECTED]>

Re: [PHP] Make fil downloadable

2003-01-10 Thread Stephen
I wanted it so the user downloaded the file to their PC like when you're downloading a zip file or exe file from someplace like www.download.com... - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <

Re: [PHP] Make fil downloadable

2003-01-10 Thread Stephen
Eh, sorry. Didn't understand what you meant. Thanks for the code, it does do what I was asking. Thanks again! - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]> Cc: "'PHP

[PHP] Permission Denied

2003-01-11 Thread Stephen
'.$package, 0777);   Any help would be great! Thanks,Stephen Cratonhttp://www.melchior.us   "What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Permission Denied

2003-01-11 Thread Stephen
ginal Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 8:49 PM Subject: Re: [PHP] Permission Denied : At 02:40 12-1-2003, you wrote: : >Why do I get this error whenever I try to CHMOD somet

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
OTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 4:03 AM Subject: Re: [PHP] Permission Denied : On Sunday 12 January 2003 10:10, Stephen wrote: : > There's already a folder named packs but my problem was not having the / : > before it. One more question. How can

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
y Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 6:33 PM Subject: RE: [PHP] Permission Denied : Did you use the umask(0) prior to the mkdir() in your script?? : : : Timothy Hitche

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
ttings and I'll have the results later today. I'm only home for lunch, need to get back to school... - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc

  1   2   3   4   5   6   7   8   >