Re: [PHP] Re: Static functions

2003-02-10 Thread Ernest E Vogelsinger
At 22:52 09.02.2003, Chris Hayes said: [snip] At 22:49 9-2-2003, you wrote: yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg,.]) (of course properties

[PHP] little problem with ' and stuff

2003-02-10 Thread Michiel van Heusden
hi there, i'm having a small problem, wondering if anybody can help // a line in my script defining $url $url = $directory . '/main.php?id=' . $id; // a line later on in the frameset calling this $url echo 'frame name=main scrolling=no src='$url''; this gives me a paring error on the last

Re: [PHP] text on image

2003-02-10 Thread Jason Wong
On Monday 10 February 2003 15:18, Ilya Nemihin wrote: I try to place text on image, but have color problems. code: $im = imagecreatefromjpeg( 'test.jpg' ); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 0, 20, $white, './fonts/times.ttf', 'text text text' );

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
Hi All, I need to write some data to a text file but when I use $this-ao_file_handle = fopen($this-ao_file_name,ab); $str_txt.= \n; fwrite($this-ao_file_handle,$str_txt); It does not display the new line. I saw somwhere that for DOS files you need to use ASCII LF and CR. Which I did. It still

Re: [PHP] little problem with ' and stuff

2003-02-10 Thread Chris Hayes
At 09:27 10-2-2003, you wrote: hi there, i'm having a small problem, wondering if anybody can help // a line in my script defining $url $url = $directory . '/main.php?id=' . $id; // a line later on in the frameset calling this $url echo 'frame name=main scrolling=no src='$url''; this gives

Re: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Chris Hayes
I need to write some data to a text file but when I use $this-ao_file_handle = fopen($this-ao_file_name,ab); $str_txt.= \n; fwrite($this-ao_file_handle,$str_txt); It does not display the new line. I saw somwhere that for DOS files you need to use ASCII LF and CR. Which I did. It still does

Re: [PHP] little problem with ' and stuff

2003-02-10 Thread Ernest E Vogelsinger
At 09:46 10.02.2003, Chris Hayes said: [snip] At 09:27 10-2-2003, you wrote: hi there, i'm having a small problem, wondering if anybody can help // a line in my script defining $url $url = $directory . '/main.php?id=' . $id; // a line later on in the

Re: [PHP] little problem with ' and stuff

