RE: [PHP] calling functions in classes using text and graphic links

2003-06-24 Thread SLanger
Hello What you are asking isn't possible that way. You have to write a controller script that calls the appropriate functions on your object. Example: controller.php is the controller script A link on your page: Some Action In controller.php you do something like: You might also want to loo

RE: [PHP] ereg_replace and quotation marks

2003-06-24 Thread Boaz Yahav
Your example should work Maybe something else is the problem? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Paul Nowosielski [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 8:45 PM To: [EMAIL PROT

RE: [PHP] Month name

2003-06-24 Thread Martin Towell
date("F", mktime(0, 0, 0, $mm, $dd, $)); http://au2.php.net/manual/en/function.date.php http://au2.php.net/manual/en/function.mktime.php -Original Message- From: cavagnaro [mailto:[EMAIL PROTECTED] Sent: Wednesday, 25 June 2003 4:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Month name

RE: [PHP] Month name

2003-06-24 Thread Boaz Yahav
Check out : http://www.php.net/manual/en/function.date.php M - A short textual representation of a month, three letters Jan through Dec Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: cavagnaro [mailto:[EMAI

[PHP] remove characters, add newline & making a twodimensional array

2003-06-24 Thread Dore van Hoorn
Well, i'm kind of a newby, but this is what i would like to do in php: 1. i'm writing all instances of a mysql table to a txt file, but when i add "\n" to go on on the next line, in the txt file there is a square printed. When i try to import the txt file into ms access, the square is not recogn

[PHP] Month name

2003-06-24 Thread cavagnaro
How can I get the month name from a date? If you could post with an example i'll be gratefull -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sorting Country List

2003-06-24 Thread Craig Avnit
I use this code, which extracts from mysql, and you can set the option of which you want to be selected \n"; while (list($key,$val)=mysql_fetch_array($mysql_link)) { if ($default == $key) {$selected="selected";} else {$selected="";} $result.="$val\n"; } $result.="\n"; r

[PHP] Re: Returning TWO variables from function

2003-06-24 Thread Slava
The function can return an array that include two or more variables. "Nadim Attari" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Can someone let me know how to return TWO variables from a function > Try http://www.php.net/manual/en/language.references.php > -- PHP General Ma

[PHP] Re: Returning TWO variables from function

2003-06-24 Thread Nadim Attari
> Can someone let me know how to return TWO variables from a function Try http://www.php.net/manual/en/language.references.php

[PHP] Re: PHP Mysql Hit Counter

2003-06-24 Thread Nadim Attari
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html

RE: [PHP] Sorting Country List

2003-06-24 Thread Boaz Yahav
Why don't you just add a hard coded line like this: USA as the 1st option in your select box? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Ralph [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 6:

[PHP] Fw: Help please!

2003-06-24 Thread Nadim Attari
Hi php-general, I have subscribed to news://news.php.net/php.general. But when I post something (i'm using Outlook Express), it seems that the post is sent; but in fact it isn't and so I don't find my post(s) on the newsgroup. Help please! Nadim Attari

[PHP] Help please!

2003-06-24 Thread Nadim Attari
Hi php-general-digest, I have subscribed to news://news.php.net/php.general. But when I post something (i'm using Outlook Express), it seems that the post is sent; but in fact it isn't and so I don't find my post(s) on the newsgroup. Help please! Nadim Attari

[PHP] RE: WEB HOST NEEDED!!!!!

2003-06-24 Thread John Zimmerman
> [snip] > Like I said, I need a web host. > It MUST support PHP, mySQl and sending emails, optional. > It shouldn't have any ads (pop-ups, ads), but I will allow if it has > watermarks (SMALL! watermarks). > It should be TOTALY FREE! > [/snip] Not that we really want to attract losers who can't us

Re: [PHP] PHP Mysql Hit Counter

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "[EMAIL PROTECTED]" claimed that: |Hi All, |I'm after a fairly neat PHP mysql hit counter with date reporting/url |reporting and perhaps some graphs but not nessasary. i've done my own little |one which simply reports hits, but i'm wondering is there a free one that is |da busiess

[PHP] RE: PHP General Mailing List

2003-06-24 Thread Jeff Harris
Summary: I have to create a word document on the fly. what's the best way to go about it? Okay so I have a client that would like something output to a word document. I already have HTML and PDF versions... I'm trying to figure out the best way to do this. I am already aware of the open html in wo

[PHP] PHP Mysql Hit Counter

2003-06-24 Thread mwestern
Hi All, I'm after a fairly neat PHP mysql hit counter with date reporting/url reporting and perhaps some graphs but not nessasary. i've done my own little one which simply reports hits, but i'm wondering is there a free one that is da busiess. :) anyone? ta M -- PHP General Mailing List (http:/

[PHP] Sorting Country List

2003-06-24 Thread Ralph
I am getting a list of all countries from mysql database, and then I am sorting by country name. However since most orders will be from US I want the US to appear first over the rest of the countries. How can I go about doing this? Currently, this is my query: SELECT countries_id, countries_name

RE: [PHP] Performance question

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Can someone help explain how I can perform a benchmark on the queries or |whatever? | | |Cheers, |Mun Heng, Ow |H/M Engineering |Western Digital M'sia |DID : 03-7870 5168 | | Do it many times and time it. -- Registered Linux user #304026. "lynx -sourc

Re: [PHP] PHP & Mysql Error Code 1062 - Duplicates found

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Hi PHP'ers, | | I've got a question regarding the input of (multiple) data into |mysql through PHP. | |If there is already an entry in the database, then an mysql will generate an |error 1062 stating that the entry is a duplicate. (This will happ

Re: [PHP] PHP & cached data when using browser "back" button

2003-06-24 Thread Leif K-Brooks
Ow Mun Heng wrote: Hi All, How can I prevent the browser from sending in cached data after the user pressed the 'back' button and re-inputted data. Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses the 'back' button to re-input 1 new data and then re-submits the da

Re: [PHP] Using variables from includes

2003-06-24 Thread Leif K-Brooks
Ben wrote: But how would I go about using the IF THEN statement but allowing the page to see the variables. Not sure if I know what you mean, but: if($foo == 'bar'){ include('foo.php'); } -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will

Re: [PHP] PHP & cached data when using browser "back" button

2003-06-24 Thread Jeff Harris
On Jun 25, 2003, "Ow Mun Heng" claimed that: |Hi All, | | How can I prevent the browser from sending in cached data after the |user pressed the 'back' button and re-inputted data. | |Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses |the 'back' button to re-input 1 ne

Re: Re: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread poetbox
hi, Joseph Szobody£¡ THank you!I can only use "Jennifer Goodie"'s way because as james said,my server is to old to allow the function of "strtotime()"! Thank you by any way! === 2003-06-24 22:17:00 you wrote£º=== >> date("Y-m-d",strtotime("next Saturday")); > >Th

Re: [PHP] script check/testing

2003-06-24 Thread James Hicks
Nevermind this suggestion. No idea what I was thinking. I guess it's time to go to sleep. James On Tuesday 24 June 2003 11:35 pm, James Hicks wrote: > On Tuesday 24 June 2003 11:27 pm, Jay Fitzgerald wrote: > > I seem to be having problem in the last step of this app I am trying to > > create...

Re: [PHP] script check/testing

2003-06-24 Thread James Hicks
On Tuesday 24 June 2003 11:27 pm, Jay Fitzgerald wrote: > I seem to be having problem in the last step of this app I am trying to > create...can you guys test it as thoroughly as you can and give me tips on > how to improve itit is session based but I cannot seem to get step 5 to > recognize th

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
But how would I go about using the IF THEN statement but allowing the page to see the variables. "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >How would I do this then? > > > > include('foo.php'); > > -- > The above message is encrypted with double

[PHP] script check/testing

2003-06-24 Thread Jay Fitzgerald
I seem to be having problem in the last step of this app I am trying to create...can you guys test it as thoroughly as you can and give me tips on how to improve itit is session based but I cannot seem to get step 5 to recognize the $theseat" variable. If you would like to offer help, please

Re: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread Joseph Szobody
> date("Y-m-d",strtotime("next Saturday")); That would give the Saturday for next week (2003-07-05). Try "this Saturday" or just "Saturday". date("Y-m-d",strtotime("this Saturday")); // Currently returns 2003-06-28 Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] free web host needed.

2003-06-24 Thread Joel Rees
> Perhaps the original poster should just set > up their own linux box and run it off their home cable/dsl line. Good answer, although I would recommend looking at the BSDs, too -- netBSD in particular, runs on hardware you can drag out of dumpsters. Takes a bit of work to get it all together, of

RE: [PHP] WEB HOST NEEDED!!!!!

2003-06-24 Thread PHP4 Emailer
SO let me get this straight, IF I pay 1000.00 a month, you'll "throw the pony in?" Sweet, where do I sign up!! PS, if for some unknown reason the credit card I enter doesn't work it's because I got it for free. :) -Original Message- From: erythros [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: [PHP] Performance question

2003-06-24 Thread Ow Mun Heng
Can someone help explain how I can perform a benchmark on the queries or whatever? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 1:41 AM To: Hardik Doshi; [EMAIL P

[PHP] PHP & cached data when using browser "back" button

2003-06-24 Thread Ow Mun Heng
Hi All, How can I prevent the browser from sending in cached data after the user pressed the 'back' button and re-inputted data. Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses the 'back' button to re-input 1 new data and then re-submits the data, instead of only

[PHP] PHP & Mysql Error Code 1062 - Duplicates found

2003-06-24 Thread Ow Mun Heng
Hi PHP'ers, I've got a question regarding the input of (multiple) data into mysql through PHP. If there is already an entry in the database, then an mysql will generate an error 1062 stating that the entry is a duplicate. (This will happen only if I input the data through mySQL u

Re: [PHP] MSWord attachment with mail()

2003-06-24 Thread Alberto Brea
Thanks Chris, Dorgon and Esteban for putting me back on the track. - Original Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: "Alberto Brea" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 4:34 PM Subject: Re: [PHP] MSWord attachment with mail() > At 22:57 24-

Re: [PHP] Security conundrum ....

2003-06-24 Thread Miles Thompson
Justin, Tks for your reply -- you're partially correct in how it works, and thus far I've not used session id's. Cool. Login is built into the Flash movie and calls a PHP script to authenticate, which returns appropriate success/fail data to the movie. Everything is buried in the Flash movie t

Re: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread James Hicks
On Tuesday 24 June 2003 09:18 pm, poetbox wrote: > hi, James Hicks£¡ > > echo date("Y-m-d",strtotime("next Saturday")); > ?> > I got "1970-01-01"! > Perhaps you missing give me the function strtotime(). > You must be using an old version of PHP that does not support strtotime. (PHP 3>= 3.0.12,

[PHP] generate word docs

2003-06-24 Thread Evan Nemerson
Summary: I have to create a word document on the fly. what's the best way to go about it? Okay so I have a client that would like something output to a word document. I already have HTML and PDF versions... I'm trying to figure out the best way to do this. I am already aware of the open html in

Re: Re: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread poetbox
hi, James Hicks£¡ I got "1970-01-01"! Perhaps you missing give me the function strtotime(). Hi,Jennifer Goodie, Your function is very perfect!Thank you very much,I tested it and succeed! BTW,Can you pro it in another way? I say,I got "2003-2

Re: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread James Hicks
How about date("Y-m-d",strtotime("next Saturday")); James Hicks On Tuesday 24 June 2003 08:01 pm, poetbox wrote: > hi,php-general£¬ > > We have a meeting at every Saturday,I'd like to post the news and > write the date of this Saturday every week,how can I get the date of > Saturday. For

Re: RE: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread poetbox
hi, Jennifer Goodie£¡ How quickly you are! Thank you,I'm testting now:) === 2003-06-24 17:20:00 you wrote£º=== >> We have a meeting at every Saturday,I'd like to post the >> news and write the date of this Saturday every week,how can I get >> the date of Satur

RE: [PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread Jennifer Goodie
> We have a meeting at every Saturday,I'd like to post the > news and write the date of this Saturday every week,how can I get > the date of Saturday. This has not been tested, there might be a bug. Something like that should be what you want though. -- PHP General Mailing List (http

[PHP] how to get the date of this Saturday all the time?

2003-06-24 Thread poetbox
hi,php-general£¬ We have a meeting at every Saturday,I'd like to post the news and write the date of this Saturday every week,how can I get the date of Saturday. For example,today is Monday, and today is 2003-23-06,I'd like to get the Saturday date "2003-28-06" ;If today is Friday

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
thanks a bunch "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >How would I do this then? > > > > include('foo.php'); > > -- > The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the

Re: [PHP] Using variables from includes

2003-06-24 Thread Leif K-Brooks
Ben wrote: How would I do this then? include('foo.php'); -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Re: php caches mysql connections to same host

2003-06-24 Thread Robert Cummings
See the new_link parameter option for mysql_connect. It should solve your problem. On the other hand, what you are doing is fine, I did it for my pool since I can't use the new_link option because I'm retaining compatibility back to PHP 4.1.2 Cheers, Rob. dorgon wrote: > > for better understan

[PHP] exec, passthru calling /usr/local/bin/php4 problem

2003-06-24 Thread Devin
I am currently using Apache 1.3.27, PHP 4.3.2 and our server is configured to force all users to use PHP as a script by calling #!/usr/local/bin/php at the top of each script causing suexec to control scripts. I noticed a really strange thing from one of our users. I have tested the following and

Re: [PHP] WEB HOST NEEDED!!!!!

2003-06-24 Thread erythros
he should ask for a pony too while he's at it... "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Like I said, I need a web host. It MUST support PHP, mySQl and sending emails, optional. It shouldn't have any ads (pop-ups, ads), but I will allow if it has watermar

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
How would I do this then? "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an > >if then statement that after you click a link it looks like this: > >blah?page=pagename It looks s

[PHP] Re: MSWord attachment with mail()

2003-06-24 Thread dorgon
I suggest you to use PEAR's Mail_Mime package. That class just takes you a couple of minutes to send MIME Mails with blank text + html + attachments. Alberto Brea wrote: Dear list, What header must I use to send a MSWord attachment with mail()? I have looked it up in the manual and on php.net but c

[PHP] Re: Are there any PHP functions for creating graphs and/or charts?

2003-06-24 Thread Joseph Szobody
http://www.aditus.nu/jpgraph/ Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using variables from includes

2003-06-24 Thread Leif K-Brooks
Ben wrote: Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an if then statement that after you click a link it looks like this: blah?page=pagename It looks something like this: http://www.site.com/home.php";); } else{ include ("http://www.site.com/"; . "$page" . ".php");

Re: [PHP] MSWord attachment with mail() (III)

2003-06-24 Thread Chris Hayes
throw file content in $filedata $filedata = chunk_split(base64_encode($filedata)); $type = "application/octet-stream"; $encoding = "base64"; mt_srand((double)microtime()*100); $boundary = '--b'.md5(uniqid(mt_rand())) . getmypid(); $mailbody = "From: PHP backup script by Arak

[PHP] please, php vpopmail windows

2003-06-24 Thread David D
Hi, Can someone compile vpopmail extension for me ? http://www.ionium.org/php/php_vpopmail-0.1.tar.gz I need a php_vpopmail.dll ... I have nothing for compiling this, so if someone can do easily ... Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Using variables from includes

2003-06-24 Thread Ben
Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an if then statement that after you click a link it looks like this: blah?page=pagename It looks something like this: http://www.site.com/home.php";); } else{ include ("http://www.site.com/"; . "$page" . ".php"); } ?> This co

Re: [PHP] MSWord attachment with mail()

2003-06-24 Thread Chris Hayes
oops that was for downloading... but anyway, the application/msword is worth a try At 23:34 24-6-2003, you wrote: At 22:57 24-6-2003, you wrote: Dear list, What header must I use to send a MSWord attachment with mail()? I have looked it up in the manual and on php.net but cannot find it. for a cvs

Re: [PHP] MSWord attachment with mail()

2003-06-24 Thread Chris Hayes
At 22:57 24-6-2003, you wrote: Dear list, What header must I use to send a MSWord attachment with mail()? I have looked it up in the manual and on php.net but cannot find it. for a cvs file aimed at excel i use if (strstr($_SERVER["HTTP_USER_AGENT"],"MSIE 5.5")) {$att = "";} else {$att = " attach

[PHP] Re: MSWord attachment with mail()

2003-06-24 Thread Esteban Fernandez
All the email attachment are encoded in base64. "Alberto Brea" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Dear list, > What header must I use to send a MSWord attachment with mail()? > I have looked it up in the manual and on php.net but cannot find it. > Thanks anyone, >

[PHP] MSWord attachment with mail()

2003-06-24 Thread Alberto Brea
Dear list, What header must I use to send a MSWord attachment with mail()? I have looked it up in the manual and on php.net but cannot find it. Thanks anyone, Alberto Brea http://estudiobrea.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP] ereg_replace and quotation marks

2003-06-24 Thread Paul Nowosielski
I'm trying to strip quotation marks out of user from input but it doesn't seem to work correctly. $string=ereg_replace("\"","",$string); I get a \ mark after I run a quote through the form. When I want the quote turned to nothing. Any suggestions?? Paul -- PHP General Mailing List (http:/

RE: [PHP] Session problem

2003-06-24 Thread Dan Joseph
Hi, > I have a problem with php sessions. The following code works on my home PC > but doesn't work on my office PC. What can be the problem? Its possible you have cookies turned off on your office PC. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Session problem

2003-06-24 Thread Karina S
Hello, I have a problem with php sessions. The following code works on my home PC but doesn't work on my office PC. What can be the problem? Thanks! I have 2 files: file1.php: session_stert(); $_SESSION['demo']="test"; and file2.php session_start(); echo $_SESSION['demo']; I use PHP 4.3.2.

RE: [PHP] Are there any PHP functions for creating graphs and/or charts?

2003-06-24 Thread Jay Blanchard
[snip] I just finished (finally!) with a pet project involving a database. I want to link the data through to charts and was wondering if anyone could recommend any packages I could use to create images which could be displayed dynamically within web pages. [/snip] check out jpgraph http://www.ad

[PHP] Are there any PHP functions for creating graphs and/or charts?

2003-06-24 Thread Dan Anderson
Hi, I just finished (finally!) with a pet project involving a database. I want to link the data through to charts and was wondering if anyone could recommend any packages I could use to create images which could be displayed dynamically within web pages. Thanks, Dan Anderson -- PHP General M

Re: [PHP] images..

2003-06-24 Thread Jason Wong
On Tuesday 24 June 2003 23:35, Edward Peloke wrote: > I asked this question last week and thought I had it fixed but it still > doesn't seem to work. I use the code below to allow the user to upload > their images, once uploaded the images don't look nearly as good as they > did before uploading.

[PHP] Re: php caches mysql connections to same host

2003-06-24 Thread dorgon
for better understanding: $conn1 = mysql_connect("localhost", "user", "pwd"); mysql_select_db("database1", $conn1); $conn2 = mysql_connect("localhost", "user", "pwd"); mysql_select_db("database2", $conn2); // select two diff. DBs echo $conn1.""; echo $conn2.""; returns: Resource id

Re: [PHP] Reg Exp help needed

2003-06-24 Thread Don Read
On 24-Jun-2003 Sparky Kopetzky wrote: > I'm translating (hacking) code from Perl to PHP and have two reg exp > expressions I can't figure out what they do. > > 1st: $goodbadnum =~ tr/0-9//cd; I think this one removes any chars that > are not numbers. > Nope. That removes digits '0-9' $goodbadnu

[PHP] php caches mysql connections to same host

2003-06-24 Thread dorgon
Is this a bug or a feature? I realised that php caches mysql connection even when not using persistent connections! When calling mysql_connect(...host...) twice, and not closing to first connection I get the same resource #id the first connection has. I noticed that, when writing a connectionPoo

Re: [PHP] identify not only browser, but even browser windows

2003-06-24 Thread dorgon
I thought so One solution would be not to use cookies and pass different unique ids from each window. thx dorgon Ernest E Vogelsinger wrote: At 10:58 24.06.2003, dorgon said: [snip] can cookies be stored for single browser instances (windows)? does the brow

Re: [PHP] Re: Javascript in PHP

2003-06-24 Thread [EMAIL PROTECTED]
Yeah, that's a problem! I corrected it and now it comes out like: Independent Fact Finders Inc. function CheckBox1() { var box1 = window.document.ctype.wr; var box2 = window.document.ctype.pfo; var box3 = window.document.ctype.pr; if (box1.checked == true ) { box2.checke

RE: [PHP] free web host needed.

2003-06-24 Thread Daevid Vincent
On a 'non sarcastic' note... Perhaps the original poster should just set up their own linux box and run it off their home cable/dsl line. I've been doing it for years and it works wonderfully. I'm even now a free-node on the Seattlewireless.net network for people in the hood who need a quick bit-fi

[PHP] Reg Exp help needed

2003-06-24 Thread Sparky Kopetzky
I'm translating (hacking) code from Perl to PHP and have two reg exp expressions I can't figure out what they do. 1st: $goodbadnum =~ tr/0-9//cd; I think this one removes any chars that are not numbers. 2nd: $goodbadnum =~ tr/0-9/x/; I think this one replaces and numbers with an 'x'. Right, wr

Re: [PHP] Expensive WEB HOST NEEDED!!!!!

2003-06-24 Thread Steve Magruder
Jerry M. Howell II wrote: >>> -Original Message- >>> From: Jay Blanchard [mailto:[EMAIL PROTECTED] >>> Sent: 24 June 2003 13:20 >>> To: Denis 'Alpheus' Cahuk; [EMAIL PROTECTED] >>> >>> [snip] >>> Like I said, I need a web host. >>> It MUST support PHP, mySQl and sending emails, optional. >>

RE: [PHP] calling functions in classes using text and graphic links

2003-06-24 Thread Daniel Rychlik
I see, Im still a little troubled by the problem. If I have a link on a HTML document called Search Tool How would I execute a function within my class? Is it the same answer as you gave me? So, Search Tool Is that the answer ? -Daniel -Original Message- From: Chris Sherwood [mailt

[PHP] socket_fd_alloc

2003-06-24 Thread Lucas Lain
this function disappeared on php version 4.3.1 which one is the name of the equivalent ??? TIA, -- Lucas Lain [EMAIL PROTECTED] #! /Scripting/Manager (:-P) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP parser extension?

2003-06-24 Thread Lars Torben Wilson
On Mon, 2003-06-23 at 03:21, anzenews wrote: > Hi! > > I hope this is the right newsgroup for posting this... PHP.dev doesn't seem > to be alive anymore? > > Is there some extension or anything that would allow me to hook my code to > PHP parser? Even lex and yacc for PHP would be great... Hav

[PHP] Freeing memory WAS emalloc() error being thrown {LONG} - MORE

2003-06-24 Thread Jay Blanchard
***pulling out what's left of my hair*** I have a situation where I open a new file, do a query, write to the file, close the file, and then start over again at opening a new file while looping through an array. As I do this I can watch memory resources approach 0, ultimately failing the script be

Re: [PHP] WEB HOST NEEDED!!!!!

2003-06-24 Thread Mark Tehara
http://www.futurepathsnz.com/webhosting.html Cheap hosting. http://www.aoteahosting.com/ Moew Cheap hosting Free isn't the word. Free is for scabs - Original Message - From: "Denis 'Alpheus' Cahuk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 12:09 AM Subje

[PHP] Re: return all non-tag characters

2003-06-24 Thread Pete Morganic
try http://uk2.php.net/strip_tags pete Matt Palermo wrote: I want to be able to retrieve and return all character that are not located in html tags. For example: 1234567 or 1234567 I would just like it to be equal to 1234567, but I would need it to work with any tags and attributes. Is there

Re: [PHP] calling functions in classes using text and graphic links

2003-06-24 Thread Chris Sherwood
I am not sure what you mean but if you are trying to call functions that exist within your class you need to do something like the following $fg = new YourClass.class.php; $fg->yourfunctionname($arguements); - Original Message - From: "Daniel Rychlik" <[EMAIL PROTECTED]> To: <[EMAIL PROT

[PHP] calling functions in classes using text and graphic links

2003-06-24 Thread Daniel Rychlik
Hello, I am attempting to solve a problem in PHP. My application consists of Classes and subclasses. In my Class I call certain functions that have header information and footer information displaying them in nicely formatted HTML. I have used this method because of one style sheet that all HTM

Re: [PHP] WEB HOST NEEDED!!!!!

2003-06-24 Thread Wendell Brown
On Tue, 24 Jun 2003 14:09:30 +0200, Denis 'Alpheus' Cahuk wrote: >It should be TOTALY FREE! I've got you covered. I will happily offer all of the items you request. No advertising or anything, full php, front page, mysql, 500 Meg disk space. I do charge $500 per month if you want upload privil

RE: [PHP] emalloc() error being thrown {LONG} - MORE

2003-06-24 Thread Jay Blanchard
[snip] I have STFW, RTFM taken a couple of SWAG's and still cannot come up with a solution. Is the opened file held in memory and therefore as it gets larger it approaches the memeory limit of the machine? Any insight would help...a BIG THANKS IN ADVANCE! [/snip] Ok, we have noticed more on the pr

Re: [PHP] Gd Lib PHP.4.3.2 Gentoo

2003-06-24 Thread Sancar Saran
I change system from apach2 to apache it fixed... Sancar Saran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] newbie question

2003-06-24 Thread Jay Blanchard
[snip] I just setup php on my linux box and have been messing with a tutorial, and have had some issues. The tutorial says any name=value pairs in the querystring "automatically creates a variable with the name and value the querystring indicated". This does not seem to be happening. I have in

[PHP] C-DLL in PHP!

2003-06-24 Thread macs_aut
Dear users, My apologize, but my knowledge in Internet Programming Technologies is very poor (actually it is realy very very poor). Anyway, I have a request to set up WIN CE Terminal Clients for my software product (Written in C/C++). The point is, I do not want to write the whole application on

[PHP] newbie question

2003-06-24 Thread Blake Schroeder
I just setup php on my linux box and have been messing with a tutorial, and have had some issues. The tutorial says any name=value pairs in the querystring "automatically creates a variable with the name and value the querystring indicated". This does not seem to be happening. I have installed

Re: [PHP] Encoding

2003-06-24 Thread dorgon
plase ISO-8859-2 is the one you'll need. Denis 'Alpheus' Cahuk wrote: So you don't know what encoding I should use? At 19:39 24.6.2003 +0800, you wrote: On Tuesday 24 June 2003 19:07, Denis 'Alpheus' Cahuk wrote: > My surname (Èahuk, I write it Cahuk) is writen with a C and a \/ above it.

[PHP] Re: topic_maps with php

2003-06-24 Thread dorgon
I don't know any php lib working with topic maps. Why don't you use Java for displaying too. Check out http://weblogs.medien.uni-weimar.de/topicmaps/Tools I think you will have better support for Java since it was introduced in Java. /dorgon Sebastian Mangelkramer Imac wrote: hi all together, our

[PHP] emalloc() error being thrown {LONG}

2003-06-24 Thread Jay Blanchard
Good morning! (My apologies for sending to both lists, I found emalloc() info on both PHP and MySQL that might be applicable and could not make a good call as to where this might be more appropriate) We are attempting to return a rather large file from a set of queries to MySQL via PHP. Each time

Re: [PHP] PHP parser extension?

2003-06-24 Thread Robert Cummings
I don't know that this kind of funcitonality exists, but that would be a sweet deal if it did. Cheers, Rob. anzenews wrote: > > Hi! > > I hope this is the right newsgroup for posting this... PHP.dev doesn't seem > to be alive anymore? > > Is there some extension or anything that would allow me

[PHP] images..

2003-06-24 Thread Edward Peloke
I asked this question last week and thought I had it fixed but it still doesn't seem to work. I use the code below to allow the user to upload their images, once uploaded the images don't look nearly as good as they did before uploading. Another interesting thing is that if you right click on the

Re: [PHP] free dynamic MENU

2003-06-24 Thread Jim Lucas
Check out this http://phplayersmenu.sourceforge.net Jim Lucas - Original Message - From: "David Elìas Sánchez Vásquez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 2:15 PM Subject: [PHP] free dynamic MENU > > Hi folks > > I'd like to know if you know any pag

RE: [PHP] PHP parser extension?

2003-06-24 Thread Ford, Mike [LSS]
> -Original Message- > From: anzenews [mailto:[EMAIL PROTECTED] > Sent: 23 June 2003 11:21 > > I hope this is the right newsgroup for posting this... > PHP.dev doesn't seem > to be alive anymore? It was renamed 'internals' a while ago (see http://www.php.net/mailing-lists.php). Cheers!

[PHP] Re: weird switch behaviour

2003-06-24 Thread Slava
Try it: switch($type) { case HIRE: statements; break; etc default: echo "In Default"; break; } "Cg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am testing a var in a switch statement,

[PHP] PHP parser extension?

2003-06-24 Thread anzenews
Hi! I hope this is the right newsgroup for posting this... PHP.dev doesn't seem to be alive anymore? Is there some extension or anything that would allow me to hook my code to PHP parser? Even lex and yacc for PHP would be great... What I want to do is this: lets say tou want to extract all com

Re: [PHP] my first PHP...posting in forms

2003-06-24 Thread Robert Cummings
Register globals is probably off. This is old news, keep up to date by reading hte release documents. Cheers, ROb. Wilbert Enserink wrote: > > hi All, > > I got this simple form. Input is submitted using POST to another script. In this > other script the variables/values pairs are used. > I te

Re: [PHP] Expensive WEB HOST NEEDED!!!!!

2003-06-24 Thread Jerry M. Howell II
> > -Original Message- > > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > > Sent: 24 June 2003 13:20 > > To: Denis 'Alpheus' Cahuk; [EMAIL PROTECTED] > > > > [snip] > > Like I said, I need a web host. > > It MUST support PHP, mySQl and sending emails, optional. > > It shouldn't have any a

[PHP] Re: correct encoding for emails

2003-06-24 Thread Manuel Lemos
Hello, On 06/24/2003 10:50 AM, Harry Wiens wrote: The problem is not sending or composing the email (what your class is for), but displaying all the recieved messages. Ok, you said mail handler and it was not clear if you were handling the process of sending or receiving. Btw how do i use "quot

[PHP] my first PHP...posting in forms

2003-06-24 Thread Wilbert Enserink
hi All, I got this simple form. Input is submitted using POST to another script. In this other script the variables/values pairs are used. I tested these scripts on several ISP's, no problem everything goes fine. Now I migrate the scripts to a different ISP, and voila, the input fields are not

  1   2   >