[PHP] show_source

2003-10-28 Thread nathan --
code. Thanks for your time. Nathan Maki _ See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Nathan
I'll second that one... always better to code with register_globals = Off and E_ALL reporting level IMHO. # Nathan - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> > To st

Re: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Nathan
scripts that behaved differently than I though because I was looking for the value of $foo and not realizing that my $foo was grabbing my session data instead of what I thought I was assigning it to. I changed my php.ini and now I tear out far less hair this way ;-) # Nathan - Original

Re: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Nathan
Fair enough, I suppose at that point it is simply a matter of preference, though I must maintain my debug commentary... I really like knowing that the reason my $variable isn't displaying anything is because I speeled it $varaible. :-) Cheers, # Nathan - Original Message -

Re: [PHP] Array function to delete

2002-04-25 Thread Nathan
ting has really messed me up on occasion. I'll unset a value and then implode my array (say a list of numbers), and end up with a string like so: 1,233,642,,234,5632, Where I've unset the 4th and last keys. Which of course really messes up and explode. # Nathan - Original Messag

Re: [PHP] Array function to delete

2002-04-25 Thread Nathan
; } ?> If you're running an older version, it should output: 0 = zero 1 = 2 = two 3 = three Versions 4.1.X+ should completely remove key 1. Cheers, # Nathan - Original Message - From: "Lars Torben Wilson" <[EMAIL PROTECTED]> To: "Nathan" <[EMAIL P

Re: [PHP] Variables not working

2002-04-26 Thread Nathan
you have is defined... Cheers, # Nathan - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "baldey_uk" <> Cc: <> Sent: Friday, April 26, 2002 6:41 PM Subject: Re: [PHP] Variables not working Turn on register_globals in your php.ini fil

Re: [PHP] Supplied argument is not a valid MySQL result resource

2002-04-28 Thread Nathan
t and it'll spit out the result resource. Something like: function sql_query($sql) { $result = mysql_query($sql) or exit("Query failed. Error: ".mysql_error()."".$sql); return $result; } This will save you a lot of time searching for what broke! :-) Cheers, # Na

[PHP] An array of objects?

2002-05-13 Thread Nathan
ing something very wrong trying to reference the data... Anyone got ideas here? Many thanks! # Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] output_compression refuses to work

2002-05-14 Thread Nathan
o be running fine on this machine; I even got Zend Optimizer working for once! Any ideas? Thanks! # Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing arrays

2002-05-23 Thread Nathan
Da. It will create a 3D array, so you would reference the data via: echo $_GET["myarray"][0]; // returns "one"; echo $_GET["myarray"][1]; // returns "two"; ... Or, if you put this in a form, use _POST instead of _GET. - Original Message - From: "wm" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: [PHP] passing arrays

2002-05-23 Thread Nathan
Sorry, I have my brain set on sessions today... The serialize idea presented suggested by Miguel is a good way to do it. - Original Message - From: "Nathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Thursday,

Re: [PHP] mysql_select_db problem

2002-06-02 Thread Nathan
ouldn't hurt to try :-) Cheers, # Nathan - Original Message - From: "PossumPal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 02, 2002 12:40 PM Subject: [PHP] mysql_select_db problem Hi, I'm a newbie, so please have mercy on my silliness

[PHP] $REMOTE_ADDR subnet consistency?

2001-06-30 Thread Nathan
. Thank you for your brilliant insights to this question.   Nathan Cassano ContractJobHunter Web Developer    

[PHP] How do I get PHP's User-Agent?

2001-07-11 Thread Nathan
I need to create an authentication hash based on the user agent, to connect to a server but I need PHP’s User Agent, which is usually something like PHP/4.0.X. Is there a variable or way to get this? Thank you.

RE: [PHP] PHP vs Perl question

2001-07-18 Thread Nathan
I personally try and avoid using Perl when I can. Perl is difficult to learn to write proficient code in. Perl's moto is, "There is More Than One Way to Do It" which also mean there are more than a million ways to mess up. Depending upon the programmer Perl can be a write-only language. You can ev

[PHP] PHP2Perl converter?

