[PHP] Re: Relaying variables to distant site

2002-11-15 Thread Mike MacDonald
Hi people ! Just a few words of thanks. This site is now up and going with the help of all of you Your guidance pointed us towards new learning and discovery. In the end we needed to use a number of the suggestions made -- the destination app is somewhat brittle! and the client firewall politi

Re: [PHP] Reasons for error message: Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 03:49, Lee P. Reilly wrote: > Can someone suggest a reason for the following? I am trying to INCLUDE > the JPGraph libraries in my PHP script as follows: [snip] > My INCLUDE_PATH is set to /usr/local/lib/php, so the 5 INCLUDED scripts > are in there. However, this co

Re: [PHP] I'm in need of a PHP web host recommendation

2002-11-15 Thread OrangeHairedBoy
Seems a bit expensive though...$7.95/month for 5megs and 1 email. You could try your-site.com which is $5.00/month for 50megs and 25 email, etc... Or, look at CIHOST.com - the folks I use. Their cheapest unix deal is ~ $15/month for 100megs, 25+email, mysql, etc...mega fast connection too... One

Re: [PHP] Forms and Sessions not working

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 15:11, Chris Jackson wrote: > Hi all: > Im new to php and i have an isue. > > php4.2.3 windows 2000 advanced server > > > I create a simple form page that posts back to its self and im unable to > retreive the posted form data to display on the page. > > it seems like a

[PHP] Re: session handling

