[PHP] class help

2001-09-18 Thread Cameron Brunner
im going crazy here trying to get this code to work, its complaining on line 38 but i can see any problems with the file, any suggestions? Cameron ?php class Directory { var $base_dir; function Directory ( $base_dir ) { if ( is_dir (

Re: [PHP] class help

2001-09-18 Thread Rasmus Lerdorf
list() is a built-in PHP function. by the way, PHP already has a directory class. See http://php.net/dir -Rasmus On Tue, 18 Sep 2001, Cameron Brunner wrote: im going crazy here trying to get this code to work, its complaining on line 38 but i can see any problems with the file, any

[PHP] Income on the Net!

2001-09-18 Thread Noel Hadfield
Here is an opportunity that you can take up FREE. If you join as an affiliate, we'll teach you how to build a profitable business on the Internet, using our system to create an income stream and earn income globally, 24 hours a day. Don't let this opportunity slip past you - our organization

Re: [PHP] real simple regex

2001-09-18 Thread * RzE:
Original message From: Jack Dempsey [EMAIL PROTECTED] Date: Mon, Sep 17, 2001 at 09:41:07PM -0400 Message-ID: [EMAIL PROTECTED] Subject: RE: [PHP] real simple regex you actually don't need regex... if you take a few minutes you can do it all with strpos and substr, adn it'll be faster than

Re: [PHP] Problem: ereg doesn't work ok (?).

2001-09-18 Thread * RzE:
Original message From: Lic. Rodolfo Gonzalez Gonzalez [EMAIL PROTECTED] Date: Mon, Sep 17, 2001 at 05:13:04PM -0500 Message-ID: [EMAIL PROTECTED] Subject: [PHP] Problem: ereg doesn't work o Hello, I have a problem with ereg: following the example from the documentation (see the ereg page in

Re: [PHP] Can I use Microsoft Access as a database?

2001-09-18 Thread A. op de Weegh
Thanks, but since I am unfamiliar using this kind of database connection, I was hoping you could help me out some more. I did the following. In the ODBC Data Source Administrator of Windows 98 I have created a new file DSN. This DSN is configured to use a certain Access 2000 database on one of

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread * RzE:
Original message From: hue micheal [EMAIL PROTECTED] Date: Mon, Sep 17, 2001 at 09:51:07PM -0400 Message-ID: [EMAIL PROTECTED] Subject: [PHP] Print current page with no printer dialog box - How ? Do you know how to create a button to print current page without bringing up the printer dialog

RE: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Matthew Loff
FYI-- Page breaks can be designated with CSS (style sheets)... Although that's not a completely cross-platform method. -Original Message- From: * RzE: [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 4:01 AM To: hue micheal; [EMAIL PROTECTED] Subject: Re: [PHP] Print

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread * RzE:
Original message From: Matthew Loff [EMAIL PROTECTED] Date: Tue, Sep 18, 2001 at 04:11:34AM -0400 Message-ID: 017f01c14019$887d5600$0ce60281@bang Subject: RE: [PHP] Print current page with no printer dialog box - How ? FYI-- Page breaks can be designated with CSS (style sheets)... Although

RE: [PHP] Can I use Microsoft Access as a database?

2001-09-18 Thread Niklas Lampén
Try: $odbcId = odbc_connect(phpodbc.dsn, admin, ); Niklas -Original Message- From: A. op de Weegh [mailto:[EMAIL PROTECTED]] Sent: 18. syyskuuta 2001 10:57 To: [EMAIL PROTECTED] Subject: Re: [PHP] Can I use Microsoft Access as a database? Thanks, but since I am unfamiliar

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Chris Lambert
[EMAIL PROTECTED] (* RZe:) wrote in news:20010918101659.I17452@pro- pain.telemediair.nl: Yep... that's what I said; You can't use pagebreaks. First... they're not part of HTML. Second; like you said yourself... it's not cross-platform... and like everyone knows; creating sites/pages that

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread * RzE:
Original message From: Chris Lambert [EMAIL PROTECTED] Date: Tue, Sep 18, 2001 at 08:52:46AM - Message-ID: [EMAIL PROTECTED] Subject: Re: [PHP] Print current page with no printer dialog box - How ? However, using CSS to insert page breaks causes no problem at all in older browsers. HTML

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Chris Lambert
[EMAIL PROTECTED] (* RZe:) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: FYI; pagebreaks are added CSS2. Not available in CSS1, so not compatible with older versions of browsers (opposite to what you say). I know that. I did not say it would work - I said it would not cause any

[PHP] Compiling PHP with Apache

2001-09-18 Thread Jobarr
I want to compile Apache with PHP built-in instead of being loaded as an external module. Can anyone help me with this? I have Visual C++ 6.0 and Windows 2000. -Jobarr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Can someone help me parse XML? - Challenge

2001-09-18 Thread Christian Reiniger
On Monday 17 September 2001 16:42, Jeff Lewis wrote: I have an XML file that I need to parse. I had the base of a perl script written but wasn't completely functioning and was hoping someone could give me a hand with making it parse and do what it's supposed to but in PHP. The perl file

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread * RzE:
I know that. I did not say it would work - I said it would not cause any problems. The HTML specification says that clients/browsers should ignore any tags they don't understand. Therefore any old browser coming across a STYLE=... will ignore it. Pages made solely for newer browsers

[PHP] include question

2001-09-18 Thread Nikola Veber
Hi ! I'm using include() function to print html code nested in a function in the included file when a link is selected. I was wondering if the whole php file that is included gets loaded, or the server just sends the code from desired finction? Can I put more than one function full of html

[PHP] Replacing datafile with array

2001-09-18 Thread Daniel Alsén
Hi, i am trying to replace a datafile wich contains the contents of a directory with an array. I am reading the directory and am trying to pass the value to an array. What am i doing wrong? Shouldn´t $retVal contain the direcory info? Also, is there a way to use the content of an array without

[PHP] Re: Replacing datafile with array

2001-09-18 Thread _lallous
works like a charm just initializet the $retVal function... $retVal = array(); rest of script here Daniel alsén [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, i am trying to replace a datafile wich contains the contents of a directory with an

[PHP] Re: regular expression help

2001-09-18 Thread _lallous
This should do (but ofcourse you might want to play a bit with it) $mem = ' A HREF=http://www.mydomain.com/mypage.php;something/a is fine A HREF=http://www.yourdomain.com/yourpage.php;something/a is wrong A HREF=http://www.yourdomain.com/yourpage.php;something/a is finebr a

[PHP] Speeding up program

2001-09-18 Thread Niklas Lampén
How big difference does it make in speed in these: ? for ($i = 0; $i mysql_num_rows($Results); $i++) { blah }; ? or ? $n = mysql_num_rows($Results); for ($i = 0; $i $n; $i++) { blah }; ? So actually I'm asking how much more/less it takes time to do the comparing against

[PHP] R: Handling sessions between servers?

2001-09-18 Thread ---
You have to pass the SID between servers and change the directory in which you store session files to a common location. You can pass the SID only once, after that the second server will set a cookie... in the first page you can put something like this img

[PHP] Warning: stat failed - Why does it appear?

2001-09-18 Thread Kasper Skårhøj
Hi folks. I have a project with over 270 is_dir, is_file and file-exists function calls. On unix there are no problems. On windows (WINNT/PHP Version 4.0.7-dev) these functions may return a warning like: Warning: stat failed for log.txt (errno=2 - No such file or directory) in

RE: [PHP] Can I use Microsoft Access as a database?

2001-09-18 Thread Arno Welzel
First you have to define a *system* data source (DSN) with the ODBC control panel applet - e.h. with the name accessdb. Be sure, that *other* applications are able to use this data source as well, before you try to access via PHP (e.g. with Excel, which comes with a data query tool to import data

[PHP] Undefined Variable in formular... what happens???

2001-09-18 Thread Ingo
hello i am using win2000 xitami, php and access. so my problem is that the script couldn't find the variable.. . so i cant save the user changed buttons and editfields... is that a known problem with xitami and php? when i try to run the script on a real webserver with .php installed, it works

RE: [PHP] Re: Replacing datafile with array

2001-09-18 Thread Daniel Alsén
Hmm... it still doesn´t work. If i echo $retVal i just get the word 'Array' (the same number of times that the number of files in the directory). If i echo $file i get the file listing...however, it doesn´t pass on the content to the rest of my script. Maybe someone could help me out with the

RE: [PHP] Re: Replacing datafile with array II

2001-09-18 Thread Daniel Alsén
Woops! I actually got the listing to work by replacing $photos = file($retVal); with $photos = $retVal; :) But, there´s still a problem. The script doesn´t seem to be able to use the navigation part (print out the next and previous links). That part of the script looks like this: ?PHP //print

RE: [PHP] Re: Replacing datafile with array Sorry... .)

2001-09-18 Thread Daniel Alsén
Sorry, It seems like every time i posted a question i was able to solve it myself :) Something strange going on in my problem solving part of the brain. I got the whole script to work. The navigation part solved itself when i moved the 'cleaning up' part to the very end of the script. Still, if

[PHP] May I ask sql question here??

2001-09-18 Thread Zenith
I know that, this is a newsgroup for PHP, but can I ask some SQL question here? Or, would you mind point me to a suitable newsgroup for SQL question? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Re: May I ask sql question here??

2001-09-18 Thread _lallous
Man...you could have asked already and you might have got an answer from others and NO from others... I might answer you if your question is in the range of my knowledge. Zenith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I know that, this is a newsgroup for

[PHP] fwd: INCREASING GAS PRICES

2001-09-18 Thread gasman6103
Oil prices have jumped amid concerns that U.S. retaliation for this week's terrorist attacks could hurt supplies from the Middle East. Brent Crude futures for November delivery jumped 61 cents, or 2.2 percent, to $28.96 in mid-morning trade on London's International Petroleum Exchange. It's a

[PHP] Re: Get the beginning array number

2001-09-18 Thread _lallous
reset($array); list(, $value) = each($array); this will give you first value in $value Brandon Orther [EMAIL PROTECTED] wrote in message !~[EMAIL PROTECTED]">news:!~[EMAIL PROTECTED]... Hello, I have an array sent to my script that starts at different numbers each time. Here is an example

Re: [PHP] SMS with php

2001-09-18 Thread Lewis Bergman
Due to all the questions I am posting replies to this thread to a single message. I'm very intruiged how you have got this to work it was my understanding you needed to be running a server, such as kannel, and have a contract with an smsc? No, you don't need anything special. could U

Re: [PHP] SMS with php

2001-09-18 Thread * RzE:
could U list the URL http://www.radio.net/rfc1861.txt?number=1861 This URL doesn't exist. Please check it... -- * RzE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- --

[PHP] html anchors and form variables again

2001-09-18 Thread Rebecca Donley
Hi all, Several days ago I asked for help with this problem and you gave me information on the output control functions, which was much appreciated and solved some of my problems. However, I can't seem to find away around the following one: I need to pass a variable value from one page to

Fwd: Re: [PHP] SMS with php

2001-09-18 Thread Lewis Bergman
http://www.ietf.org/rfc/rfc1861.txt?number=1861 There. How is that. You should still try google. You might turn up more to help you. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 915-695-6962 -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] SMS with php

2001-09-18 Thread * RzE:
http://www.ietf.org/rfc/rfc1861.txt?number=1861 There. How is that. A lot better :) -- * RzE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM --

RE: [PHP] Re: Is it *really* an associative array?

2001-09-18 Thread Boget, Chris
what are you trying to do? why do you want to diffirentiate between 99 as a string or as a number? Because if it is a string, more than likely it means that the key was user defined and is not PHP defined as an element number. Again, consider the differences between these two arrays:

[PHP] Re: Get the beginning array number

2001-09-18 Thread Steve Edberg
At 4:12 PM +0200 9/18/01, _lallous wrote: reset($array); list(, $value) = each($array); this will give you first value in $value ...and according to http://www.php.net/manual/en/function.reset.php reset() returns the first element of the array, so you could shorten this to

[PHP] replace with display function

2001-09-18 Thread Scott
Hi, I am working on replacing strings in a navigation file. I need to be able to assemble the left navigation from a table. My problem is the function code gets placed above where it should appear in the template. Here is what I have: $temp5 = str_replace([LEFT NAV],call_leftnav(),$temp4);

[PHP] Re: INCREASING GAS PRICES

2001-09-18 Thread _lallous
Hehhere and just now the gas price rasied to $2 per 20 Litter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oil prices have jumped amid concerns that U.S. retaliation for this week's terrorist attacks could hurt supplies from the Middle East. Brent Crude

[PHP] Re: INCREASING GAS PRICES

2001-09-18 Thread _lallous
Hehhere (Lebanon) the gas price rasied to $2 per 20 Litters already! [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oil prices have jumped amid concerns that U.S. retaliation for this week's terrorist attacks could hurt supplies from the Middle East.

Re: [PHP] chewing up apache logs

2001-09-18 Thread Marc Swanson
I've just changed ISPs, and my old ISP used webalizer to report usuage/everything else stats about a website. The new ISP offers a simular product for a cost, but it looks very clumsy and bloated. I had the same problem... I used to host my own and then had to switch to a hosting service

Re: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread Marc Swanson
Do you know how to create a button to print current page without bringing up the printer dialog box? I just print to the default printer. And also how do I insert a page break ? Yes, to both questions. See http://www.meadroid.com/scriptx It is an ActiveX component that allows pretty

[PHP] Re: Problem: lost session id when htaccess'ing.

2001-09-18 Thread Chris Lee
- you have cookie support on or off ? - you using any header redirects ? (you have to manually add the SID to URI's) send some src and a link. lets see whats going on. -- Chris Lee [EMAIL PROTECTED] Lic. Rodolfo Gonzalez Gonzalez [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] What is PHP's equivalent?

2001-09-18 Thread Chris Lee
correct me if Im wrong, but I wanted to add a note saying that php supports loading .COM and .NET only if the server is windows based. -- Chris Lee [EMAIL PROTECTED] Sterling Hughes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 17 Sep 2001, Eric

[PHP] Re: Getting data over https?

2001-09-18 Thread Chris Lee
php doesnt support https url-wrappers. grab the data with an external app maybe, it'll be ugly. exec('lynx -source https://www.pilotmedia.fi/ /tmp/somefile.txt'); fopen('/tmp/somefile.txt', 'r'); unlink('/tmp/somefile.txt'); -- Chris Lee [EMAIL PROTECTED] Ville Mattila [EMAIL

[PHP] Re: how can i show my table 5 record by five record ?

2001-09-18 Thread Chris Lee
I dont understand, so Im going to make up a question and then answer it. how do I make a table five elements wide dynamically ? echo tr ; foreach( $db-select_array('', 'product', '') as $pos = $val ) { if ( !(@$counter++ % 5) ) echo /trtr ; echo td{$val['product_name']}/td

Re: [PHP] Handling sessions between servers?

2001-09-18 Thread Chris Lee
using mysql is an excelent choice, if your not using a db Ive seen people pass the data raw echo a href='http://www.mediawaveonline.com/index.php?session_data=;. base64_encode(session_encode()) .'mediawaveonline.com/a ; then session_decode(base64_decode($session_data)); its ugly, but it

[PHP] when logic fails, PHP randomly skips execution of lines

2001-09-18 Thread Jens Kisters
Hello everbody, I have noticed something quite strange, i have a piece of code that looks like, i removed some of it to make it readable: there are no statements in the code that would cause the termination of the method before reaching the last line, no return, die or whatever. ? echo

RE: [PHP] when logic fails, PHP randomly skips execution of lines

2001-09-18 Thread php
How about: $enc=abcdefe; echo swap: .$enc.\n; // swap 1st and 2nd half of string $len= (int)strlen($enc)/2; $enc=substr($enc,$len).substr($enc,0,$len); echo swp2: .$enc.\n; echo end\n; Your /2 system wont' work when strlen is an odd number. Sean -Original Message-

Re: [PHP] Undefined Variable in formular... what happens???

2001-09-18 Thread Philip Olson
Most likely it has to do with your error_reporting setting. See : http://uk.php.net/manual/en/phpdevel-errors.php#internal.e-notice http://uk.php.net/manual/en/features.error-handling.php Level E_NOTICE produces Warnings such as Undefined Variable, so, doing the following : echo

RE: [PHP] MySQL tutorials?

2001-09-18 Thread Boaz Yahav
Simple Connection to MySQL with PHP : http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=11 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent:

[PHP] SPEED: Apache module vs. compiled?

2001-09-18 Thread Camille Davis
Does anyone have any benchmarks or proof of a speed difference between compiling PHP as an Apache APXS module, versus compiling it right into Apache? I'm going to be using it on a virtual webhost with 400 domains on one server, and good amount of traffic. PHP used for *everything*. Module

[PHP] manipulating graphics

2001-09-18 Thread Jay Paulson
Hello everyone- I've been looking at the php manual to see what functions are available to resize images. I was wondering if there was a function that Constrained the Proportions of the image or am I going to have to write that function? Thanks, jay -- PHP General Mailing List

RE: [PHP] What is PHP's equivalent?

2001-09-18 Thread Boaz Yahav
As much as I love PHP, if you are going to use com, I suggest you stick to ASP/COM :). No other language than the one MS it self wrote will have the compatibility to COM and the OS like ASP. Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you

[PHP] 4.0.7 = when?

2001-09-18 Thread Camille Davis
Any clue when PHP 4.0.7 is coming out? I need the open_basedir option that 4.0.7 has added. I've downloaded snapshots from snaps.php.net but those are 4.0.8-dev and acting weird. (IE gives many page not found errors. Refreshing the screen sometimes finds the page again.) Is there a place

[PHP] PHP 4.07 and Solaris Sun Package

2001-09-18 Thread Nael Mohammad
Yes, I would like to see RC1 of PHP4.0.7 available and not in CVS fashion. And one more thing, is it possible to make PHP into a sun package ?http://www.sunfreeware.com/pkgadd.html -Original Message- From: Camille Davis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001

RE: [PHP] New to PHP, just looking for resources is all =)

2001-09-18 Thread Boaz Yahav
mod_auth_mysql - mod_auth_mysql was written in order to allow users to use the blazing quick speed of MySQL in order to store authentication information for their apache web servers. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=558 or :

Re: [PHP] 4.0.7 = when?

2001-09-18 Thread Rasmus Lerdorf
open_basedir has been around for years. It is not a new 4.0.7 feature. And you can get the latest RC from http://www.php.net/~zeev/php-4.0.7RC2.tar.gz -Rasmus On Tue, 18 Sep 2001, Camille Davis wrote: Any clue when PHP 4.0.7 is coming out? I need the open_basedir option that 4.0.7 has

Re: [PHP] Re: include question

2001-09-18 Thread Jason Bell
include loads the entire file. I do something similar with my functions (Keep them in a seperate file, and include them when needed) I will usually have multiple function files, grouped by function... for example, I have one file for error reporting functions, one file for authentication

[PHP] exclamation points appearing from nowhere in the mail() function...

2001-09-18 Thread mm \(saul\)
hey, could anyone help me with the mail function? in my script, its sintax is right... when i use the mail() function it works normaly... but when somebody receives the email sent by the mail(), some exclamation points appear from nowhere and the strangest thing is that the excamation points

[PHP] PHP + NT + Weird line break??

2001-09-18 Thread Joseph Koenig
On NT, I have recently run into this problem. However, this is only as of today. When using include(); at the top of a page: ? include(); ? HTML... There is a line break before my page most of the time, but not always. Removing the include file and copy-pasting it's contents into the top

Re: [PHP] SPEED: Apache module vs. compiled?

2001-09-18 Thread Michael A. Peters
On Tue, 18 Sep 2001 10:12:05 -0700 Camille Davis [EMAIL PROTECTED] wrote: Does anyone have any benchmarks or proof of a speed difference between compiling PHP as an Apache APXS module, versus compiling it right into Apache? I'm going to be using it on a virtual webhost with 400 domains on

[PHP] Warning: stat failed - Why does it appear?

2001-09-18 Thread Kasper Skårhøj
Hi folks. I have a project with over 270 is_dir, is_file and file-exists function calls. On unix there are no problems. On windows (WINNT/PHP Version 4.0.7-dev) these functions may return a warning like: Warning: stat failed for log.txt (errno=2 - No such file or directory) in

[PHP] Help with escaping the # sign

2001-09-18 Thread John Holcomb
I have a text input field in my form. I need the user to be able to enter something like: Hello, I need # help. After which they click on a submit button. The succeeding page then takes this text and tries to display it and tries to store Hello, I need # help in a varchar field in a mysql

[PHP] Describing mysql table

2001-09-18 Thread Gerard Samuel
Im trying to get results from a mysql command (describe tablename;) into php. I know about the php functions, but I would like the mysql nameing instead. Im trying like so $query = DESCRIBE users; $result = mysql_query($query); $array = mysql_fetch_array($result); foreach ($array as $data) {

[PHP] Need help. please

2001-09-18 Thread John Holcomb
I'm sorry for those who my have responded to my last email. I thought I had plenty of room in my email client, but I forgot to delete my trash, so I did not get any responses. So, I'm going to restate my initial problem. Any help will be greatly appreciated. Thanks again I have a text

Re: [PHP] Need help. please

2001-09-18 Thread Gerard Samuel
John Holcomb wrote: I'm sorry for those who my have responded to my last email. I thought I had plenty of room in my email client, but I forgot to delete my trash, so I did not get any responses. So, I'm going to restate my initial problem. Any help will be greatly appreciated. Thanks

[PHP] How do I tell the mail function that the message content is HTML?

2001-09-18 Thread Salty Marine
Greetings to You: How do I tell the mail function that the message content is HTML? Regards, Salty

Re: [PHP] Describing mysql table

2001-09-18 Thread Gerard Samuel
Hey I figured out my problem. Instead of using a foreach loop, I used a while loop and everything is cool man :). UPDATED CODE: $query = DESCRIBE mpn_users; $result = mysql_query($query); while ($data = mysql_fetch_array($result)){ echo $data[0], $data[1], $data[2]br; } Gerard

Re: [PHP] For the RegExps gurus!

2001-09-18 Thread ~~~i LeoNid ~~
On Mon, 17 Sep 2001 13:15:08 +0200 impersonator of [EMAIL PROTECTED] (* RZe:) planted I saw in php.general: Ehhh... hai! Halo! Good to see you back:) I've been away on vacation, so it's a bit late, but anyway... Indeed late.. Had a good one? You didn't. Actually please expose - tell i tell

Re: [PHP] Re: Getting data over https?

2001-09-18 Thread Ville Mattila
Thanks Chris, but I'm using Win32 at the moment... The solution should anyway be compatible with Win32 as well as Linux/Unix. But anyway mainly with Win32. - Ville Chris Lee [EMAIL PROTECTED] kirjoitti viestissä [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... php doesnt support https

[PHP] Re: Warning: stat failed - Why does it appear?

2001-09-18 Thread Philip Hallstrom
I am using 4.0.7-dev and I too now get this error on unix (FreeBSD 4.3-STABLE). So it's happening all over. I think it's a good thing cause it helps remind you that you're trying to stat something that doesn't exist... and if you're doing that on a file that might or might not exist then your

[PHP] help please with # sign

2001-09-18 Thread John Holcomb
I have a text input field in my form. I need the user to be able to enter something like: Hello, I need # help. After which they click on a submit button. The succeeding page then takes this text and tries to display it and tries to store Hello, I need # help in a varchar field in a mysql

[PHP] ...::: Vacation on us! :::...

2001-09-18 Thread Sophia242
You have been specially selected to qualify for the following: Premium Vacation Package and Pentium PC Giveaway To review the details of the please click on the link with the confirmation number below: http://wintour.my163.com Confirmation Number#Lh340 Please confirm your entry within 24

Re: [PHP] ...::: Vacation on us! :::...

2001-09-18 Thread Jason Bell
All of us? WoW! Well, if we win, how do we decide who gets to go? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 18, 2001 8:06 AM Subject: [PHP] ...::: Vacation on us! :::... You have been specially selected to qualify for the following:

[PHP] The Salty Marine's eMail eMuster Subscription

2001-09-18 Thread oort
Thank you for subscribing to the Salty Marine's eMail eMuster newsletter, -- 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] The Salty Marine's eMail eMuster Subscription

2001-09-18 Thread Duncan Hill
On 18 Sep 2001 [EMAIL PROTECTED] wrote: Thank you for subscribing to the Salty Marine's eMail eMuster newsletter, Ooh.. some other mad list that doesn't have validation of subscribed accounts. Or someone being bored. -- Sapere aude My mind not only wanders, it sometimes leaves completely.

RE: [PHP] The Salty Marine's eMail eMuster Subscription

2001-09-18 Thread Salty Marine
Greetings to Duncan and all those on the list: Lol, I've removed the [EMAIL PROTECTED] address from the distribution list. Sorry for the error, I must remember to lay off the mountain dew and twinkies and get some sleep after thirty hours, lol. Regards, Salty -Original Message- From:

[PHP] PHP Site

2001-09-18 Thread Jason Bell
is it just me, or is php.net down right now?

[PHP] Is there no one who can help me out there.

2001-09-18 Thread John Holcomb
I have a text input field in my form. I need the user to be able to enter something like: Hello, I need # help. After which they click on a submit button. The succeeding page then takes this text and tries to display it and tries to store Hello, I need # help in a varchar field in a mysql

Re: [PHP] PHP Site

2001-09-18 Thread Scott
The net is slow right now as there is another Microsoft IIS worm/virus floating around. This one is worse than Code Red in the amount of traffic it generates, something to effect of 10 requests a second, compared to one with Code Red. While php.net is not running IIS, it is subject to these

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread Jason Bell
John, someone did reply to you alread. here let me snip from that email oOoOoOoOoOoO Gerard Samuel Said: oOoOoOoOoOoO check to see if the field where the info is going into is long enough. ie varchar(50). anything more than 50 get cut off. being diplayed on the succeeding web

Re: [PHP] PHP Site

2001-09-18 Thread Jason Bell
Thanks. I suppose really need to download the docs to my machine. :) - Original Message - From: Scott [EMAIL PROTECTED] To: Jason Bell [EMAIL PROTECTED]; PHP Users [EMAIL PROTECTED] Sent: Tuesday, September 18, 2001 4:34 PM Subject: Re: [PHP] PHP Site The net is slow right now as

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread Rebecca Donley
John, I had a similar problem when passing # from one page to another as an html anchor. What worked for me was separating the # in quotes as follows: echo ?id= . $row[0] . # . strtolower($row[1]) . ''; When I did this I had no problem passing the entire string without the end being

Re: [PHP] PHP Site

2001-09-18 Thread Scott
http://www.zend.com/manual/ At 04:37 PM 9/18/2001 -0700, Jason Bell wrote: Thanks. I suppose really need to download the docs to my machine. :) - Original Message - From: Scott [EMAIL PROTECTED] To: Jason Bell [EMAIL PROTECTED]; PHP Users [EMAIL PROTECTED] Sent: Tuesday, September

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread John Holcomb
Thank you. This has been the biggest help so far. But, if it's a user entered string is their anyway to do this without having to parse the string and looking for the # sign and then reconstructing the string. That would be very difficult to do. I would appreciate any comments you might have.

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread Rebecca Donley
What about writing a function to change all the # characters to something else (maybe something you would never see in the input) and then another to change them back again before entry into your db? I'm pretty new to PHP so I'm not sure what string functions are available but in ASP you

[PHP] Thank you Rebecca

2001-09-18 Thread John Holcomb
Excellent idea Rebecca. I guess I'll have to resort to this because no one else out there seems to have ever had this problem. You've been a big help. Thank you for your ideas. John --- Rebecca Donley [EMAIL PROTECTED] wrote: What about writing a function to change all the # characters to

Re: [PHP] Thank you Rebecca

2001-09-18 Thread Rebecca Donley
Glad to be of help John. Wish I could think of something a little more elegant. The # seemed like an odd choice to me for a comment line because it's a well used character in both html and common text. I'm surprised it hasn't given a lot of people trouble. Rebecca From: John Holcomb

Re: [PHP] real simple regex

2001-09-18 Thread Christian Dechery
but can imap replace my old mail() calls? Don't I have to get a server that supports it or something?? the regex thing I already got working... thanks... At 21:53 17/9/2001 -0700, Frank M. Kromann wrote: Take a look at http://php.net/manual/en/function.imap-rfc822-parse-adrlist.php This

RE: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread hue micheal
Thanks everyone for ideas and suggestions. In short, it is no easy way, but there are work arounds by using scripting, CSS etc, but it may not be portable. I guess people can always use the browser's print button, but this has some limitation on pages that use frames etc. Regards, Huem --

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread David Robley
On Wed, 19 Sep 2001 08:59, John Holcomb wrote: I have a text input field in my form. I need the user to be able to enter something like: Hello, I need # help. After which they click on a submit button. The succeeding page then takes this text and tries to display it and tries to store

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread Mark
On Tue, 18 Sep 2001 16:29:21 -0700 (PDT), John Holcomb wrote: I have a text input field in my form. I need the user to be able to enter something like: Hello, I need # help. After which they click on a submit button. The succeeding page then takes this text and tries to display it and tries

Re: [PHP] Speeding up program

2001-09-18 Thread David Robley
On Tue, 18 Sep 2001 20:56, Niklas Lampén wrote: How big difference does it make in speed in these: ? for ($i = 0; $i mysql_num_rows($Results); $i++) { blah }; ? or ? $n = mysql_num_rows($Results); for ($i = 0; $i $n; $i++) { blah }; ? So actually I'm asking how much

Re: [PHP] Problem: ereg doesn't work ok (?).

2001-09-18 Thread Lic. Rodolfo Gonzalez Gonzalez
On Tue, 18 Sep 2001, * RzE: wrote: and get DD-MM-, but with well formed -MM-DD it doesn't match!. Is this a bug?. It would help if you send the code you're using, 'cause we can't see what you're doing now. FAFAIK it should just be possible. See the Sure: --- start --- $datenews

Re: [PHP] Re: Problem: lost session id when htaccess'ing.

2001-09-18 Thread Lic. Rodolfo Gonzalez Gonzalez
On Tue, 18 Sep 2001, Chris Lee wrote: - you have cookie support on or off ? - you using any header redirects ? (you have to manually add the SID to URI's) Sorry for the lenght of this mail. PHP compiled with --enable-trans-id, so PHP adds SID to the URL. session.use_cookies = 0,

[PHP] re: array question

2001-09-18 Thread Scott
Oh, that works wonders and for the first time in 24 hours I am smiling! One more thing to make it complete. Is there a way to loop through the display of that array? In other words, I now have an array called $new_data and can call each element in the array by doing $new_data[0], etc, but I

RE: [PHP] re: array question

2001-09-18 Thread Jack Dempsey
perhaps i'm misunderstanding you, but why not use a for loop? for($i=0;$icount($array)-1;$i++){ echo $array[$i]; } jack -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 18, 2001 10:11 PM To: [EMAIL PROTECTED] Subject: [PHP] re: array question

  1   2   >