2003-02-10 Thread Florin Dumitrescu
Hi, On Mon, 10 Feb 2003 09:27:38 +0100 Michiel van Heusden [EMAIL PROTECTED] wrote: hi there, i'm having a small problem, wondering if anybody can help // a line in my script defining $url $url = $directory . '/main.php?id=' . $id; // a line later on in the frameset calling this $url

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
Thanks for the tip I want to export a report to excell and a legacy system that allow csv file import for incorporation into the financial system. Joe Njeru Nairobi, Kenya. Where else can you flyfish for trout on the Equator! -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] pg_connect $B$,;H$($J$$(B

2003-02-10 Thread - Edwin
$B$3$s$K$A$O!#(B (B $BNS(B $B7C72(B [EMAIL PROTECTED] wrote: (B (B $B;O$a$^$7$F!#(Blin $B$H?=$7$^$9!#(B (B (B php$B$N(Bpg_connect$B$G(BpostgreSQL $B$K@\B3$r;n$_$^$7$?$,!"4X?t$,(B (B $B8+$D$+$j$^$;$s$H%(%i!<$,=P$F$7$^$$$^$7$?!#F1MM$J8=>]$,Ax(B (B

[PHP] PHP error page not redirecting

2003-02-10 Thread Nick Holden
I'm having a dispute with an ISP (surprise) about the non-functioning of a PHP error script. Currently, the error script is at http://www.touristguides.org.uk/error.php - a direct click on that link will redirect you, using: header(Location: http://www.touristguides.org.uk/index.php;); And

Re: [PHP] Re: Static functions (java/php)

2003-02-10 Thread David Eisenhart
use the error_reporting function: http://www.php.net/manual/en/function.error-reporting.php Joshua Moore-Oliva [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How would I go about setting the error reporting level? Josh. On February 9, 2003 06:38 pm, David

Re: [PHP] Re: jumping between php and html or using echo for printinghtml-tags.

2003-02-10 Thread Marek Kilimajer
Then why not use single quotes, its faster than double quotes, and you could also use comma instead of full stop (echo can take multiple parameters, which is faster than building up a new string) function admin_menu() { echo 'B Meny /BBR'; echo 'A HREF=' , $_SERVER['PHP_SELF'] , '?action=' ,

[PHP] SESSION variable and register_globals

2003-02-10 Thread Mohanaraj
Hello guys, I have a few questions regarding the subject and was hoping you could help me out. 1.If register_globals is on, then doing an unset($_SESSION[blah]), to unset a session variable will not work as the variable will be unset in that particular instance but will be restored in next

Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Marek Kilimajer
At first glance I noticed you use time() all over your script and expect it to be always the same. But the function returns current time, so it changes! Use $n_image1 = time().$_FILES['image1']['name']; and remove all time() functions Geckodeep wrote: I am having trouble in resizing the

Re: [PHP] SESSION variable and register_globals

2003-02-10 Thread Leif K-Brooks
1. Yes. 2. No. Mohanaraj wrote: Hello guys, I have a few questions regarding the subject and was hoping you could help me out. 1.If register_globals is on, then doing an unset($_SESSION[blah]), to unset a session variable will not work as the variable will be unset in that particular

Re: [PHP] PHP error page not redirecting

2003-02-10 Thread Chris Hewitt
Nick Holden wrote: I'm having a dispute with an ISP (surprise) about the non-functioning of a PHP error script. Currently, the error script is at http://www.touristguides.org.uk/error.php - a direct click on that link will redirect you, using: header(Location:

[PHP] Re: [PHP-GTK] Word Documents

2003-02-10 Thread Chris Hayes
Is it possible to embed a Word document with-in a PHP-GTK app (Windows)? I'm thinking of the way Internet Explorer does it. Then to have a button to Save the document to the harddrive, or a Print button which would somehow cause the Word Doc to be printed. Any thoughts? some tuppences: - from

Re: [PHP] Trouble with resizing image!!

2003-02-10 Thread Geckodeep
thanks Marek, it never crossed my mind about time, i was using it to have a unque name to the uploaded file. I'll try the script without the time and see. Thanks Marek Kilimajer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At first glance I noticed you use

[PHP] Re: SESSION variable and register_globals

2003-02-10 Thread Bastian Vogt
Hi all, 1.If register_globals is on, then doing an unset($_SESSION[blah]), to unset a session variable will not work as the variable will be unset in that particular instance but will be restored in next instance of that session. Hence session_unregister(blah) also must be used to properly

Re: [PHP] PHP error page not redirecting

2003-02-10 Thread Chris Hayes
At 10:59 10-2-2003, you wrote: I'm having a dispute with an ISP (surprise) about the non-functioning of a PHP error script. Currently, the error script is at http://www.touristguides.org.uk/error.php - a direct click on that link will redirect you, using: header(Location:

[PHP] a while loop that does't end with the script

2003-02-10 Thread Francesco Leonetti
Hi, I'm a newcomer here to the list, so do please apologize in the case my question has already been discussed before. I just moved from php 4.0.6 to php 4.2.2 for security reasons (4.0.6 got a big buffer overflow hole...). The working environment now is Redhat 8.1, mysql 3.23.54a, kernel

[PHP] about writing extension

2003-02-10 Thread Joe Wong
Hello, I am going to write a PHP extension on top of some libraries that I have developed over the past few years. The libraries are bunch of .so file and some of them are C++. If I am going to compile my extension against 4.3 code base, will it be ok to run this with other 4.x PHP install

RE: [PHP] Why does this happen?

2003-02-10 Thread Ford, Mike [LSS]
-Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: 09 February 2003 14:39 [OP snipped] I don't know much about CF, but in plain HTML as you show here you have 3 different form input (select) fields sharing the same name. Thus the browser will transmit

[PHP] Is mail() broken in 4.3.0 when it comes to BCC?

2003-02-10 Thread Mark Virtue
This line works as expected: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2, From: [EMAIL PROTECTED]); whereas if I change it to this: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2, Bcc: [EMAIL PROTECTED]); the mail never gets sent! I'm running 4.3.0 on Windows XP. Any thoughts?

RE: [PHP] Why does this happen?

2003-02-10 Thread Ford, Mike [LSS]
-Original Message- From: CF High [mailto:[EMAIL PROTECTED]] Sent: 09 February 2003 20:52 Here's the deal: Let's say I have a form that requests the season schedule of a baseball team, and the team in question has twenty scheduled games all on different days. Each form row

RE: [PHP] PHP and Serach Engines...

2003-02-10 Thread Ford, Mike [LSS]
-Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED]] Sent: 09 February 2003 21:12 To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP and Serach Engines... At 22:00 9-2-2003, you wrote: Hello, How do search engines react to PHP pages? If every page of a site