2002-11-15 Thread OrangeHairedBoy
Here's what you need: on page 1.php: on page 2.php: You have to register the variable with the session first so it knows that it's a variable that needs monitored and, when the script finishes, needs saved. Hope this helps! Lewis "Anjali Kaur" <[EMAIL PROTECTED]> wrote in message [EMAIL P

Re: [PHP] what else do i need in this upload script?

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 06:54, tweak2x wrote: > it dosnt work for me http://marc.theaimsgroup.com/?l=php-general&m=103678340124082&w=2 -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applicatio

[PHP] POSIX and PCRE help

2002-11-15 Thread OrangeHairedBoy
I am trying to learn more about regular expressions as I haven't used them much in the past. I am working with email, and I'm looking for a way to split the following expression up: Content-Type: text/plain; boundary="whatever"; Using "/^(\S+)\:\s*(.+)$/iU" I can split it into: [Content-Type

[PHP] Forms and Sessions not working

2002-11-15 Thread Chris Jackson
Hi all: Im new to php and i have an isue. php4.2.3 windows 2000 advanced server I create a simple form page that posts back to its self and im unable to retreive the posted form data to display on the page. it seems like all my GLOBAL amd SESSION stuff isnt working. sample code: Your Name

Re: [PHP] Javascript + PHP

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 07:07, SED wrote: > I need to finish a project using PHP and JavaScript but the references > for JavaScript I'm using is rather old. I'm looking for a JavaScript > postlist similar to this but without any luck. I have tried Google but > it finds every site containing Ja

php-general Digest 16 Nov 2002 05:53:22 -0000 Issue 1707

2002-11-15 Thread php-general-digest-help
php-general Digest 16 Nov 2002 05:53:22 - Issue 1707 Topics (messages 124636 through 124701): Re: Escaping characters won't work 124636 by: . Edwin Re: GD 1.5 124637 by: Jason Wong 124638 by: . Edwin 124640 by: Mako Shark 124642 by: . Edwin 12

Re: [PHP] newbie's question

2002-11-15 Thread Frank Wang
Hi, That looks good to me, thanks. "Steve Keller" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Err... sorry. The logic was there but my fingers got a bit ahead of my > brain. The check works, but if you want to just check if it's empty turn > the conditional

Re: [PHP] running php as cgi script

2002-11-15 Thread Scott
I'm not intending to run the script from the shell. What I am trying to do is encrypt emails with Gnupg. The problem is Gnupg runs as my user name and php runs as nobody. So I'm trying to run a php script as cgi to deliver the data to Gnupg since a cgi script will run as my username. I am usi

Re: [PHP] running php as cgi script

2002-11-15 Thread bahwi
Haha, well I posted my version number because I haven't tested the new one that actually comes default with a CLI. So I don't know if the end tags are necessary or not. Marco Tabini wrote: No, that was actually my mistake, and you were right. I guess I've either had too much to drink, or too li

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
Hello Marco, "Marco Tabini" <[EMAIL PROTECTED]> wrote: > If you look at the error he's getting, I think there's something a bit > more critical than the PHP tags... You're right. Most probably there's something more... > although you're right and I missed > that :-

Re: [PHP] running php as cgi script

2002-11-15 Thread Marco Tabini
No, that was actually my mistake, and you were right. I guess I've either had too much to drink, or too little. I'll try and post again in a couple of hours and let's see which of the two is the case :-) Marco On Fri, 2002-11-15 at 23:26, bahwi wrote: > Oh, sorry, I'm running the 4.2.3 standalon

Re: [PHP] running php as cgi script

2002-11-15 Thread bahwi
Oh, sorry, I'm running the 4.2.3 standalone version(from FreeBSD Ports system) and I have to use the tags still. It looks like a CGIwrap problem, but I'm not familiar with that. =/ --Joseph http://www.josephguhlin.com/ Marco Tabini wrote: Joseph, I think he's trying to run the script from the s

Re: [PHP] Strings and php.ini

2002-11-15 Thread @ Edwin
Hello, "Khalid El-Kary" <[EMAIL PROTECTED]>wrote: > hi, > > are there any php.ini directives that control the PHP string functions? You mean something like this? (Under "; Safe Mode") -> ; This directive allows you to disable certain functions for security re

Re: [PHP] running php as cgi script

2002-11-15 Thread Marco Tabini
If you look at the error he's getting, I think there's something a bit more critical than the PHP tags... although you're right and I missed that :-( d'oh! Marco On Fri, 2002-11-15 at 23:20, @ Edwin wrote: > > "Scott" <[EMAIL PROTECTED]> wrote: > > > I'm trying to run a simple test php script a

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
... and yes, you forgot the semi-colon :) Also, are you trying to do something like these? http://www.phpbeginner.com/columns/ray/cli - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
"Scott" <[EMAIL PROTECTED]> wrote: > I'm trying to run a simple test php script as a cgi script on my ISP's server > and haven't been able to get it to work, although according them it is > possible. > > I have an example from a book which gives the following steps: > > 1. Put the script in the

Re: [PHP] running php as cgi script

2002-11-15 Thread Marco Tabini
Joseph, I think he's trying to run the script from the shell--in which case it looks okay to me (besides perhaps a terminating semicolon on the last line) Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Che

Re: [PHP] running php as cgi script

2002-11-15 Thread @ Edwin
Hello, "Scott" <[EMAIL PROTECTED]> wrote: > > Forgot to include the error I'm getting is: > > CGIwrap Error: System Error: execv() failed > > Error: No such file or directory (2) > > Although the file and path are correct. > Are you sure it's correct? Most cgi-bin folders are located outside you

Re: [PHP] running php as cgi script

2002-11-15 Thread bahwi
That is in no way a correct php program. What error are you getting on the page? Or are you seeing the source? If you are seeing the source when you try to view the script it is a problem on their end(they may want them named as .cgi instead of .php, although rare now, this might be how they ar

Re: [PHP] running php as cgi script

2002-11-15 Thread Marco Tabini
The script looks ok to me... The difference that you probably see is the first line. This is the "shebang", a line that tells the script interpreter which application the script should be interpreted with. This, together with the permissions you've provided, makes the script "self-executing", in t

Re: [PHP] session handling

2002-11-15 Thread Justin French
Have you got cookies enabled in your browser? Check if PHP is setting the cookie in your browser -- it should be named PHPSESSID by default, but might be named something else... If you haven't got cookies enabled on your browser, then you have to pass the session id around in the URL, linking page

Re: [PHP] running php as cgi script

2002-11-15 Thread Scott
Forgot to include the error I'm getting is: CGIwrap Error: System Error: execv() failed Error: No such file or directory (2) Although the file and path are correct. On Friday 15 November 2002 10:52 pm, you wrote: > I'm trying to run a simple test php script as a cgi script on my ISP's > server

RE: [PHP] mail and from line overriding

2002-11-15 Thread Jonathan Rosenberg \(Tabby's Place\)
You need to change the first statement to $from = "From: [EMAIL PROTECTED]"; -- JR > -Original Message- > From: Frank Wang [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 15, 2002 10:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP] mail and from line overriding > > > Hi, > > I

[PHP] running php as cgi script

2002-11-15 Thread Scott
I'm trying to run a simple test php script as a cgi script on my ISP's server and haven't been able to get it to work, although according them it is possible. I have an example from a book which gives the following steps: 1. Put the script in the cgi-bin 2. run chmod 755 3. include "#!/usr/bin

Re: [PHP] Performance

2002-11-15 Thread Rasmus Lerdorf
> I'm very intresting in achiving high performances with my scripts. > I have a couple of questions about performance. > When passing arrays (they are not very huge anyway) to a function, passing > them as reference is faster, isn't it ? No > And when I have a chain of ifs, is ti better (from the

[PHP] session handling

2002-11-15 Thread Anjali Kaur
i want to access some variables generated in one page in all the other pages, so i thought of using $_SESSION. what i did is : in page1.php i do: $temp = 'someValue'; session_start(); $_SESSION['abc'] = $temp; in page2.php : session_start(); echo($_SESSION['abc']); but i am not ab

[PHP] Performance

2002-11-15 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm very intresting in achiving high performances with my scripts. I have a couple of questions about performance. When passing arrays (they are not very huge anyway) to a function, passing them as reference is faster, isn't it ? And when I have a cha

RE: [PHP] newbie's question

2002-11-15 Thread Van Andel, Robert
Yes it would. I like to make things complicated :) Robbert van Andel -Original Message- From: Steve Keller [mailto:skeller@;healthtvchannel.org] Sent: Friday, November 15, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] newbie's question Err... sorry. The logic was there but my

RE: [PHP] newbie's question

2002-11-15 Thread Steve Keller
Err... sorry. The logic was there but my fingers got a bit ahead of my brain. The check works, but if you want to just check if it's empty turn the conditional to a negative, like so: if (!$testVar) { etc. } That makes it "If NOT $testVar" > I may be crazy, but wouldn't if ($variable) work

RE: [PHP] newbie's question

2002-11-15 Thread Steve Keller
At 11/15/2002 06:09 PM, you wrote: Don't know about a correct way but you can use if(empty($variable)) I may be crazy, but wouldn't if ($variable) work just as well? If the string is empty it'll return a negatory on that check. Lemme double check that. $testVar = ""; if ($testVar) { echo "

Re: [PHP] PHP extensions

2002-11-15 Thread Justin French
That's probably the one -- have a look on phpclasses.org -- handles attachments, multi-part stuff (HTML email), etc etc. Justin on 16/11/02 5:19 AM, Mako Shark ([EMAIL PROTECTED]) wrote: >> Email extension? Aren't you talking about Manuel >> Lemos' mimemail class? >> It's just an include file

Re: [PHP] Finding last entry in MySQL database

2002-11-15 Thread Justin French
on 15/11/02 8:11 PM, Tim Thorburn ([EMAIL PROTECTED]) wrote: > I'm creating a form which will allow individuals to add themselves to an > online database and ask if they'd like to upload a picture. I have the > form setup which allows the individuals to add themselves - currently it > asks if the

[PHP] Strings and php.ini

2002-11-15 Thread Khalid El-Kary
hi, are there any php.ini directives that control the PHP string functions? sorry i'm not percise but infact i have a 1200 lines script that acts well on a windows machine with PHP 4.2.3 Apache 1.3.24, but on a linux machine with PHP 4.2.1 (keep it secret :)) and Apache 1.3.20 it acts bad but th

[PHP] mail and from line overriding

2002-11-15 Thread Frank Wang
Hi, I have something like following: $from = "[EMAIL PROTECTED]"; $email = "[EMAIL PROTECTED]"; $msg = "abcde"; mail($email, $subj, $msg, $from); the message sent always has the 'from' line taken from php.ini, not $from, is there a way to override this ? Thanks. Frank -- PHP General Maili

RE: [PHP] newbie's question

2002-11-15 Thread Van Andel, Robert
Don't know about a correct way but you can use if(empty($variable)) Robbert van Andel -Original Message- From: Frank Wang [mailto:wang960@;yahoo.com] Sent: Friday, November 15, 2002 7:10 AM To: [EMAIL PROTECTED] Subject: [PHP] newbie's question Hi, what is the correct way of testing i

Re: [PHP] PHP Website

2002-11-15 Thread Jason Reid
Nope, though if you are you could always just try using one of the mirrors. Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: "Van Andel, Robert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 4:56 PM Subject: [PHP] PHP We

[PHP] newbie's question

2002-11-15 Thread Frank Wang
Hi, what is the correct way of testing if a string is empty or not? fw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Website

2002-11-15 Thread Van Andel, Robert
Anyone else having trouble accessing PHP.net? Robbert van Andel "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any

[PHP] RE: -- OT -- [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
Okay, the WHIP viewer is only for DWF files from ACAD 13, 14, & 2000 only. It does NOT handle DWG files or DWF from ACAD 2002 based products (Inventor), Volo View Express 2.01 handles DWF, DWG, & DXF only if you download the english language version. Non-english versions of VVE will NOT view DWG

Re: [PHP] It only prints lines that beggin with a number? I'm on a deadline!

2002-11-15 Thread Godzilla
Thanks so much guys, that worked perfectly. I do ok with php but am still on the bumpy part of the road with SQL queries. Thanks again! Regards, Tim "1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:00da01c28cad$b9a90d50$a629089b@;TBHHCCDR... > > >$result = mysql_query ("SELECT * FR

[PHP] output buffering problem

2002-11-15 Thread webmaster
I'm trying to enable output buffering to speed up the load time of some of our php web pages. I've consulted the manual and enabled the following: output_buffering = On output_handler = ob_gzhandler At the beginning of my .php script, I include the following: ob_start(ob_gzhandler); This retur

Re: [PHP] Javascript + PHP

2002-11-15 Thread BigDog
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.javascript On Fri, 2002-11-15 at 23:07, SED wrote: > I need to finish a project using PHP and JavaScript but the references > for JavaScript I'm using is rather old. I'm looking for a JavaScript > postlist similar to this but with

[PHP] Re: Ereg headache

2002-11-15 Thread Gustaf Sjoberg
or.. if there can be only one instance of the number you can easily calculate it's position with strlen($numbers) and strpos($numbers, "1"); if strlen returns 5 and strpos 5 you'll know it was far right.. if strpos returns 1 and strlen >1 it's to the left.. and if strpos < strlen but not 1 it'

Re: [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Lars Espelid
Only my third code-example points to the whip-viewer plug, and that's most likely wrong. My first and second example may also be wrong, someone know how to get it right? I have tried these two viewers: Volo View Express 2.01. On this page http://www.autodesk.no/adsk/index/0,,837403-123112,00.htm

[PHP] Re: Ereg headache

2002-11-15 Thread Gustaf Sjoberg
hi, this is probably not at all what you want, but i wrote it just in case. if 1 is in the string it will return either "middle", "left", "right" or "only".. if it is not it will return false. On Fri, 15 Nov 2002 08:49:23 -0800 (PST) [EMAIL PROTECTED] (Mako Shark) wrote: >I have a real proble

[PHP] Javascript + PHP

2002-11-15 Thread SED
I need to finish a project using PHP and JavaScript but the references for JavaScript I'm using is rather old. I'm looking for a JavaScript postlist similar to this but without any luck. I have tried Google but it finds every site containing JavaScript where a postlist is mentioned. Since there are

Re: [PHP] what else do i need in this upload script?

2002-11-15 Thread tweak2x
it dosnt work for me - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 4:20 PM Subject: Re: [PHP] what else do i need in this upload script? > On Saturday 16 November 2002 05:04, Tweak2x wrote: > > o

[PHP] xslt question

2002-11-15 Thread Hatem Ben
hey all I'm using xslt_process(), and noticed that it add a meta just after the : Where can i change it, or desactivate it ? thanks Hatem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
Lars, You say you downloaded the Volo View Express, but your plug-in page points to the WHIP viewer plug. Regardless, there are two versions of Volo View. Did you download the DWF version only of Volo View? Dave -Original Message- From: Lars Espelid [mailto:lars_espelid@;hotmail.com] Se

[PHP] Re: Array Searching

2002-11-15 Thread Joel Boonstra
> i have an array like: > > Array > ( > [1] => Array > ( > [alias] => foo > ... > ) > [2] => Array > ( > [alias] => bar > ... > ) > ... > ) > > I need some way to find out, if an alias "foo" is in the array.

Re: [PHP] Reasons for error message: Warning: Failed opening'/www/servers/webGNOM/test.php' for inclusion(include_path='.:/usr/local/lib/php') in Unknown on line 0

2002-11-15 Thread Tony Earnshaw
fre, 2002-11-15 kl. 20:49 skrev Lee P. Reilly: > Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion > (include_path='.:/usr/local/lib/php') in Unknown on line 0 Permissions? Ownership? Best, Tony -- Tony Earnshaw Cricketers are strange people. They wake up in October, onl

Re: [PHP] what else do i need in this upload script?

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 05:04, Tweak2x wrote: > ok, this is upload.php: > > > > Send this file: > > > > > what else do i need to make afile upload? Why don't just try the example in the manual as someone (I believe) already suggested? -- Jason Wong -> Gremlins Associates -> www.gremli

Re: [PHP] Specifying file to send in url...

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 04:59, Tom Woody wrote: > I may be way off base on this, but is it possible to specify a filename > on a url as in... > > The user types in http://server/script.php?filetosend=filename.txt > > The script.php recieves that file and processes accordingly? Because > of th

[PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Lars Espelid
HI, I have downloaded Volo View Express from www.autodesk.com (plugin to web-browser) and can see the sample autocad-file that is presented on their site. Code ment to display the file drawing1.dwg on my page (none working): 1) Displays no image. 2) A nice drawing. The only thing I can see is

Re: [PHP] Specifying file to send in url...

2002-11-15 Thread Marco Tabini
Sure you can do it, you can retrieve it in your code as $_GET['filetosend']. However, you have to be very careful with the user's input, as someone could pass malicious file names, like "/etc/passwd", which you probably wouldn't want to disclose. So, unless you impose draconian restrictions and ch

RE: [PHP] what else do i need in this upload script?

2002-11-15 Thread Van Andel, Robert
This looks fine except the MAX_FILE_SIZE looks rather small. I had an issue with it earlier this week and found that the fileI was trying to upload was larger than the MAX_FILE_SIZE. I believe this is measured in bytes, so your file cannot be larger than 1KB. Are you getting any errors? Robbert

[PHP] what else do i need in this upload script?

2002-11-15 Thread Tweak2x
ok, this is upload.php: Send this file: what else do i need to make afile upload? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Specifying file to send in url...

2002-11-15 Thread Tom Woody
I may be way off base on this, but is it possible to specify a filename on a url as in... The user types in http://server/script.php?filetosend=filename.txt The script.php recieves that file and processes accordingly? Because of the way its specified it would be a GET but I am not sure if this i

[PHP] Array Searching

2002-11-15 Thread Thomas Weber
Hi, i have an array like: Array ( [1] => Array ( [alias] => foo ... ) [2] => Array ( [alias] => bar ... ) ... ) I need some way to find out, if an alias "foo" is in the array. Any idea how to do this? Th

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
"Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 16 November 2002 03:25, [EMAIL PROTECTED] wrote: > > And besides, > > > > I thought, those issues shouldn't apply anyway to versions 1.5 and below. > > (Of course, the original author thinks otherwise so I'm not going to argue > > that...) > >

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
That will be in KM (I'm in Canada). Just remove the "* 1.6093" to return Miles. -- Aaron Gould [EMAIL PROTECTED] Web Developer Parts Canada - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 12:22 PM Subject: RE: [PHP] l

[PHP] Reasons for error message: Warning: Failed opening'/www/servers/webGNOM/test.php' for inclusion(include_path='.:/usr/local/lib/php') in Unknown on line 0

2002-11-15 Thread Lee P. Reilly
Hi there, Can someone suggest a reason for the following? I am trying to INCLUDE the JPGraph libraries in my PHP script as follows: BEGIN CODE -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- END CODE My INCLUDE_PATH is set to /usr/

Re: [PHP] Re: GD 1.5

2002-11-15 Thread @ Edwin
Hello, IANAL, so... "Mako Shark" <[EMAIL PROTECTED]> wrote: > < he/she should not be using GIF at all!>> > > This is leading me to believe that I can't use GIFs > because of these issues. Is this true? I know now that > Unisys (Unisys?) made a fuss about some compression or > whatever, but someo

Re: [PHP] GD 1.5

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 03:25, [EMAIL PROTECTED] wrote: > And besides, > > I thought, those issues shouldn't apply anyway to versions 1.5 and below. > (Of course, the original author thinks otherwise so I'm not going to argue > that...) The patents issue still apply no matter what version you

Re: [PHP] can I retrieve jsp varibable with get or post???

2002-11-15 Thread Marek Kilimajer
php => javascript 1st way: var var_name= 2nd way: javascript => php 1st way: location='http://server/script.php?var_name="; + js_var_name; 2nd way: form_name.input_name.value = js_var_name; hope you get the point :-) Jeff Bluemel wrote: Can I utilize java script variables

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
And besides, I thought, those issues shouldn't apply anyway to versions 1.5 and below. (Of course, the original author thinks otherwise so I'm not going to argue that...) - E > > "Jason Wong" <[EMAIL PROTECTED]> wrote: > > > > If the OP was concerned about such issues then he/she should not be u

Re: [PHP] PHP extensions

2002-11-15 Thread Mako Shark
> Email extension? Aren't you talking about Manuel > Lemos' mimemail class? > It's just an include file that you have in your > directory structure. I know some people made reference to a 'really good' e-mail package out there that did attachments and stuff that seemed to be the better choice con

[PHP] Re: GD 1.5

2002-11-15 Thread Mako Shark
<> This is leading me to believe that I can't use GIFs because of these issues. Is this true? I know now that Unisys (Unisys?) made a fuss about some compression or whatever, but someone told me it was still okay to use old GDs (am I naive? maybe). Is it now considered piracy to use GIFs at all? D

[PHP] can I retrieve jsp varibable with get or post???

2002-11-15 Thread Jeff Bluemel
Can I utilize java script variables with get or post? any information on integrating the 2, and passing info back & forth? thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
"Jason Wong" <[EMAIL PROTECTED]> wrote: > If the OP was concerned about such issues then he/she should not be using GIF > at all! True. You've got a point there. Anyway, that was just my wild guess... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] GD 1.5

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 01:34, [EMAIL PROTECTED] wrote: > Well, I just wanted to say that not *all* support it--esp. , I think, by > the original authors :) The official GD library no longer supports GIF ... > Didn't they remove it from version 1.6? That's why the original poster was > look

Re: [PHP] Escaping characters won't work

2002-11-15 Thread @ Edwin
Hello, "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote: > At 23:53 14.11.2002, Lars Espelid said: > [snip] > >Try to execute this code: > >if (ereg[^0-9], $num)) > >print "That's not a number!"; > > > >result: parsing error, expects ')' on the if-line.

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
Hello, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Saturday 16 November 2002 00:54, [EMAIL PROTECTED] wrote: > > Hello, > > > > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > > > Look around a bit. All versions of GD can be found with gif support. > > > > ...but here > > > > http://www.boutell

