[PHP] Income on the Net!

2001-09-17 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 i

Re: [PHP] class help

2001-09-17 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 sugges

[PHP] class help

2001-09-17 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 base_dir = $base_dir; return (bool) true; } else { return (bool) false;

Re: [PHP] Stupid Cookie Question

2001-09-17 Thread Andrew Perevodchik
n1c> SetCookie("password","$password"); n1c> SetCookie("cwname","$cwname"); SetCookie("password"); SetCookie("cwnamd"); B-) -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] Stupid Cookie Question

2001-09-17 Thread nate
Sorry for having to ask this because i'm sure its a really simple answer... I set a cookie with the following... User see's a form with username and password fields. It sets whatever he inputs to cookies. Now i'm trying to figure out how to delete them! I know you can delete it if you set a

Re: [PHP] real simple regex

2001-09-17 Thread Frank M. Kromann
Take a look at http://php.net/manual/en/function.imap-rfc822-parse-adrlist.php This function will do the trick. You can also have a look at http://php.net/manual/en/function.imap-mail.php. This is an extended mail function and it works on both WIndows and *nix. - Frank > I had to write my own

Re: [PHP] include question

2001-09-17 Thread Scott
At 02:03 AM 9/18/2001 +0200, Chris Hayes wrote: > 2) let them make a real template, either a file or a database >cell, for instance > fhkhfsahehfaa[DATA1] >and do a str replace [DATA1] parts --> database content. Chris- YOU ROCK! Thank you for the thought starter, I have been beating m

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

2001-09-17 Thread hue micheal
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 ? Thanks. Huem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP] real simple regex

2001-09-17 Thread Jack Dempsey
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 regex. -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 9:32 PM To: [EMAIL PROTECTED] Subject: [PHP] rea

[PHP] real simple regex

2001-09-17 Thread Christian Dechery
I had to write my own mail() function cuz PHP's does not work in Windows very well.. But I suck at regex and I need to get the email address from the field from that can be something like: $from = "Christian Dechery <[EMAIL PROTECTED]>"; so what I want is: the string between '<' and '>' or the

[PHP] php-general님 안녕하세요.

2001-09-17 Thread 이형호
Untitled DocumentÁö¿ªÀ» °ü¸®ÇÏ½Ç ÁÖºÎÆÀÀåÀ» ÃʺùÇÕ´Ï´Ù ! ´ç»ç´Â ±èÄ¡³ÃÀå°í Àü¹®À¯Åë¾÷ü·Î¼­ °¢ Áö¿ªÀ» °ü¸®ÇÏ½Ç ÁÖºÎÆÀÀå´ÔÀ» ¸ð½Ê´Ï´Ù ÇöÀç ±èÄ¡³ÃÀå°í º¸±ÞÀ²Àº ´ëµµ½Ã°¡ 25%,Áö¹æÀº 15% ¼öÁØ¿¡ ºÒ°ú ÇÏÁö¸¸ À̹ø³âµµ ºÎÅÍ ¸¹Àº ÆÇ¸ÅÁõ°¡·Î ÀÎÇØ ³â°£ ÆÇ¸Å´ë¼ö°¡ ÀÌ¹Ì TV

[PHP] problem uploading files

2001-09-17 Thread Paul Morin
I have a problem with file uploads in php. My code seems to run fine if I am on the local area network but seems to fail when I try from the outside. My server seems to time out. I suspect that the problem could be with the firewall but am unsure. I have php_safe directive off in the php.ini fi

Re: [PHP] chewing up apache logs

2001-09-17 Thread Andrew Brampton
I've not used webalizer, but I do use awstats for my site, its only a small little script but its cool get from http://awstats.sourceforge.net/ Also I use the free stat4all.com hitcounter thingy on my site, and it produces pretty damn detailed reports for you... click the little blue circle on th

[PHP] regular expression help

2001-09-17 Thread Justin French
hi all, I have some user-supplied text on a content driven site. I am allowing tags inside the main text, BUT I want any links to external sites (not on the chosen domain) to include a ' TARGET="_new" ' element. So, http://www.mydomain.com/mypage.php";>something is fine http://www.yourdoma

[PHP] html anchors and form variables again

2001-09-17 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 the

Re: [PHP] rtrim bug?