2001-08-24 Thread Nathan
Hi, I just had a random thought as I was working on some php and perl code today and I ask, has anyone out there created a PHP to Perl converter? Similar to the ASP to PHP converter. I think only God could make a Perl2PHP converter. -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] Modem communcation using PHP

2001-09-24 Thread Nathan
Try this.. -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Modem communcation using PHP Hi ya all! I can't find the PHP documentation on using the php code to initalize, configure, da

RE: [PHP] fopen

2001-10-01 Thread Nathan
Short answer. http://www.php.net/manual/en/function.flock.php -Original Message- From: Kmarada [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] fopen is it possible to use fopen to open 5000 files differents simultaneous and edit

RE: [PHP] crypt and decrypt a string

2001-10-05 Thread Nathan
Here are some simple xor encoding functions that I wrote. This will keep the average joe from peaking at your data. function decode($data){ $data = base64_decode($data); /* XOR data */ for($i = 0; $i < strlen($data); $i++){ $data[$i] = ~ $data[$i];

[PHP] Problems with PHP after MySQL Upgrade

2005-09-19 Thread Nathan
Here's the issue. I use MySQL as my database backend. I used to have php running fine and I used phpMyAdmin to do any admin functions I needed to on MySQL. I recently upgraded to MySQL 5.x and ever since I've gotten the following error messages. When I try to use extension=php_mysqli.dll This er

[PHP] Re: Using strtotime on 'old' dates.

2003-01-10 Thread Nathan Fritz
We're running into the same problem. It was quite convenient to use date("Y-m-d",strtotime($dateField)) to process date data for MySQL. Worked fine for my news management system, since I work with current dates, but my colleague is using it for an application submission system, and needs birthdates

[PHP] New way to make select boxes auto select

2002-07-25 Thread Nathan Cook
a value of "selected" $$interest = "selected"; print("- Select One -\n"); print("Teacher\n"); print("Lego Enthusiast\n"); print("Student\n"); print("Homeschool Parent\n"); print("Browsing\n"); print("Aftersc

Re: [PHP] New way to make select boxes auto select

2002-07-25 Thread Nathan Cook
> // buildSelect -- return a Select box named $selectName based on key value array $selectArray > ... > // $arr = array('MD'=>'selected','DC'=>'','VA'=>''); How are you able to quickly and painlessly determine which key gets the selected value, from form submission data, when building the initial

Re: [PHP] New way to make select boxes auto select

2002-07-25 Thread Nathan Cook
From: "Johnson, Kirk" <[EMAIL PROTECTED]> > Do you know what happens here if the error reporting is set to max? > Are a bunch of "unitialized variables" warnings issued? That would be my assumption. I suppose you could initialize the variables first to circumvent that. I was more or less looking

Re: [PHP] Re: New way to make select boxes auto select

2002-07-26 Thread Nathan Cook
lications. But I like that method very much! [ Nathan Cook | [EMAIL PROTECTED] ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] text area with quotes

2002-07-31 Thread Nathan Kline
to display 's and "s in a variable without php adding the \?? -- Nathan Kline i.e. Man in the Box [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] I need some help: PHP portal site/creating email accounts through form submission

2002-07-31 Thread Nathan Cook
most secure solution but there are some ways to secure it through data validation. Does that make sense? Hope so, Nathan Cook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fork and multi-thread in PHP?

2002-06-12 Thread Nathan Cassano
Hi PHP folks, I have a program that sends out email by making socket connection to our email server. The problem is that the program is very slow because it has to finish talking to the email server until it can proceed with the next email (as opposed to the mail() function that just fork

[PHP] Confusion with the $_name $_type $_size Variable Extensions

2002-06-14 Thread Nathan Taylor
I am having a lot of trouble with the $_name, $_size, and $_type variable extensions. I have a basic file upload system however it is within a function. Sometimes when I declare the aforementioned variables in a global statement such as global $file_name I can get a value for _name, other times,

Re: [PHP] Confusion with the $_name $_type $_size Variable Extensions

2002-06-15 Thread Nathan Taylor
$Size/1023; $Size = number_format($Size, 2); $Size = $Size." mb"; } $type = GetExtension($row[filename]); if($type == "jpg" or $type == "gif" or $type == "png" or $type == "txt" or $type == "sql") $details = "Details"; else $det

Re: [PHP] Downside to using login sessions?

2002-06-15 Thread Nathan Taylor
As a general rule it is always good to store data that is secure in a encrypted format. My website for example uses a mysql database and I store the encrypted mysql password in the cookie so I get somethign like 435gcg34tsskhj57 to equal 123. It's far more secure because cookies are on the u

Re: [PHP] PHP timeout

2002-06-15 Thread Nathan Taylor
Hmm, I haven't heard of such a thing. That's kinda weird though because just yesterday I modified my timeout settings for my script that parses logfiles that are several thousand lines long, and it worked. Did you perhaps forget to reboot the server? If you have my suggestion is perhaps taking

Re: [PHP] saving a jpeg via HTTP

2002-06-15 Thread Nathan Taylor
Perhaps you could try a cURL or some other FTP approach? - Original Message - From: Jeff Bearer Sent: Saturday, June 15, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: [PHP] saving a jpeg via HTTP What is the best way using only PHP to grab a image file off a website a d save it locally?

Re: [PHP] Can't set a cookie?

2002-06-15 Thread Nathan Taylor
The 3rd parameter is an optional time to expire parameter, if you don't want to set it, leave it out. setcookie(cookiename,"value"); works fine - Original Message - From: Lazor, Ed Sent: Saturday, June 15, 2002 11:48 AM To: php-general Subject: [PHP] Can't set a cookie? Hi Everyone,

Re: [PHP] Parsing Text File

2002-06-15 Thread Nathan Taylor
This is all really straight forward stuff. Here's some code that will get the file parsed to an array, what you do from there is up to you. Note: if you have a precise structure for your lines you can say to read from point a to b using substr(). For example, let's say the first name is exa

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
- Original Message - From: "Fargo Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 4:14 PM Subject: [PHP] How do I hide download link ... > Hi, my customers go through a password authentication to access a link on my > site to download a file. I want to pr

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
has a non specific name. //Step 3: Update Location (don't want to lose the location) $query = "update file_locations set location=$newlocation where file_name='secure.zip'"; mysql_query($query) Best of Luck to you, Nathan Taylor ModDev.net

[PHP] Don't send the reciept

2002-06-18 Thread Nathan Taylor
Please do not click yes when it asks you to send the reciept on the email about hiding a download link, I hadn't realized the reciept function was on and it's really getting annoying. Cheers, Lakario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
> if (!session_is_registered("SESSION")){ > print ("You must Log-In to access this page\n"); > print (""); > print ("Click here to Log In"); > } print (""); should be: print("Sign-in"); // or something like that But anyways, I don't think that's quite what he wanted. I t

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
Open your browser, right click and hit properties on any page. - Original Message - From: "Brian McGarvie" <[EMAIL PROTECTED]> To: "Nathan Taylor" <[EMAIL PROTECTED]>; "Bret L Conard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tu

[PHP] Procedural Code Issue

2003-09-07 Thread Nathan Taylor
on. Can anyone offer ideas? I have already tried both declaring an absolute path and checking the variables arlready. Thanks, Nathan Taylor

[PHP] Possible Bug With $_FILES Global

2003-09-18 Thread Nathan Taylor
']. Somehow this doesn't seem quite right to me. Granted, it still works just as well but it sort of breaks the traditional naming structure for an array and really jumbles the logical flow of things. Do you think this is worth reporting? Regards, Nathan Taylor

Re: [PHP] dir size

2003-10-03 Thread Nathan Taylor
ze() function. That function takes the integer which is your total size of the directory and converts it into a nice formatted number either in kb, mb, or gb accordingly. You'll find it uses true file size as well, not "industry standard" sizing. Enjoy, Nathan Taylor - O

Re: [PHP] hotscripts style program

2003-10-04 Thread Nathan Taylor
Are you looking to make a new HotScripts style website or just a similar menu system? - Original Message - From: Ryan A To: [EMAIL PROTECTED] Sent: Saturday, October 04, 2003 9:28 AM Subject: [PHP] hotscripts style program Hey, Anybody have any code or links to explain ho

Re: [PHP] .htaccess - Still asking for login information although already sent through address bar

2003-10-06 Thread Nathan Taylor
Does it continuously ask or just twice? I've found a weird issue with .htaccess where if the domain name is a mask for a subdomain host and you try to access an .htaccess protected page it will prompt you for the password, redirect you to the subdomain and then prompt you again. N

Re: [PHP] Congratulations You Win

2003-10-08 Thread Nathan Taylor
WTF is this? - Original Message - From: Francis Weeny To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:30 PM Subject: [PHP] Congratulations You Win SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. ALFONSTRAAT B56, 1002 BS AMSTERDAM, THE NETHERLANDS. TO THE MAN

[PHP] Credit Card Validation

2003-10-08 Thread Nathan Taylor
ating a credit cards with both preprocessing by the form to determine the pattern validity and post processing by a bank to confirm the actual card validity. Your help would be greatly appreciated. Best Wishes, Nathan Taylor

Re: [PHP] Credit Card Validation

2003-10-08 Thread Nathan Taylor
doesn't make the process any easier. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Nathan Taylor" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, 08 October, 20

Re: [PHP] Credit Card Validation

2003-10-08 Thread Nathan Taylor
I'll take a look through that and do as much further research as is possible. Thanks. - Original Message - From: Craig Lonsbury To: Nathan Taylor ; php-general Sent: Wednesday, October 08, 2003 4:04 PM Subject: RE: [PHP] Credit Card Validation this is a good explan

Re: [PHP] function to show time passed since event

2003-10-08 Thread Nathan Taylor
Sure, this isn't tough at all as long as you keep track of your times. When the user logs in store the time() in a cookie or database. Then to check the time since do this \n"; echo "Then: ".date("m/d/y g:ia", $timesince)."\n"; ?> That should be right, I think... - Original Message

Re: [PHP] Need Charting Utility

2003-10-09 Thread Nathan Taylor
Look into JpGraph, it rocks my world. http://www.aditus.nu/jpgraph/ Nathan - Original Message - From: rick rice To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:30 PM Subject: [PHP] Need Charting Utility Can anyone suggest a good charting utility for PHP running

Re: [PHP] $PHP_SELF

2003-10-20 Thread Nathan Taylor
$PHP_SELF is a variable that is a variable that has limited scope and as a rule of thumb should never be used. It is a very sloppy way to code. I advise you stick to $_SERVER['PHP_SELF']. - Original Message - From: Boris Sagadin To: [EMAIL PROTECTED] Sent: Monday, October 20,

Re: [PHP] need help designing a job search agent

2003-10-20 Thread Nathan Taylor
Are you looking for something that job listings are added to by companies or something that crawls the web for listings? Nathan

[PHP] Archives

2003-10-22 Thread Nathan Taylor
Hey guys, Just a quickie: where are the archives for this list? What URL? Thanks, Nathan Taylor

Re: [PHP] Archives

2003-10-22 Thread Nathan Taylor
Thanks John and and Chris. - Original Message - From: John Nichel To: [EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 2:26 PM Subject: Re: [PHP] Archives Nathan Taylor wrote: > Hey guys, > > Just a quickie: where are the archives for this list?

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-24 Thread Nathan Taylor
for the new line character. Horizontal Tab - define("T", chr(9)); New Line - define("NL", chr(10)); Cheers, Nathan - Original Message - From: Robert Cummings To: Shawn McKenzie Cc: PHP-General Sent: Thursday, October 23, 2003 10:30 PM Subject: Re: [PHP]

Re: [PHP] HTTP request contents

2003-10-24 Thread Nathan Taylor
Perhaps $_SERVER['REQUEST_URI'] in combination with $_SERVER['QUERY_STRING'] ? Nathan - Original Message - From: Hanuska Ivo To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 6:10 AM Subject: [PHP] HTTP request contents Hi everyone, I need to

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Nathan Taylor
;s make sure it isn't used. ini_set('arg_separator.output', '&'); Cheers, Nathan Taylor - Original Message - From: Burhan Khalid To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:43 PM Subject: Re: [PHP] w3c-compliant for

[PHP] Handling Notices

2003-10-27 Thread Nathan Taylor
Undefined index: _blah_ in _blah_." Most of these are array indices in super globals such a $_GET, $_SESSION, etc. How can I get rid of these little buggers? Thanks, Nathan Taylor

Re: [PHP] Re: IRC

2003-10-31 Thread Nathan Taylor
Sure Jon, pimp Daeken's channel...   BinaryPHP is not what he needs   Nathan - Original Message - From: Jon Kriek To: [EMAIL PROTECTED] Sent: Friday, October 31, 2003 4:11 PM Subject: [PHP] Re: IRC server: irc.freenode.netchannels: #phpfreaks, #php, #bina

Re: [PHP] Web Applications and C++?

2003-11-01 Thread Nathan Taylor
They tend to use dlls and the sort, but that question is rather inappropriate for this list... - Original Message - From: John Ryan To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 12:33 PM Subject: [PHP] Web Applications and C++? I assume sites like Amazon and Ebay

Re: [PHP] recursive acronym - PHP

2003-11-01 Thread Nathan Taylor
Why must the powers that be create such mind-bendingly painful terms such as these? They are the sort of things that send my brain into an infinite loop. Nathan - Original Message - From: Joachim Krebs To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 3:23 PM Subject

Re: [PHP] recursive acronym - PHP

2003-11-01 Thread Nathan Taylor
Why must the powers that be create such mind-bendingly painful terms such as these? They are the sort of things that send my brain into an infinite loop. Nathan - Original Message - From: Joachim Krebs To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 3:23 PM Subject

Re: [PHP] text input truncated

2003-11-04 Thread Nathan Taylor
Your html is very sloppy actually. Use: $xyz = 'Hello World'; echo ''; - Original Message - From: Daniel Clark To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 6:49 PM Subject: Re: [PHP] text input truncated > $xyz = "Hello World"; > >

Re: [PHP] Beveled text

2003-11-08 Thread Nathan Taylor
hrough one level at a time up a to 100 or something like that, shrinking the text gradually and building off the same center each time. Try it and tell me what happens, I am curious. Cheers, Nathan - Original Message - From: Siddhartha Lahiri To: [EMAIL PROTECTED] Sent: Saturday

Re: [PHP] Pausing in PHP

2003-11-12 Thread Nathan Taylor
sleep() should do what you need. www.php.net/sleep Regards, Nathan - Original Message - From: Donpro To: php list Sent: Monday, November 10, 2003 12:49 PM Subject: [PHP] Pausing in PHP Hi, Is there a PHP function that would allow the script execution to pause &#

Re: [PHP] Who controls PHP?

2003-11-15 Thread Nathan Taylor
Hello, Zend in no way dictates PHP, they are simply a major player in it's development and are just as important as the PHP community. Zend develops much of the core extensions for PHP but at the same time, they do not own or even run. Nathan - Original Message - From: John

Re: [PHP] Include an encoder into PHP distribution?

2003-11-15 Thread Nathan Taylor
Well that's all good and grand but why increase the size of the distribution when it's not necessary to? Nobody wants to download something they don't necessarily need included. Nathan - Original Message - From: John Smith To: [EMAIL PROTECTED] Sent: Saturd

Re: [PHP] .html extension PHP page be interpret

2003-11-18 Thread Nathan Taylor
That's simple, just modify your Apache httpd.conf on the line where it says something along the lines of: AddType application/x-httpd-php .php4 .php .php3 .inc change it to: AddType application/x-httpd-php .php4 .php .html .php3 .inc - Original Message - From: BennyYim To: [EMAI

Re: [PHP] Prefilled forms

2003-11-18 Thread Nathan Taylor
This shouldn't have anything to do with your server config, but rather the forms themselves. What method are you sending the form(s) with? Nathan - Original Message - From: b b To: Jay Blanchard ; [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 4:24 PM Subject: RE:

Re: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread Nathan Taylor
There is nothing special to be done with the form itself for it to support file uploading aside from supply a browse field: As for uploading it, here's some untested code: if(!empty($_FILES['file']['tmp_name'])) { $name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))

Re: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread Nathan Taylor
There is nothing special to be done with the form itself for it to support file uploading aside from supply a browse field: As for uploading it, here's some untested code: if(!empty($_FILES['file']['tmp_name'])) { $name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))

Re: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread Nathan Taylor
Oh and also, don't forget to set: enctype="multipart/form-data" in the tag. Nathan - Original Message - From: Nathan Taylor To: PAUL FERRIE ; [EMAIL PROTECTED] Sent: Saturday, November 22, 2003 2:20 PM Subject: Re: [PHP] Form with browse for file to upload &qu

Re: [PHP] Re: Form with browse for file to upload "ftp"

2003-11-22 Thread Nathan Taylor
Glad to be of service. =) - Original Message - From: PAUL FERRIE To: [EMAIL PROTECTED] Sent: Saturday, November 22, 2003 3:52 PM Subject: [PHP] Re: Form with browse for file to upload "ftp" Got it working :) thanks for the help Paul "Paul Ferrie" <[EMAIL PROTECTED]>

Re: [PHP] HTML email enconding

2003-11-24 Thread Nathan Taylor
There is a nice function called sendmail available in the comments on php.net/mail. I use that regularly as it inserts all the necessary headers and supports multiple attachments. It's well worth considering... Nathan - Original Message - From: Eugene Lee To: [EMAIL PROT

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Nathan Taylor
You're not making any sense my friend. If you want to fill form field then supply them with a value="" value. There's nothing more to it. - Original Message - From: Anonymous To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:37 AM Subject: Re: [PHP] PHP script that f

Re: [PHP] Accessing .bat file from PHP

2003-11-30 Thread Nathan Taylor
I believe... that the .bat file MUST be on the server for PHP to execute it. Nathan - Original Message - From: Reidar Solberg To: [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 1:10 PM Subject: [PHP] Accessing .bat file from PHP I want to start a .bat file on my local

Re: [PHP] php2c

2003-12-05 Thread Nathan Taylor
Hello, BinaryPHP is still at a dev state and is incomplete, if you're having specific problems try stopping by #binaryphp on freenode and talking to Daeken there regarding them. Best Wishes, Nathan - Original Message - From: Volvo To: [EMAIL PROTECTED] Sent: Friday, Dec

Re: [PHP] run a command on a remote host

2003-12-09 Thread Nathan Taylor
When you say remote host do you mean the server executing the script or the person accessing it? If you mean the latter, it is not possible. - Original Message - From: Ivone Uribe To: [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 5:44 PM Subject: [PHP] run a command on a

Re: [PHP] PHP Calendar.

2004-01-15 Thread Nathan Taylor
No, but HotScripts.com and PHPClasses.org (><) will have classes to do them. I'm a fan of BosDates (can be found on HotScripts.com), but I think it might cost something to get it. Cheers, Nathan Taylor - Original Message - From: Carles Xavier Munyoz Baldó To: [EMAI

Re: [PHP] Debug code

2004-01-19 Thread Nathan Taylor
Aye, PHP is compiled by the executable, nothing else- what are you using? - Original Message - From: Robin Kopetzky To: PHP General Sent: Monday, January 19, 2004 10:32 AM Subject: [PHP] Debug code Good morning! Is there any way to keep the compiler from adding 'debug co

Re: [PHP] CyberCash Libraries?

2001-01-15 Thread Nathan Cook
Nevermind, cybercash.com has an MCK (Merchant Kit) that has the libs in it. Thx, though. -nc --- .:: Nathan Cook- Network/Security Admin office: 208.343.3110 - Web Programmer email

[PHP] BC Math

2001-01-15 Thread Nathan Cook
BC Math, Arbitrary Precision Numbers? Can someone shed some light on these functions for me? Thanks. --- .:: Nathan Cook- Network/Security Admin office: 208.343.3110 - Web

Re: [PHP] string replace

2001-01-16 Thread Nathan Cook
you follow an 8.3 or 8.4 character filename structure you will be fine. .:: Nathan Cook - Original Message - From: "Tait Grove" <[EMAIL PROTECTED]> To: "PHP GENERAL" <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 2001 1:01 PM Subject: [PHP] string replace Ho

Re: [PHP] How to keep unauthorized viewers out

2001-01-16 Thread Nathan Cook
I would put it in the subsequent include page. if($PHP_AUTH_USER) { includes(); } else { print("You are not authorized to view this page"); } --- .:: Nathan Cook- Network/Secu

Re: [PHP] Ultimate Editor

2001-01-18 Thread Nathan Cook
If I may make a session download phped.com or find another editor (notepad) and then use that in conjunction with ftp net drive (look for it on the web somewhere), it will allow you view the ftp servers drive, copy and paste and save directly to the server... works very nice. .:: Nathan Cook

Re: [PHP] Local Path of Script

2001-01-22 Thread Nathan Cook
I just do: $LocalScript = $DOCUMENT_ROOT . $PHP_SELF; .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems & Network Administrator :: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> T

[PHP] easy question.

2001-01-24 Thread Nathan Cook
I have always wrote code this like: if(($fname) && ($lname) && ($email)) { echo "test"; } Is there an easier way to write the IF line? Thank You .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems & Network Administrator :: Programmer [ phone - 208.34

RE: [PHP] Echo and Print

2001-01-26 Thread Nathan Cassano
As I understand it, echo is somewhat of an language construct and print is a function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 11:37 AM To: [EMAIL PROTECTED] Subject: [PHP] Echo and Print I know it is a kind of stupid questio

RE: [PHP] strip ^M's ??

2001-03-02 Thread Nathan Cassano
Here is a solution I can up with to solve all the CR and LF funniness coming from different web browsers. $input = ereg_replace("\r\n|\n|\r", "\n", $input); -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:43 AM To: PHP User Group Subject:

RE: [PHP] Is it odd or even??? Optimize!!!

2001-03-05 Thread Nathan Cassano
You all are a bunch of un-optimizing novices. Just do some bit banging. i.e. if(1 & number){ echo "$number is odd"; }else{ echo "$number is even"; } -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 12:18 PM To: PHP User Gro

Re: [PHP] payment

2001-03-09 Thread Nathan Cook
uot;CyberCash Internet Payment Processing Service to Continue without Interruption." Is this incorrect? When you say that it 'died', what are you referring to? .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. PCS Edventures.com Systems & Network Administrator :: Programm

[PHP] HTTP Bailout

2001-03-12 Thread Nathan Cassano
. Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Tutorial for RegExpressions

2001-03-14 Thread Nathan Cassano
Learning to Use Regular Expressions by Example http://www.phpbuilder.com/columns/dario19990616.php3 -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 6:12 AM To: [EMAIL PROTECTED] Subject: [PHP] Tutorial for RegExpressions Hi ! Does someo

Re: [PHP] Radio Button Returns (Pleasre Read)

2001-03-16 Thread Nathan Cook
This question baffles me. Just to clarify do you have at least two radio buttons on this page and are they both under the same name? It also could be if the HTML you mailed the list is the same you have in your generated page then you may want an '=' sign between the value"ind

RE: [PHP] Password Generator?

2001-04-18 Thread Nathan Cassano
Random Pronounceable Password Generator This function generates random pronounceable passwords. (ie jachudru, cupheki) http://www.zend.com/codex.php?id=215&single=1 -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 1:20 PM To: PHP-Gene

[PHP] String Type Unknown

2001-04-30 Thread Nathan Cook
c6c20666163696c697461746f72732073686f756c64207363686564756c652074696d6520746f207 4616b652074686973206164646974696f6e616c20636f757273652e7870 And I don't know what type it is. It is it a binary string? Can I convert it to text and if so, how? Thank You, Nathan Cook [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] String Type Unknown

2001-05-02 Thread Nathan Cook
>From a field in an instantdb database (http://instantdb.enhydra.org) Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Anuradha Ratnaweera" <[EMAIL PROTECTED]> To: "Nathan Cook" <[EMAIL PROTECTED]> Cc: "Php List" <[EMAIL PROTECTE

Re: [PHP] String Type Unknown

2001-05-02 Thread Nathan Cook
Thank you, for your help it works great! Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Rudolf Visagie" <[EMAIL PROTECTED]> To: "Nathan Cook" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 4:47 AM Subject:

  1   2   3   4   5   6   7   8   9   10   >