Re: [PHP] GD 1.5

2002-11-15 Thread Jason Wong
On Saturday 16 November 2002 00:54, [EMAIL PROTECTED] wrote: > Hello, > > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > > Look around a bit. All versions of GD can be found with gif support. > > ...but here > > http://www.boutell.com/gd/ > > it says: > "GD does not create GIF images" > > Or am

Re: [PHP] longitude/latitude function

2002-11-15 Thread jef
Edward: We use a dealer locator. I would suggest one thing if you have a lot of data, hits, namely to pre-calculate the lat/long in radians and store radians in the database. This would speed up the script. _justin Edward Peloke wrote: > > Thanks Aaron, > > If you don't mind me asking, where

Re: Fw: [PHP] #color problems

2002-11-15 Thread @ Edwin
Hello, "Adam" <[EMAIL PROTECTED]> wrote: > OK, color code is not present in HTML output. Very strange! What do you exactly mean by "color code is not present in HTML output"? ...[snip]... Also, > > > > Anyway, I tried your suggestion but no joy... color does not show, as > > > > if i had writ

RE: [PHP] longitude/latitude function

2002-11-15 Thread Edward Peloke
Thanks, Just curious because after looking online it seems there are several ways to do this...many giving a slightly different answer...for example, I went to mapquest and put in two cities and the mileage was 1500, the function returned 1700. Also, the function says it prints in miles and kms bu