Re: [PHP] Is mail() broken in 4.3.0 when it comes to BCC?

2003-02-10 Thread Francesco Leonetti
Try this: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2, From: [EMAIL PROTECTED]\nBCC: [EMAIL PROTECTED]); - Original Message - From: Mark Virtue [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 2:18 PM Subject: [PHP] Is mail() broken in 4.3.0 when it comes

[PHP] Vulvan Logic SRM - does anyone use it?

2003-02-10 Thread Tamas Arpad
Hi, I'm thinking about using SRM application server for storing cached data. But I have to convince my customers that it's stable enough and is ready to use in production environment. Is it considered stable enough to use in such applications? As I see it hasn't been maintained for at least

[PHP] Global Vars = Off Windows/Linux Differeces???

2003-02-10 Thread Sascha Braun
Hi, I've made a website and because of presentationproblems I changed the oldstyle vars to the new globalvars mode (Hope its the right name for it, dont know if $_SESSION['user'] is a global or it is not???). Now the Website works perfect on my WAMP System with Apache 1.3.27 and PHP 4.3.0, but

Re: [PHP] Is mail() broken in 4.3.0 when it comes to BCC?

2003-02-10 Thread Mark Virtue
Your suggestion didn't work (but thanks anyway), but I tried removing the space from after the Bcc: (before the address) and it started working! So this line works: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2, Bcc:[EMAIL PROTECTED]); but this one doesn't mail([EMAIL PROTECTED], My

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Sascha Braun
I know how XML works and how a wellformed document may look like, but I must say, I really dont know why I should use XML as long I store everything in a Database. I've read about all good CMS Systems use XML as a musthave, but I don't understand why. Would be nice, if you would explain me which

RE: [PHP] Object In a class

2003-02-10 Thread Justin Mazzi
How you can you use an object that is already an instance? -Original Message- From: John Wells [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 4:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Object In a class Justin Mazzi said: Can anyone tell me how

Re: [PHP] Global Vars = Off Windows/Linux Differeces???

2003-02-10 Thread Leif K-Brooks
Pretty hard to tell anything without any details about what you're doing... Sascha Braun wrote: Hi, I've made a website and because of presentationproblems I changed the oldstyle vars to the new globalvars mode (Hope its the right name for it, dont know if $_SESSION['user'] is a global or it

Re: [PHP] little problem with ' and stuff

2003-02-10 Thread David T-G
Michael -- ...and then Michiel van Heusden said... % % hi there, Hi! % % i'm having a small problem, wondering if anybody can help ... % echo 'frame name=main scrolling=no src='$url''; You've already seen the suggestions to . together your parts, so I needn't suggest that. I wonder why on

Re: [PHP] Is mail() broken in 4.3.0 when it comes to BCC?

2003-02-10 Thread Awlad Hussain
From the PHP manual, hope this will help. /* To send HTML mail, you can set the Content-type header. */ $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: Birthday Reminder [EMAIL PROTECTED]\r\n; $headers .=

Re: [PHP] multiple file upload, yet again

2003-02-10 Thread David T-G
Jason -- ...and then Jason Wong said... % % On Monday 10 February 2003 08:36, David T-G wrote: % % Hmmm... I haven't yet been able to download it, but I was pointed to a % live page (tech.indymedia.org/publish.php3) only to find that it has % multiple boxes for multiple files, which I can

Re: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Adam Voigt
Precisely where did you get the b in your second parameter to fopen? I didn't see it on the fopen manual page at: http://www.php.net/fopen If you just want to write to the file and not read it, try changing the second parameter to just w. On Mon, 2003-02-10 at 03:34, Joe Njeru

[PHP] PHP Script Encryption!!!!

2003-02-10 Thread Pankaj Naug
hiii!! 1. can anyone help me out with php script encryption.. are there any freeware which i can use to encrypt my php scripts. 2. have anybody has any ready made code which take's a directory path and uses linux shell command to execute them??? actually i want to use a shell command which

RE: [PHP] setcookie() in various browsers..

2003-02-10 Thread Chad Day
Following up from Friday.. no replies over the weekend.. can anyone help? Thanks, Chad -Original Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:02 PM To: php general Subject: [PHP] setcookie() in various browsers.. This is with PHP 4.2 and

Re: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Adam Voigt
Doh, doh, doh! Just saw b was allowed for binary on the fopen page. Never mind. On Mon, 2003-02-10 at 09:13, Adam Voigt wrote: Precisely where did you get the b in your second parameter to fopen? I didn't see it on the fopen manual page at:

RE: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Ford, Mike [LSS]
-Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003 14:13 Precisely where did you get the b in your second parameter to fopen? I didn't see it on the fopen manual page at: http://www.php.net/fopen http://www.php.net/fopen Er -- quoting from that

[PHP] Writing text files in Windows 2k

2003-02-10 Thread Joe Njeru
Hi All The following is the text file generated. I'm runing on Windows 2k spack 3, When I open it in Excell it gives me the data but not seperated into lines. Do you have any suggestions. Joe Njeru, Nairobi, Kenya. begin 666 veh_fuel_iss_hist_rpt.csv M,C P,BTQ,2TP,CM!,C R,3DV.U!%5%)/3

[PHP] Re: iCal parser and importing iCal to database

2003-02-10 Thread kellan
PHP Icalendar could be seen as a program which imports iCalendar formatted info into a database. http://phpicalendar.sf.net kellan On Thu, 30 Jan 2003 19:40:15 +, Reuben D. Budiardja wrote: Hi, I think this has been asked here before and I've looked around the archive but didn't find

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
I have a same question in my mind about XML. I have another question in my mind too. If we are using smarty template engine in our development then what is need of XML and XSLT for presentation layer? I think XML and XSLT work is automatically done in smarty template engine. Am i right? Please

Re: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Chris Hewitt
Joe Njeru wrote: Hi All The following is the text file generated. I'm runing on Windows 2k spack 3, When I open it in Excell it gives me the data but not seperated into lines. Do you have any suggestions. It does for me in Excle 97 SP2, but I suspect there should be more lines than there

RE: [PHP] Writing text files in Windows 2k

2003-02-10 Thread Adam Voigt
Yes, I'm aware of that, if you would have read my reply 10 seconds after I sent the first one, I corrected myself. On Mon, 2003-02-10 at 09:25, Ford, Mike [LSS] wrote: -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003

Re: [PHP] PHP Script Encryption!!!!

2003-02-10 Thread Jason Sheets
Hello Pankaj, With PHP you use libmcrypt and the PHP mcrypt functions to do encryption. Basically you need to install libmcrypt (you do not need mcrypt, just libmcrypt) and then add --with-mcrypt=/path/to/install (this is usually /usr/local) to your PHP configuration line. You can check to see

Re: [PHP] Vulvan Logic SRM - does anyone use it?

2003-02-10 Thread Derick Rethans
On 10 Feb 2003, Tamas Arpad wrote: I'm thinking about using SRM application server for storing cached data. But I have to convince my customers that it's stable enough and is ready to use in production environment. Is it considered stable enough to use in such applications? As I see it

Re: [PHP] Why does this happen?

2003-02-10 Thread Noah
H... So in the receiving page I'll need to string together date_year[i], date_month[i] and date_day[i] in order to get the full date for each scheduled game. Which is what CF apparently glues together for the developer on the fly. I'll try out both this method and the array method

Re: [PHP] PHP Script Encryption!!!!

2003-02-10 Thread Adam Voigt
Just incase you meant encrypt your php scripts and not encrypt with your php scripts, check out: http://www.ioncube.com/ Not free, but very cheap (they have a online encoder that charges by the amount of code, a simple app is less then $5.00). On Mon, 2003-02-10 at 10:04, Jason

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Sascha Braun
Mh, I don't really know, but I think smarty is even better, because XSL Stylesheets have to be translatet by an extra Server Engine, so everything can be translatet into HTML, so far as I know. So it is not possible to just work with an standard Apache unless you install an extra XML Module or

[PHP] Code

2003-02-10 Thread Joe Njeru
Hi, This is the code that creates the file function writeln_to_file($str_txt) /* Definition: This function writes/appends $str_txt to the file Parameters: $str_txt; String; The String to be written to file ReturnType: NONE; */

[PHP] Php 4.3

2003-02-10 Thread Todd Barr
Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo value... how can I fix this? THanks -T

Re: [PHP] Shopping Cart

2003-02-10 Thread Sascha Braun
Shopping Carts are pretty easy to write. Just make a new table in your mysql DB and then write a session_id together with the sku and name, color, size, quantity and maybe customer_id into the the new shoppingcart table. When you want to show the shopping carts content just do an select from the

Re: [PHP] Php 4.3

2003-02-10 Thread bbonkosk
Check the archives about global variables in the php.ini file Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo

[PHP] Session Time

2003-02-10 Thread Stephen Craton
Got a quick and easy question that I'm not sure about. What I need to do is calculate how long someone has been in a chatroom, then update a members table to add some money to their account. Something like this: For every hour they're in the chatroom: 5 cents Thanks, Stephen Craton

[PHP] $_SESSION['user']['nickname'] = Herbert

2003-02-10 Thread Sascha Braun
Hi is something wrong with the above show argument? Under Windows everything works fine under linux it just shows me an 0 or 1, maybe for true or false, dont know. Please help me, what did i do wrong??? Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Php 4.3

2003-02-10 Thread Francesco Leonetti
edit the php.ini file changing register_globals = On then restart httpd. When register_globals is set to Off you cannot access post or get variables in the usual way but you need to address the $_GET, $_POST array (or the general $_REQUEST). More details on the manual... - Original

[PHP] Why use XML?

2003-02-10 Thread Christian Calloway
Hi, well Im out of a job so I am sitting around learning XML. It seems like a great tool, but I am trying to figure out why I would actually use it? All it does is seperate content and data, albeit on the client, but that is what I have been doing with Smarty and MySQL for awhile now. Why would I

[PHP] $_POST index issues

2003-02-10 Thread James G Puckett
I have run into a problem with some of my code surrounding $_POST. Below are excepts: Sending PHP script (login.php) FORM METHOD=POST ACTION=/verify_login.php BIUsername/B/I INPUT NAME=username_given SIZE=20 BIPassword/B/I INPUT NAME=password_given

Re: [PHP] any windows php developers out here?

2003-02-10 Thread Sascha Braun
http://php.e-novative.de/ephp.php Just look at this link, you will find a windows installer there, it installs Apache, PHP, MySQL and phpMyAdmin just from scratch, without you to know what you do ;))) Sascha - Original Message - From: Victor [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
I think XML and XSLT are the alternative of Smarty template engine. But i dont know how i can sepeatate my code using XML and XSL style sheets? If anyone can give me more information then it would be nice. I know how to write XSL style sheet along with XML document. But i really dont know what

Re: [PHP] $_POST index issues

2003-02-10 Thread Ernest E Vogelsinger
At 16:47 10.02.2003, James G Puckett spoke out and said: [snip] echo !-- username_given == $_POST['username_given'] --\n; $query = select username, active, password, clec_id from users where USERNAME=\$_POST['username_given']\;

RE: [PHP] $_POST index issues

2003-02-10 Thread James G Puckett
This indeed was the problem. Case closed. Thanks for the help. James G Puckett ECG, Inc. -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:55 AM To: James G Puckett Cc: [EMAIL PROTECTED] Subject: Re: [PHP] $_POST index

[PHP] Delimited file values behaving strangely...

2003-02-10 Thread Geoff Caplan
Hi folks, A strange one - unless I am having a brainstorm... I am reading in tab delimited files created in Excel on Windows and uploaded to Linux. Cell A1 contains a numeric id - I extract this into a variable, $id, by exploding on \n and \t. But for some files, the values of $id do not

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Leif K-Brooks
I'm guessing it containt a trailing space, which wouldn't display in HTML. Try trim()ing it. Geoff Caplan wrote: Hi folks, A strange one - unless I am having a brainstorm... I am reading in tab delimited files created in Excel on Windows and uploaded to Linux. Cell A1 contains a numeric id

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Lowell Allen
From: Geoff Caplan [EMAIL PROTECTED] Hi folks, A strange one - unless I am having a brainstorm... I am reading in tab delimited files created in Excel on Windows and uploaded to Linux. Cell A1 contains a numeric id - I extract this into a variable, $id, by exploding on \n and \t.

[PHP] Re: Why use XML?

2003-02-10 Thread Lee W
Christian Calloway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, well Im out of a job so I am sitting around learning XML. It seems like a great tool, but I am trying to figure out why I would actually use it? All it does is seperate content and data,

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Guru Geek
When this happens to me I always just echo the variable value like so to see if something is there that shouldn't be: echo ; echo $id; echo ; obviously all this does is print the variable with a bunch of c's before and after. That way I can see if there are any extra things included

Re[2]: [PHP] Delimited file values behaving strangely... SOLVED

2003-02-10 Thread Geoff Caplan
Hi, Of course, I solve it just after I decide to post... For some reason, my customer's spreadsheet data has unusual non-printing characters in some of the fields that weren't showing up in the page source. All I needed to do is strip them out with a regex. Anyway, thanks for the suggestions

Re: [PHP] Vulvan Logic SRM - does anyone use it?

2003-02-10 Thread Tamas Arpad
On Monday 10 February 2003 16:03, Derick Rethans wrote: On 10 Feb 2003, Tamas Arpad wrote: I'm thinking about using SRM application server for storing cached data. But I have to convince my customers that it's stable enough and is ready to use in production environment. Is it considered

[PHP] I get a File Download dialogue box

2003-02-10 Thread news
I am trying to configure run PHP4 on Apache on Windows XP. When I type http://localhost/ all I get is a File Download dialogue box, instead of the normal Apache server page. Does anyone know whats is going on here? Please tell me if you need any more information. -Nelson -- PHP General

RE: [PHP] I get a File Download dialogue box

2003-02-10 Thread Barajas, Arturo
You need to tell Apache that the .php extension is a web page. Take a look at the README or the INSTALL text files, there is the solution. I think it has to be something along the AddType lines. -- Un gran saludo/Big regards... Arturo Barajas, IT/Systems PPG MX (SJDR) (427) 271-9918, x448

[PHP] I get a File Download dialogue box from http://localhost

2003-02-10 Thread nelson
I am trying to configure run PHP4 on Apache on Windows XP. When I type http://localhost/ all I get is a File Download dialogue box, instead of the normal Apache server page. Does anyone know whats is going on here? Please tell me if you need any more information. -Nelson

[PHP] Graphics for PHP Help!

2003-02-10 Thread D.Starr
PHP programmer needed to assist with development of an ultra-simple XML driven portfolio site. Extensive planning phase already completed. Primary goal is total separation of content from interface. Accomplished digital artist (and student) prefers to offer in exchange services in 3D 2D

[PHP] php and postie

2003-02-10 Thread Javier Gloria Medina
hi everyone: i was wondering if its posible to use the program postie, so u can send mails with the fuction mail(). is there anyone that can help me with this. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a while loop that does't end with the script

2003-02-10 Thread Sunfire
try putting exit; at the end of your script will kill it dead in its tracks - Original Message - From: Francesco Leonetti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 6:34 AM Subject: [PHP] a while loop that does't end with the script Hi, I'm a newcomer

[PHP] sockets: resource(20) of type (Unknown)

2003-02-10 Thread Jason k Larson
Hi - I have an problem and I'm not sure how to proceed troubleshooting. I have a socket connection that I'm making to a local stunnel daemon. The connection works and is valid until it seemingly dies and the resource type becomes unknown. at timestamp: 1044900028.6608 my object has this

[PHP] numerics

2003-02-10 Thread Edward Peloke
IS there a way to only allow the user to type in numerics to a text field? I do not want to allow them to even type in anything unless it is a number. Basically, I don't want to allow them to enter hi and then I do checks and give them a warning that it isn't a number, I want to force it from the

Re: [PHP] numerics

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 02:27, Edward Peloke wrote: IS there a way to only allow the user to type in numerics to a text field? I do not want to allow them to even type in anything unless it is a number. Basically, I don't want to allow them to enter hi and then I do checks and give them a

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
Check out: is_numeric() http://www.php.net/manual/en/function.is-numeric.php -Kevin - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 11:27 AM Subject: [PHP] numerics IS there a way to only allow the user to type in

Re: [PHP] numerics

2003-02-10 Thread Steve Werby
Edward Peloke [EMAIL PROTECTED] wrote: IS there a way to only allow the user to type in numerics to a text field? I do not want to allow them to even type in anything unless it is a number. Basically, I don't want to allow them to enter hi and then I do checks and give them a warning that it

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
I'm sorry I misunderstood. As previously stated PHP is server-side only, you need a client-side solution. Search for Javascript validate numeric. - Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Edward Peloke [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday,

[PHP] Fw: help plz server

2003-02-10 Thread Nate
- Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: Nate [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 5:42 AM Subject: Re: help plz server please forward this email to `[EMAIL PROTECTED]' -- Maxim Maletsky [EMAIL PROTECTED] Nate [EMAIL

[PHP] Integrating PHP with Perl

2003-02-10 Thread Monica Lau
Hi all, I have a system that uses Perl scripts to process the HTML forms. It uses HTTP Basic Authentication to authenticate the users. The problem is that there is no session tracking and no logout button. I heard that PHP makes this login/logout and session tracking very simple, so I was

Re: [PHP] Integrating PHP with Perl

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 03:11, Monica Lau wrote: I have a system that uses Perl scripts to process the HTML forms. It uses HTTP Basic Authentication to authenticate the users. The problem is that there is no session tracking and no logout button. I heard that PHP makes this

Re: [PHP] Why use XML?

2003-02-10 Thread Colin Kettenacker
It seems like a great tool, but I am trying to figure out why I would actually use it? All it does is seperate content and data, albeit on the client Not necessarily only on the client, but on the server side as well. It would just add another layer of content/data seperation that would

[PHP] Class within a class

2003-02-10 Thread Justin Mazzi
I have made a Mysql database class. I wanted to know how I could use that class in another class without using extend. For example: include 'db.php'; $db = new db(); ...some php code... class blah { var $test = 1; function blah() { ..

Re: [PHP] Class within a class

2003-02-10 Thread Leif K-Brooks
Use $GLOBALS['db'] (or whatever the variable name of the global variable is). Justin Mazzi wrote: I have made a Mysql database class. I wanted to know how I could use that class in another class without using extend. For example: include 'db.php'; $db = new db(); ...some php code... class

Re: [PHP] Class within a class

2003-02-10 Thread Leif K-Brooks
If the DB object is already a global, like you seem to be saying, then you're already using globals... Justin Mazzi wrote: Is there anyway to do this without using globals? -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 2:46 PM To:

RE: [PHP] any windows php developers out here?

2003-02-10 Thread John W. Holmes
It's step 2 and 3 on this list that need to get added to the PHP manual. Step 3 can be skipped if you're not running NTFS. ---John Holmes... -Original Message- From: Victor [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 4:20 PM To: 'Victor'; [EMAIL PROTECTED]; [EMAIL

[PHP] Re: Session Time

2003-02-10 Thread Bobby Patel
What you could do, is get the current time stamp using time() or date() and create a sesion variable with this value, when they login (and the session is created. Then when they logout, and the sesion is destoyed get the current time stamp again and minus it from the start time. Note: This

[PHP] Testing if any of the items are false

2003-02-10 Thread rdkurth
How can I do this to determine if one of the items is false if none are then I what it to print the first echo of there is one that is false then print the second echo $test1= YES; $test2= YES; $test3= YES; $test4= YES; $ftest1= YES; $ftest2= NO; $ftest3= YES; $ftest4= YES; if

Re: [PHP] Testing if any of the items are false

2003-02-10 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: How can I do this to determine if one of the items is false if none are then I what it to print the first echo of there is one that is false then print the second echo Sorry, that makes no sense to me. $test1= YES; $test2= YES; $test3= YES; $test4= YES;

[PHP] MySQL for storing PHP code

2003-02-10 Thread Daniel Page
Hi, Would it be possible to store PHP code in a MySQL table, then via a web page, connect to the DB, recover the code that corresponds to a certain id number, then include that code for execution? For example (quick, dirty, and untested!): $sql = SELECT phpcode FROM phpstorage WHERE codeid = 1;

Fw: [PHP] MySQL for storing PHP code

2003-02-10 Thread Kevin Stone
Check out eval(); http://www.php.net/manual/en/function.eval.php - Kevin - Original Message - From: Daniel Page [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 2:21 PM Subject: [PHP] MySQL for storing PHP code Hi, Would it be possible to store PHP code in a

Re: [PHP] MySQL for storing PHP code

2003-02-10 Thread Chris Shiflett
--- Daniel Page [EMAIL PROTECTED] wrote: Would it be possible to store PHP code in a MySQL table, then via a web page, connect to the DB, recover the code that corresponds to a certain id number, then include that code for execution? Yes, and since your example demonstrates that you know how

[PHP] Re: MySQL for storing PHP code

2003-02-10 Thread Daniel Page
Thanks for the comments everyone! eval() has just made my day :) Cheers, Daniel Daniel Page [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi, Would it be possible to store PHP code in a MySQL table, then via a web page, connect to the DB, recover the code that

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Kevin Waterson
This one time, at band camp, Hardik Doshi [EMAIL PROTECTED] wrote: I know how to write XSL style sheet along with XML document. But i really dont know what contents should be in XML. If XML contains data (and it is true) then what is the need of MySQL? At last i can say i don't know

  1   2   >