2001-09-17 Thread David Robley
On Tue, 18 Sep 2001 05:19, Kevin Way wrote: > I'm getting some really unexpected rtrim behaviour, which I believe is > a bug. > > echo 'X' . rtrim('foo bar ') . 'X'; > > this gives 'Xfoo barX' as one would expect. > > echo 'X' . rtrim('foo bar ', ' ') . 'X'; > > this gives 'XX' as the result. > >

[PHP] Newbie needs help with file uploads

2001-09-17 Thread Paul Morin
I am having difficulty with supporting file uploads from remote domains. I currently am able to upload files if I am on my local area network to the apache server but when I try from another network, the brower times out and comes back with a cannot find server. I suspect either my apache/php co

[PHP] chewing up apache logs

2001-09-17 Thread Justin French
Greetings, 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've been looking around for something I can use (preferably in PHP) which I can run on

Re: [PHP] Script that logons and grabs some pages (while beeingauthenticated)

2001-09-17 Thread Chris Hayes
hi, if you are just doing it to read emails my first idea is: get some email program and make a pop connection. Then you can email offline fine. (duh) But that can hardly be the reason for you to want to do this. If it is to read email, there is a POP class around, by Manuel Lemos, 1999. Wit

Re: [PHP] Get the beginning array number

2001-09-17 Thread Jason Bell
try this, untested, on the fly type solution. :) foreach ($array as $key => $value) { if (strlen($value) > 0) { $FirstWithValue = $key; break; } } Now, $FirstWithValue should hold the key of the first element, so you could then use $array[$FirstWithValue] if yo

[PHP] Get the beginning array number

2001-09-17 Thread Brandon Orther
Hello, I have an array sent to my script that starts at different numbers each time. Here is an example $array[5] through $array[23] will have values but [0]-[4] will not. Is there a way for me to find the first element of an array with a value? Thank you,

[PHP] Old version of GD or a patch

2001-09-17 Thread Ben Quinn
Hi all Does anyone know where i can pick up an old version of GD? preferably V 1.5 - 1.6.2 . I'm planning to use it locally (i don't run a hosting service, i simply want to perform operations on GIF files for local use) and i'm based in Australia - from what i've read so far the problems with th

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

2001-09-17 Thread Frank M. Kromann
Hi Eric, You can use COM in PHP if your scripts run on Windows 32. You can also use Java clases directly from yor php scripts. - Frank > What is PHP's equivalent to ASP/COM or JSP/EJB? Basically, I want to get an > idea of what methods there are of having multi tier development in PHP. Any >

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