RE: [PHP] I'm in need of a PHP web host recommendation

2002-11-15 Thread Edward Peloke
http://www.ht-tech.net is who I use, VERY GOOD! Just tell them I sent you. Eddie -Original Message- From: Jon Haworth [mailto:jhaworth@;witanjardine.co.uk] Sent: Friday, November 15, 2002 11:49 AM To: 'Phil Schwarzmann'; [EMAIL PROTECTED] Subject: RE: [PHP] I'm in need of a PHP web host

Re: [PHP] GD 1.5

2002-11-15 Thread @ Edwin
Hello, "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > Look around a bit. All versions of GD can be found with gif support. > ...but here http://www.boutell.com/gd/ it says: "GD does not create GIF images" Or am I missing something? :) - E -- PHP General Mailing List (http://www.php.ne

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
I got that from http://freshmeat.net/projects/zipdy/?topic_id=66. It's a program called Zipdy that does these calculations. There's also a similar function on the US government census site (can't remember where though), but I liked Zipdy's better. -- Aaron Gould [EMAIL PROTECTED] Web Developer P

[PHP] Ereg headache

2002-11-15 Thread Mako Shark
I have a real problem that I can't seem to figure out. I need an ereg pattern to search for a certain string (below). All this is being shelled to a Unix grep command because I'm looking this up in very many files. I've made myself a that contains in the value attribute a list of comma-delimited

RE: [PHP] I'm in need of a PHP web host recommendation

2002-11-15 Thread Jon Haworth
Hi Phil, > would like to hear some recommendations of some > good companies that host PHP/MySQL and also JSP. http://34sp.com/ are great if you don't mind .uk-based hosting. I've heard good things about http://oneandone.co.uk/ but haven't used them myself. At the other end of the scale, you s

Re: [PHP] GD 1.5

2002-11-15 Thread Rasmus Lerdorf
Look around a bit. All versions of GD can be found with gif support. On Fri, 15 Nov 2002, Mako Shark wrote: > > Why do you need 1.5? > > Isn't that the one with GIF support on it? > > __ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host y

Re: [PHP] GD 1.5

2002-11-15 Thread Mako Shark
> Why do you need 1.5? Isn't that the one with GIF support on it? __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] I'm in need of a PHP web host recommendation

2002-11-15 Thread Phil Schwarzmann
I am quite unhappy with my current web host provider (www.infinitehost.com ) and would like to hear some recommendations of some good companies that host PHP/MySQL and also JSP. I'm more than happy to shell out a few extra bucks to get some good service. Currently

RE: [PHP] longitude/latitude function

2002-11-15 Thread Edward Peloke
Thanks Aaron, If you don't mind me asking, where did you get it? It seems to give a better answer than my function. Thanks! Eddie -Original Message- From: Aaron Gould [mailto:webdevel@;partscanada.com] Sent: Friday, November 15, 2002 11:04 AM To: Edward Peloke; [EMAIL PROTECTED] Subject