2001-09-17 Thread Lic. Rodolfo Gonzalez Gonzalez
Hello, I have a problem with ereg: following the example from the documentation (see the ereg page in the manual), I'm using it to parse a -MM-DD date and get DD-MM-, but with well formed -MM-DD it doesn't match!. Is this a bug?. Regards, Rodolfo. php-4.0.8-dev (maybe the problem i

[PHP] Applying the memory-limit patch

2001-09-17 Thread Gaylen Fraley
I've looked for instructions on this but have been unable to find them. How do you apply the memory-limit patch for 4.0.6 on Windows? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.1 Guestbook http://www.gaylenandmargie.com/publicscripts -- PHP General Mailing List

RE: [PHP] Help with database queries

2001-09-17 Thread Luboslav Gabal ml.
- Pôvodná správa - Od: "Luboslav Gabal ml." <[EMAIL PROTECTED]> Komu: "Daniel Alsén" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Odoslané: 17. zárí 2001 23:39 Predmet: RE: [PHP] Help with database queries > > Hi, > > > > need some help with the code below. I am thinking of reusing th

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

2001-09-17 Thread Lic. Rodolfo Gonzalez Gonzalez
Hello, I have a problem with sessions: I have php with sessions autostarting, compiled with transid support. I have a homepage with a link to another page protected via Apache's htaccess. Well, the href's in the homepage get the correct SID=, then I click the link, I give login and password, Apac

RE: [PHP] NEED HELP: select box repeat

2001-09-17 Thread Luboslav Gabal ml.
> OK I am trying to write a script that will bring data out of a database into > a select box. But what I need it to do is repeat 5 times or more depending > on what it brings out. I can only get it to display one select box. Here is > what I got so far: > > require 'common.inc'; > // Connect to

RE: [PHP] Counting

2001-09-17 Thread Luboslav Gabal ml.
> I'm using php/mysql. I want to be able to count the number of records that > match something. > I've used mysql_num_rows() and it does work, but is there a better way? > Something like COUNT(*)? I've tried to use it, but all I get is Resource ID > #1 or something similar. Any ideas for the best

RE: [PHP] Help with database queries

2001-09-17 Thread Luboslav Gabal ml.
> Hi, > > need some help with the code below. I am thinking of reusing this for > building a thumbnail gallery from a database. > > First, is the code actually good? Do i do something that will slow down the > responses? > > Second, can anyone help me with a code sample to implement that will limi

[PHP] include question

2001-09-17 Thread Scott
Hello everyone- I am working on a project where a client can upload a template into a database table and manage it. The actual HTML code and dynamic code will be in the template as well. My hope is to build the page using an include that will echo the code to the page and then also fill in the

[PHP] freetds problem???

2001-09-17 Thread Marcos Mathias
Hey people! Someone can help a newbie in php please?? I have a php program running under linux Suse 7.1 and Apache 1.3.19 that connects into a Sql server 7 under win2k using the freetds and iodbc 3.0.5 to connect. I'm having some problems that i could not understand. I hope someone can help me.

[PHP] ftp in PHP4

2001-09-17 Thread Chesley A Windon
I need to have web based ftp capabilities for a site I am working on. My development server is running RedHat 7.1 and php-4.0.4, and I did compile php with the --enable-ftp switch. After reading the docs at php.net, I found a "canned" script (http://www.php.net/manual/en/ref.ftp.php) that I t

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

2001-09-17 Thread Sterling Hughes
On Mon, 17 Sep 2001, Eric Lebetsamer wrote: > What is PHP's equivalent to ASP/COM or JSP/EJB? Basically, I want to get an > idea of what methods there are of having multi tier development in PHP. Any > information or links are appreciated. > Not that PHP needs an equivalent, but... PHP sup

[PHP] What is PHP's equivalent?

2001-09-17 Thread Eric Lebetsamer
What is PHP's equivalent to ASP/COM or JSP/EJB? Basically, I want to get an idea of what methods there are of having multi tier development in PHP. Any information or links are appreciated. Thanks, Eric Lebetsamer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Alexander Skwar
So sprach »Kyle Smith« am 2001-09-17 um 17:04:15 -0700 : > please someone please! ive been through the manual and i dont know anywhere > else to look so someone please gimme a kick in the right direction? well, read the manual php.net/mail 3rd comment Alexander Skwar -- How to quote: http://

[PHP] rtrim bug?

2001-09-17 Thread Kevin Way
I'm getting some really unexpected rtrim behaviour, which I believe is a bug. echo 'X' . rtrim('foo bar ') . 'X'; this gives 'Xfoo barX' as one would expect. echo 'X' . rtrim('foo bar ', ' ') . 'X'; this gives 'XX' as the result. i'm using php-4.0.6. Am I misunderstanding something horribly,

Re: [PHP] mySQL tutorials?

2001-09-17 Thread B. van Ouwerkerk
>Are there any tutorials that teach you from scratch for mySQL connections >with php and using php-myADMIN? www.php.net click on links. www.devshed.com is one of the best.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Counting

2001-09-17 Thread Jack Dempsey
why not use it in your sql? select count(*) from table where foo='bar'; -Original Message- From: Max Mouse [mailto:[EMAIL PROTECTED]] Sent: Monday, September 17, 2001 5:22 PM To: php forum Subject: [PHP] Counting I'm using php/mysql. I want to be able to count the number of records tha

[PHP] Server API - what is the difference please?

2001-09-17 Thread Pete Hawkes
Hello, Sorry to bother you, I have just installed PHP4 because I am just starting to learn the language. I ran the .exe file from a Flash book CD ROM, version 4.0.4pl1. What is the difference between the CGI and the ISAPI installation? I am running Windows 98SE with PWS, does the fact that my ins

[PHP] NEED HELP: select box repeat

2001-09-17 Thread Brian Lee
OK I am trying to write a script that will bring data out of a database into a select box. But what I need it to do is repeat 5 times or more depending on what it brings out. I can only get it to display one select box. Here is what I got so far: Flavors Select "> Please HE

RE: [PHP] dynamic menu possible?

2001-09-17 Thread Sitkei Pál
Your wanted solution is seen in the "phpXML" demo, by Michael P. Mehl. It is founded at the http://www.phpxml.org/. Try the exciting "xpath" example! > -Original Message- > From: LRW [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 16, 2001 4:24 PM > To: [EMAIL PROTECTED] > Subject: [

[PHP] Counting

2001-09-17 Thread Max Mouse
I'm using php/mysql. I want to be able to count the number of records that match something. I've used mysql_num_rows() and it does work, but is there a better way? Something like COUNT(*)? I've tried to use it, but all I get is Resource ID #1 or something similar. Any ideas for the best way to do

[PHP] Image Edit Uploading Problem.

2001-09-17 Thread Michael O'Neal
Hi, I'm creating a PHP/MySQL photo gallery app and I'm having problem with my "edit" page. I want the user to be able to change any of the fields in the record. In this case there are two text fields, and two "file" fields where they can browse to replace the images that are currently in the da

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Girish Nath
Hi It works fine, i've been using it for ages. The manual says : bool mail (string to, string subject, string message [, string additional_headers]) The newline thing is present in the [additional_headers] section so you can set optional headers. The final optional headers then look like this :

[PHP] Getting data over https?

2001-09-17 Thread Ville Mattila
Hi there, Is there a way to get data over https-protocol as can be done with file("http://www.pilotmedia.fi/";) -function with normal http-protocol? Or some other way? - Ville . Ville Mattila Ikaalinen, Finland [EMAIL PROTECTED]

[PHP] Help with database queries

2001-09-17 Thread Daniel Alsén
Hi, need some help with the code below. I am thinking of reusing this for building a thumbnail gallery from a database. First, is the code actually good? Do i do something that will slow down the responses? Second, can anyone help me with a code sample to implement that will limit how many reco

Re: [PHP] form handling problem

2001-09-17 Thread Alexander Deruwe
On Monday 17 September 2001 15:24, you wrote: > Well, > > > > always works fine for me. > > Note that you should use "action" instead of "target", and the semicolon > after $PHP_SELF should be inside the ?> not outside of it... might be one > of these two errors causing the problem (although I ca

Re: [PHP] Code Speed & Optimization

2001-09-17 Thread Andreas Gietl
On Monday 17 September 2001 19:31, Tom Carter wrote: Those caches cache the scripts in compiled form, so they don't need to be parsed and compiled again. This makes them speed up the scripts. They usually don't inflict the programming. But some of them are picky with some kind of "bad" code. J

Re: [PHP] Code Speed & Optimization

2001-09-17 Thread Tom Carter
The question really for me is this...are they caches of results? in other words, slightly old information? Or can they still be used in the same way as a "raw" script and still be improved? - Original Message - From: "Andreas Gietl" <[EMAIL PROTECTED]> To: "Alex Ranaldi" <[EMAIL PROTECTED

Re: [PHP] Code Speed & Optimization

2001-09-17 Thread Andreas Gietl
On Monday 17 September 2001 18:32, Alex Ranaldi wrote: i just gonna quote Yasuo Ohgaki who posted this morning: There are sevral cache modules. These are cache modules that I know. - Alternative PHP Cache (APC): http://apc.communityconnect.com/ - AfterBuaner Cache (bwcache) : http://bwcache

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

2001-09-17 Thread Alawi Albaity
how can i show my record to user to view it five record by fifve record by click link __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ -- PHP Gener

[PHP] Code Speed & Optimization

2001-09-17 Thread Alex Ranaldi
Hello Everyone, My PHP-based website is beginning to get a bit slow. I'm wondering if anyone knows of any specific code optimizations that can be done to improve the general performance. I'm not running Zend Optimizer right now but I have plans to install it soon, hopefully it'll help. If anyone

[PHP] Code Speed & Optimization

2001-09-17 Thread Alex Ranaldi
Hello Everyone, My PHP-based website is beginning to get a bit slow. I'm wondering if anyone knows of any specific code optimizations that can be done to improve the general performance. I'm not running Zend Optimizer right now but I have plans to install it soon, hopefully it'll help. If anyone

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Girish Nath
Hi mail("[EMAIL PROTECTED]", "My Subject", "My Message", "From: [EMAIL PROTECTED]\nReply-To: [EMAIL PROTECTED]\nX-Mailer: PHP/" . phpversion()); Regards Girish - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 18, 2001 1:0

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Jason Bell
Here is how I send email, please note the From, and X-Sender line: $recipient .= "$recipient"; $subject = "$SubjectLine"; $message .= "$YourMessageHere"; $message .= "$More MessageHere"; $headers .= "From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>\n"; $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; $h

[PHP] mySQL tutorials + PHP

2001-09-17 Thread Aniceto Lopez
Building a Database-Driven Web Site Using PHP and MySQL http://www.mysql.com/articles/ddws/index.html is this what you are looking for? Aniceto Lopez www.laMundial.net download and spread our music -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] mySQL tutorials?

2001-09-17 Thread Kyle Smith
Are there any tutorials that teach you from scratch for mySQL connections with php and using php-myADMIN? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Kyle Smith
please someone please! ive been through the manual and i dont know anywhere else to look so someone please gimme a kick in the right direction? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message

RE: [PHP] Performance: PHP vs. Visual Basic

2001-09-17 Thread Matthew Loff
Thanks for the clarification... Anyone have any benchmarks of the MySQL ODBC driver? Just out of curiousity... --Matt -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, September 17, 2001 9:47 AM To: Matthew Loff; 'Michael Kimsal'; 'Masami Kawakami' Cc: 'p

Re: [PHP] Handling sessions between servers?

2001-09-17 Thread mark Charette
NFS as a rule is a bad idea - there's a stateless protocol involved (you don't know if the server is up or down unless you actually try to write), the lockd for NFS incurs yet another set of communications, and it's not very robust for this kind of thing (no replication for failovers). A database

RE: [PHP] Handling sessions between servers?

2001-09-17 Thread Hoover, Josh
You can use NFS shares, but I've read that it is too slow for most situations. My suggestion would be to use a database and use a custom PHP session handler. A really good tutorial (including working code) on how to write custom PHP session handlers utilizing a database can be found at the follo

[PHP] Handling sessions between servers?

2001-09-17 Thread Michael Champagne
Is it possible to handle sessions with PHP between separate web servers? We have 2 Apache servers and would like to share session data between them. If we keep the session data on an NFS mounted drive -- will this work? Would it be better to write custom session handlers to store session data i

RE: [PHP] form handling problem

2001-09-17 Thread Jon Haworth
Well, always works fine for me. Note that you should use "action" instead of "target", and the semicolon after $PHP_SELF should be inside the ?> not outside of it... might be one of these two errors causing the problem (although I can't think why) Cheers Jon -Original Message- Fro

Re: [PHP] Re: How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz
Hmmm, thank you but this: Fatal error: Call to undefined function: imap_8bit() seems to show me that my php has no imap support :-/ So, is there another way? Best regards Stefan Rusterholz - Original Message - From: "Martin Pavlas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mo

[PHP] Re: How to ENCODE quoted_printable

2001-09-17 Thread Martin Pavlas
HI, > I'm searching for an easy and 100% correctly working way to encode some text in >quoted_printable. > PHP has an easy and handy function for decoding quoted_printable, but unfortunately >there doesn't seem to be an encoding function. > I saw that someone has written such a function in the

[PHP] form handling problem

2001-09-17 Thread Nikola Veber
Hi ! I have a form Is there a way to open PHP_SELF in the same window, not in the new one ? Thanks Nikola -- 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

[PHP] How to ENCODE quoted_printable

2001-09-17 Thread Stefan Rusterholz
Hello there! I'm searching for an easy and 100% correctly working way to encode some text in quoted_printable. PHP has an easy and handy function for decoding quoted_printable, but unfortunately there doesn't seem to be an encoding function. I saw that someone has written such a function in the

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

2001-09-17 Thread Jeff Lewis
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 looked like this: #!/usr/bin/perl use CGI::Carp qw(fatal

[PHP] Re: EXTRACTING URL FROM A FILE

2001-09-17 Thread _lallous
your regexp won't work...you have to change it! cause a quick look to yahoo's index page: Photos - Domain Registration - see?! I made this regexp which is partially working: $re = "/]*>(.+?)<\/a>/is"; "Chinmay Varma" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] imap

2001-09-17 Thread Andrew Perevodchik
Is there and "legal" way to extract content-type ant content-transfer-encodding values from message header (maybe by imap_ functions)? Or I should try to invent regexp, which would deal with these multiline values? If so, which regexp would grab content-type value correctly: MIME-Version: 1.0 X-M

[PHP] searching trought multiple tables

2001-09-17 Thread Daniel Masur
i have a mysql database with 100 entrys in 3 tables. i need to search trought them, but if i search for 'a' in all tables, i get 5000 results... 70 results are the same. heres my code: $sql_find=" SELECT mieter.miet_name, mieter.cat_id, mieter.id, mieter.miet_beschreibung, cat.cat_name, ev

Re: [PHP] Re: Compiling php like C

2001-09-17 Thread Webmaster Lexel
You can make an "compiled file" with a program like zend optimiser etc... because it pre-compile your script to increase the the rapidity and the disponibility. so look at www.zend.net c you Andrew Perevodchik wrote: Has anyone done this to date?? I was thinking of compiling my programs for

[PHP] Expect Like Function

2001-09-17 Thread Ninety-Nine Ways To Die
Are there any expect like functions to PHP? If not are they in development? Something to say, log into a server via telnet, ftp, ssh, etc.. do something like cat a bunch of files, perform some actions, clean and remove files.. etc.. then logout... Make a difference, help support the relief e

[PHP] Script that logons and grabs some pages (while beeing authenticated)

2001-09-17 Thread _lallous
Hello I wonder if this can be done via a PHP script: 1)Goto mail.yahoo.com 2)Authenticate (submit username and password) 3)proceed to next screen and grab the inbox page (which shows the messages headers) 4)Log out I know how I can post data, but I wonder how I can keep my script authentic

RE: [PHP] Performance: PHP vs. Visual Basic

2001-09-17 Thread Andrew Hill
ODBC isn's slow, but some ODBC drivers are. Comparison test if you have performance issues. ODBC can be faster than native. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers > --

Re: [PHP] Re: Compiling php like C

2001-09-17 Thread Yasuo Ohgaki
Andrew Perevodchik wrote: >>>Has anyone done this to date?? I was thinking >>>of compiling my programs for better perfomance, >>>and of course, protect the source code. Anyone >>>have any ideas on this issue? >>> > > Another question: is it possible to compile PHP > script in COM or EXE file? >

[PHP] R: [PHP] SMS with php

2001-09-17 Thread Stefano Baronio
> for those who are interested there is a good wap/sms server, > open source and > generally funky kannel (kannel.3glabs.org) > > It's all you need to server wap, but sms does requrie a > contract (=cost > money) with a service centre Yes, but if you don't have a lot of traffic you can use a

Re: [PHP] dynamic menu possible?

2001-09-17 Thread Nikola Veber
Whell, you could use that php script for getting file names and put links toward those files in a layer, which can be controled with java. If you are not a java expert, you can do it with macromedia dreamweaver + extensions. I don't know java, but I made a layer based site at http://www.okspar

[PHP] Problem assigning url like path/script.php/argument

2001-09-17 Thread pierre-yves
Hello, I am trying to use a URL like path/script.php/argument and later retrieve argument using $PATH_INFO. The problem is that all image on my page are broken and the css and javascript file are not found when I use an URL like this. Any idea why ? py p.s. I am trying to avoid ?arg=value on t

Re: [PHP] SMS with php

2001-09-17 Thread nico_oreka
I personnaly provide SMS sending from my site, see under, but I awfully leeched it from www.exoset.com It works well, but there are ads . (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Tom Carter <[EMAIL PROTECTED

Re: [PHP] recognize the URL

2001-09-17 Thread David Otton
On Mon, 17 Sep 2001 12:08:31 +0300, you wrote: >i have a html form and it is posted a php script. but how can i >recognize the url that only posted from my html file? Simple answer: $HTTP_REFERER Complicated answer: You can't. Not reliably, anyway. http://www.php.net/manual/en/language.variab

Re: [PHP] SMS with php

2001-09-17 Thread Tom Carter
for those who are interested there is a good wap/sms server, open source and generally funky kannel (kannel.3glabs.org) It's all you need to server wap, but sms does requrie a contract (=cost money) with a service centre - Original Message - From: "Tom Carter" <[EMAIL PROTECTED]> To:

Re: [PHP] For the RegExps gurus!

2001-09-17 Thread
Ehhh... hai! I've been away on vacation, so it's a bit late, but anyway... > You didn't. Actually please expose - tell i tell i:). I am all ears:) I meant I improved my own versions, not you're version. That's why you can't find the improvement on you're code. If that's what you meant... > ?

Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar
So sprach »biscut« am 2001-09-16 um 20:07:23 +0100 : > you would simply have the following: > > blah1 > blah2 > blah3 Of course I was thinking about checkboxes Nevermind :) Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: h

Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar
So sprach »Nikola Veber« am 2001-09-17 um 08:48:17 +0200 : > How am I suposed to handle multiple buttons(what should I change, name or the > value?) Make it an array: One Two In your PHP script, you can then easily parse the $radios array. Alexander Skwar -- How to quote: http://learn.to/q

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Alexander Skwar
So sprach »Kyle Smith« am 2001-09-16 um 21:09:10 -0700 : > Can someone please show me how to change the reply address in the mail function (and >the from address) cause i have a script im making for a mailing list and the script >in the manual doesnt work cause it has loads of different code asw

Re: [PHP] PHP Web Base Email

2001-09-17 Thread Alexander Skwar
So sprach »Sall Him« am 2001-09-10 um 12:17:54 +0800 : > Hi All > > Does anyone know is there any web base email system which is written in > PHP? imp -> http://horde.org Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www

RE: [PHP] Re: MySQL query error

2001-09-17 Thread Niklas Lampén
:) It just started to work. World's a strange place. Maybe someone was doing something to the server/php/mysql, dunno. Niklas -Original Message- From: _lallous [mailto:[EMAIL PROTECTED]] Sent: 17. syyskuuta 2001 15:03 To: [EMAIL PROTECTED] Subject: [PHP] Re: MySQL query error > mysql

[PHP] Re: MySQL query error

2001-09-17 Thread _lallous
> mysql_quory($Query); typos i can't also see more errors... "Niklas lampén" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Code: > $Query = "UPDATE feRegUsers SET Constructor='2001-09-17', > Enertec='2001-09-17', Seatec='2001-09-17' WHERE ID LIKE '288'"

[PHP] Re: FOPEN remote problems..

2001-09-17 Thread _lallous
I tried to get it via CURL but i failed, here's the output: * Connected to www.800.com (216.88.211.1) > GET /prod.asp?P=5261 HTTP/1.1 User-Agent: curl/7.8 (win32) libcurl 7.8 Host: www.800.com Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* * Closing live connecti

[PHP] R: multiple selections in list/menu field

2001-09-17 Thread ---
i don't know if it will work, but try to use x[rec_pd4][] as select name and remember that x[rec_pd4] will result as an array, not a string!! instead of ==, you can use the in_array function to check if a value is in the array... Federico [EMAIL PROTECTED] ---

[PHP] R: Login in https, site in http problem

2001-09-17 Thread ---
Check if the browser transmit the Session ID in the first http connection, and if the SID transmitted in https is equal to the SID transmitted in http... it's possible that turning https to http cause that php think that it's another domain... Look at the settings in php.ini or use ini_alter func

[PHP] Re: Download a file with PHP

2001-09-17 Thread _lallous
Very simple, you can use functions like this to copy file from an HTTP server to your local harddrive: function my_copyfile($src, $dest) { if (!$fp = fopen($src, "rb")) return; $fpo = fopen($dest, "wb"); while (!feof($fp)) { $t = fread($fp, 4096); fwrite($fp

[PHP] Re: Overriding PHP build-in functions

2001-09-17 Thread _lallous
You have two ways: 1)Recompile PHP (as it comes with source code) and put your decryption functions just after the reading of the .PHP and before getting it parsed. 2)If you want to do a windows solution w/o modifying source code then you have to hack into the PHP code and add your new functions

Re: [PHP] SMS with php

2001-09-17 Thread Tom Carter
Thats the standard, but because of the other systems involved in delivering msgs then I don't think it possible just to do that without the co-operation of a third party smsc. I really hope I'm wrong tho... - Original Message - From: "nico_oreka" <[EMAIL PROTECTED]> To: "Tom Carter" <[EMA

[PHP] EXTRACTING URL FROM A FILE

2001-09-17 Thread chinmay varma
Hi all, The following is a sample code I try to extract URL from a Web Page.Its not finding any match.Any idia why ? Kindly let me know. Thanks to all. chinmay. *** $fp = fopen('http://yahoo.com/','r') or die ("Cannot connect"); while($line

Re: [PHP] SMS with php

2001-09-17 Thread nico_oreka
http://www.ietf.org/rfc/rfc1568.txt?number=1568 maybe something can be done with that (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Tom Carter <[EMAIL PROTECTED]> To: Lewis Bergman <[EMAIL PROTECTED]>; <[EMAIL

[PHP] recognize the URL

2001-09-17 Thread Murat
hi, i have a html form and it is posted a php script. but how can i recognize the url that only posted from my html file? thanks -- 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 a

Re: [PHP] SMS with php

2001-09-17 Thread Tom Carter
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? Is this so? - Original Message - From: "Lewis Bergman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sen

  1   2   >