Re: [PHP] Need difficult help !

2002-11-15 Thread Ewout de Boer
Oops ! My mistake.. it's strlen() substr = substring .. see http://www.php.net/substr regards, Ewout de Boer On Fri, Nov 15, 2002 at 12:03:34PM +0100, Tristan Carron wrote: > The strln() function is unknown... > To understand the script, could you please tell me what the substr() > function

Re: [PHP] php Wildcard???

2002-11-15 Thread Ewout de Boer
You mean the opening tag ? For php use regards, Ewout de Boer - Original Message - From: "vernon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 4:32 PM Subject: [PHP] php Wildcard??? > Hey all, I'm coming over from programming ASP in VBScript and I know

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
Try this snippet... I can't vouch for its accuracy since I am not a mathematician: -- Aaron Gould [EMAIL PROTECTED] Web Developer Parts Canada - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 11:20 AM Subject: [PHP]

Re: Fw: [PHP] #color problems

2002-11-15 Thread Marek Kilimajer
I you did put echo $test; right before echo ''; COPY&PASTE your code (don't write it from memory!) and show us Adam wrote: OK, color code is not present in HTML output. Very strange! "echo $test;" produces hte correct output though. Adam. - Original Message - From: "Marco Tabini" <[EMA

RE: [PHP] php Wildcard???

2002-11-15 Thread Michael Hazelden
Wildcard for what? Please be more specific ... do you mean database queries ... regular expressions ... what? Thanks. -Original Message- From: vernon [mailto:vernon@;comp-wiz.com] Sent: 15 November 2002 15:32 To: [EMAIL PROTECTED] Subject: [PHP] php Wildcard??? Hey all, I'm coming ove

[PHP] longitude/latitude function

2002-11-15 Thread Edward Peloke
Has anyone ever written a php function to take the longitude and latitude of two destinations and calculate the distance? I am working on one but the output is just a little off. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to break a "while" loop ?

2002-11-15 Thread Tony Earnshaw
fre, 2002-11-15 kl. 16:22 skrev Hacook: > I made a while loop and i'd like to know the comand to break it from inside. > Here is my script : > > while ($michou<=$maxFiles){ > /// My script and ate the end : > if ($michou>$michoumax) { > break; > } > } > > But it doesnt work > Can i

Re: Fw: [PHP] #color problems

2002-11-15 Thread Adam
OK, color code is not present in HTML output. Very strange! "echo $test;" produces hte correct output though. Adam. - Original Message - From: "Marco Tabini" <[EMAIL PROTECTED]> To: "Adam" <[EMAIL PROTECTED]> Cc: ""PHP"" <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 3:14 PM Subject:

Re: [PHP] How to break a "while" loop ?

2002-11-15 Thread Ernest E Vogelsinger
At 16:22 15.11.2002, Hacook spoke out and said: [snip] >Hi all, >I made a while loop and i'd like to know the comand to break it from inside. >Here is my script : > >while ($michou<=$maxFiles){ >/// My script and ate the end : >if ($michou>$michoumax

[PHP] php Wildcard???

2002-11-15 Thread vernon
Hey all, I'm coming over from programming ASP in VBScript and I know that a wildcard there is '%' can anyone tell me what it is in PHP? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >