[PHP] Re: Expert Paid Help Needed

2002-11-19 Thread Jome
> I have been working on a program and have come up to a block. A lot of > people on the PHP list have been able to help me for free already. But > what I have left to do would probably be to much to ask for someone to do > for free. Are their any EXPERT PHP (with MySQL) programers out there tha

RE: [PHP] Capturing multiple select with Javascript - nearly there

2002-11-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Phoebe Bright [mailto:[EMAIL PROTECTED]] > Sent: 19 November 2002 14:20 > > My remaining problem is that the array that PHP sees only > has the final > few characters of the values it should have. > > This is the result of print_r after selecting two items

Re: [PHP] OOP - transfering object-pointer

2002-11-19 Thread Hatem Ben
It wrks okay here; I guess i'm keeping register_global= On in php.ini ! Try debuging your sample using get_declared_classes and you'll find what you're missing class overall { var $loaded; function load($class){ eval ("global \$$class;"); eval("\$$class = new $class;"); print_r(get_declared_

[PHP] test

2002-11-19 Thread shi ziye
not sure how to post, sorry! _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Are objects considered global or do they need registered in a session?

2002-11-19 Thread Phil Schwarzmann
When declaring a new object ( $obj=new Something; ), do they need to be then registered in a session ( session_register("obj"); ) if you want to use them for a different script?

[PHP] Expert Paid Help Needed

2002-11-19 Thread Steve Buehler
I have been working on a program and have come up to a block. A lot of people on the PHP list have been able to help me for free already. But what I have left to do would probably be to much to ask for someone to do for free. Are their any EXPERT PHP (with MySQL) programers out there that wo

Re: [PHP] date

2002-11-19 Thread 1LT John W. Holmes
> I am pulling from a datetime field in mysql. The actual data looks like > this: 2002-11-30 00:00:00 When I output the data to the page, I want it to > appear as 11/30/2002. I want to use a php date format. I do not want it > formatted as it comes out of the db. But date("m/d/y", $myrow[depart

Re: [PHP] date

2002-11-19 Thread Support @ Fourthrealm.com
Eddie, This is a function that I wrote to handle this same situation: # --- Function to format date output --- function makedate($format, $indate) { $temp = explode("-", $indate); $fulldate = mktime(0, 0, 0, $temp[1], $temp[2], $temp[0]);

[PHP] date

2002-11-19 Thread Edward Peloke
I am pulling from a datetime field in mysql. The actual data looks like this: 2002-11-30 00:00:00 When I output the data to the page, I want it to appear as 11/30/2002. I want to use a php date format. I do not want it formatted as it comes out of the db. But date("m/d/y", $myrow[departdate]) r

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread 1LT John W. Holmes
WOOP-DE-DO... ---John Holmes... - Original Message - From: "shi ziye" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 9:39 AM Subject: Re: [PHP] New generation of PHP Program, reaction to ASP.NET > I want hackers to help me to finish the

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread shi ziye
I want hackers to help me to finish the whole project!!! It is only the begining. and it will change our web programing method Goto www.shiziye.net/woop to see more! Mail to [EMAIL PROTECTED] if you want to help me. Is there a question in here somewhere? What do you need help with? ---John Holme

Re: [PHP] which PHP debugger?

2002-11-19 Thread Adam Voigt
Actually, I belive you can set breakpoints and step through code with Zend Studio. (Free download for personal use). http://www.zend.com On Tue, 2002-11-19 at 04:35, [EMAIL PROTECTED] wrote: > h... > I *think* PHP is platform independant for the most part, and it is not like it > is a compi

Re: [PHP] which PHP debugger?

2002-11-19 Thread bbonkosk
h... I *think* PHP is platform independant for the most part, and it is not like it is a compiled language where you have fancy debuggers to set breakpoints, step through the code, etc... Why not use the functions built into PHP? echo " "; if a mysql problem: mysql_error() -Brad > Hi all,

Re: [PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread 1LT John W. Holmes
Is there a question in here somewhere? What do you need help with? ---John Holmes... - Original Message - From: "shi ziye" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 9:20 AM Subject: [PHP] New generation of PHP Program, reaction to ASP.NET > WOOP (Web O

[PHP] which PHP debugger?

2002-11-19 Thread Otakar Kverka
Hi all, please which PHP debugger is the "best one"? (fast keyboard commands, variables, includes, reliability etc.). Which PHP debugger works well under Windows, which under Linux? thanks... --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze

[PHP] New generation of PHP Program, reaction to ASP.NET

2002-11-19 Thread shi ziye
WOOP (Web Object Of Php) Have you write PHP program like this ? // begin class TForm extends System_UI_Form { function init() { $this->label1 = & new System_UI_Label("label1", &$this); $this->button1 = & new System_UI_Button("button1", &$this); $this->button2 = & new System_UI_Button("butt

[PHP] Capturing multiple select with Javascript - nearly there

2002-11-19 Thread Phoebe Bright
I want to use Javascript to move items from a source list to a destination list and then PHP to retrieve the items in the destination list. After much head bashing and pointers from various forum archives I am nearly there! Can anyone help me? My remaining problem is that the array that PHP

[PHP] about processing time of function INCLUDE

2002-11-19 Thread Bryan
Is it will increase the processing time when too many "include" process in a program? Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] about processing time of function INCLUDE

2002-11-19 Thread Bryan
Is it will increase the processing time when too many "include" process in a program? Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] test

2002-11-19 Thread shi ziye
test post only _ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Has anyone used O'Reilly's "Safari" online book thingyfor PHP/MySQL?

2002-11-19 Thread Jason Sheets
I'm currently subsribed to Oreilly's Safari. I find it very useful for coming up to speed quickly but even though the complete book is available online it is still no replacement for a hard copy of a book. I usually read the book online then buy it if I like it. I have not read any of the MySQL

Re: [PHP] Free MySQL Hosting :)

2002-11-19 Thread Adam Voigt
Dude, you rock, way to give to the community. On Tue, 2002-11-19 at 08:34, PHP Mailing List wrote: > As a project I'm working on that will later manifest into something more, > I'm offering free MySQL hosting on one of my servers. Just enter the > desired username and password, and 3 databases w

[PHP] catching a robot or spider

2002-11-19 Thread Wilbert Enserink
Hi all, does anybody know a way to make a distinction between robots and users? should I use the user agent? Or is this not a safe method. If the visitor is a spider/robot I want to include some script containing extra URL's for the robot. regards Wilbert - Pas de Deux

Re: [PHP] How I Got PHP4.2.2, Apache 2.0, mySQL and RedHat 8.0 towork

2002-11-19 Thread Adam Williams
Not to burst your bubble, but I'have had all of this working since the day RedHat 8.0 was released. Though I compiled everything by hand instead of using RedHat's RPMs. Just read the comments on php.net under the apache/unix install and did what they said to add to httpd.conf for PHP.

[PHP] New Site to submit your scripts to..

2002-11-19 Thread PHP Mailing List
I've recently finished creating a Script Index (almost identical to HotScripts) for people to submit their PHP (and Perl) scripts. The database right now is over 7,000 (both PHP and Perl), but only because I've collected the data from other sites. If you have a script, I ask of you to submit it

[PHP] Re: Distance Based on Zip Code

2002-11-19 Thread UberGoober
Another resource to check out: http://www.onlamp.com/pub/a/php/2002/11/07/php_map.html "Vernon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know how I can set something up that tells the distance between > one Zip Code and another? I'm needing t

[PHP] Free MySQL Hosting :)

2002-11-19 Thread PHP Mailing List
As a project I'm working on that will later manifest into something more, I'm offering free MySQL hosting on one of my servers. Just enter the desired username and password, and 3 databases will be created for you to use from your PHP scripts. The info you'll need to connect to the MySQL server

Re: Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Marek Kilimajer
Your function seems to return string before first occurence of '*'. This should be faster: function conte($string) { return substr($string,0,strrpos($string,'*')); } Tristan Carron wrote: - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Tristan Carron" <[EMAIL PROT

Re: [PHP] New commercial software needs beta testers

2002-11-19 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hmmI hope you're happy cause you certainly gave Intravative Software a bad public image. I wouldn't buy/try betas from your company for NOTHING ~Paul On Wednesday 13 November 2002 05:14 pm, Jeremy Wilson wrote: > Well fine... by reading a bun

[PHP] Misbehaved Script...

2002-11-19 Thread Kondwani Spike Mkandawire
Hi folks: Have any of you guys encountered the following error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My Scripts that require user interaction and self modification often encounter this. I have no clue

Re: [PHP] is this not possible?

2002-11-19 Thread Mark
I'd say you've already determined the simplest way to do it. When the page is generated by PHP, have it insert the necessary data into appropriate places in a javascript function. When a user clicks the 'recharge' button, they are prompted for the amount they wish to use to recharge, and then ar

Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Tristan Carron
- Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Tristan Carron" <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 12:23 PM Subject: Re: [PHP] Loonng > You should post this to the list, not me direct :) > > Justin > > > on 19/11/02 10:10 PM,

[PHP] Have fun! 3 Days for free! or for one month! every day 24 hours!

2002-11-19 Thread hotstuff
Show this line! http://www.tgpfriendly2.com/members/switzerland/pussyline/ it\'s an switzerline Have fun! Days for free! http://www.tgpfriendly2.com/members/switzerland/pussyline/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post files array and registered globals off

2002-11-19 Thread Marek Kilimajer
Sorry, now I noticed I forgot to add [$i]: if(!$_FILES['photo']['tmp_name'][$i]) break; Marek Kilimajer wrote: you need to do it another way, e.g.: for($i=0; $i < MAX_FILES; $i++) { if(!$_FILES['photo']['tmp_name']) break; ... now work with the file. } electroteque wrote: hi i need t

Re: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Marek Kilimajer
die() but seriosly, if you don't tell us what the script does, we can't tell you if it can be made faster Hacook wrote: Hi all, I made a script that works on a very long charachter chain and its process is lnggg about 5 minutes ! Do you have any tips to make it faster ? Thanks, Hacook

Re: [PHP] Display character 'x' times - Solved

2002-11-19 Thread Tjoumaidis Tasos
Great, That's exactly what i was looking for, thx to the other guys as well and sorry for not mentioning the whole problem which was that i wanted to pass the value to a variable. Steel wrote: Hi Tjoumaidis, Tuesday, November 19, 2002, 1:30:39 PM, I've got: TT> Hello to everybody, TT> I just

Re: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Justin French
on 19/11/02 10:00 PM, Hacook ([EMAIL PROTECTED]) wrote: > Do you have any tips to make it faster ? The answers will come in faster if you tell us how you're "processing" it. Justin French http://Indent.com.au Web Developent & Graphic Design -- PHP G

RE: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Jon Haworth
Hi, > I made a script that works on a very long charachter > chain and its process is lnggg about 5 minutes ! > Do you have any tips to make it faster ? My mysterious ninja PHP developer powers have told me that you need to fiddle with lines 23 and 72, that's where it's slowing down. I

[PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Hacook
Hi all, I made a script that works on a very long charachter chain and its process is lnggg about 5 minutes ! Do you have any tips to make it faster ? Thanks, Hacook -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Display character 'x' times

2002-11-19 Thread Steel
Hi Tjoumaidis, Tuesday, November 19, 2002, 1:30:39 PM, I've got: TT> Hello to everybody, TT> I just want to display a character like D x times like DDD where x is a TT> $variable i get from the database i cannot make it work like it is on TT> perl (i don't even know if it is working the same w

Re: [PHP] Display character 'x' times

2002-11-19 Thread Neil Freeman
str_repeat () Tjoumaidis Tasos wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 15th November 2002 ** Hello t

RE: [PHP] Re: problem with code (almost fixed)

2002-11-19 Thread Noor Dawod
> -Original Message- > From: Tularis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 12:45 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: problem with code (almost fixed) > > first, change this: $_REQUEST['pac_hot[0]'] to: > $_REQUEST["$pac_hot[0]"] > a single quote ( ' )

[PHP] Re: Display character 'x' times

2002-11-19 Thread Tularis
Tjoumaidis Tasos wrote: Hello to everybody, I just want to display a character like D x times like DDD where x is a $variable i get from the database i cannot make it work like it is on perl (i don't even know if it is working the same way) and i can't find a reference in the manual on php.net,

Re: [PHP] Display character 'x' times

2002-11-19 Thread Khalid El-Kary
hi, $numtimes=400; for ($i=1;$i<=400;$i++) { echo 'd'; } ---Or--- $numtimes=400; for ($i=1;$i<=400;$i++) echo 'd'; -Or $numtimes=400; for ($i=1;$i<=400;$i++) {?>d _ Tired of spam? Get advanced junk mail protection wit

[PHP] Re: What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread Tularis
Phil Schwarzmann wrote: Let's say you had one site and one site only to get the latest PHP/MySQL news, articles, reviews, resources, tutorials, advanced stuff etc. What would it be?!? zend.com :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] Re: problem with code (almost fixed)

2002-11-19 Thread Tularis
Yan Grossman wrote: Hi, I fixed my code to handle forms using $_REQUEST. Just having problem with the fields with multiple contents... the one you have to call like field[0], field[1],etc... How do I use the brackets inside brackets? my case is this: Thanks. I have fixed everything with $_REQUE

[PHP] Has anyone used O'Reilly's "Safari" online book thingy for PHP/MySQL?

2002-11-19 Thread Phil Schwarzmann
Has anyone used book publisher O'Reilly's new "Safari" online book site for PHP/MySQL books? I was hoping to use it so I could download whole books and possibly print them out.is it capable of doing something like this or is it next to impossible?

[PHP] What is the best site for PHP news, articles, resources etc....

2002-11-19 Thread Phil Schwarzmann
Let's say you had one site and one site only to get the latest PHP/MySQL news, articles, reviews, resources, tutorials, advanced stuff etc. What would it be?!?

[PHP] Display character 'x' times

2002-11-19 Thread Tjoumaidis Tasos
Hello to everybody, I just want to display a character like D x times like DDD where x is a $variable i get from the database i cannot make it work like it is on perl (i don't even know if it is working the same way) and i can't find a reference in the manual on php.net, maybe it's a silly ques

Re: [PHP] speed comparison

2002-11-19 Thread Marek Kilimajer
I like to see html highlighting, so I prefer first method, but for some small snippets I also use echo Ernest E Vogelsinger wrote: As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP

[PHP] Re: Swear word substitution

2002-11-19 Thread Craig Donnelly
http://www.evilwalrus.com/viewcode/560.php "Cj" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm posting this again as i got a mail saying > > Trend SMEX Content Filter has detected sensitive content. > > Place = [EMAIL PROTECTED]; ; > Sender = CJ > Subject =

[PHP] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread Simon Dedeyne
Hi, Does anybody know where to find a pre-compiled Windows (XP) version of PHP that includes multistring functions? I checked phpdev on firegpages and other sites that usually hold these installations but their versions don't support those multistrings yet. Any help/links are appreciated! Simon

RE: [PHP] problem with code (almost fixed)

2002-11-19 Thread Noor Dawod
You'd write something like: $_REQUEST['pac_hot'][0], $_REQUEST['pac_hot'][1] and so on. Noor > -Original Message- > From: Yan Grossman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 12:07 PM > To: [EMAIL PROTECTED] > Subject: [PHP] problem with code (almost fixed) > > >

[PHP] problem with code (almost fixed)

2002-11-19 Thread Yan Grossman
Hi, I fixed my code to handle forms using $_REQUEST. Just having problem with the fields with multiple contents... the one you have to call like field[0], field[1],etc... How do I use the brackets inside brackets? my case is this: Thanks. I have fixed everything with $_REQUEST but I am having pro

[PHP] Re: OOP - transfering object-pointer

2002-11-19 Thread Tularis
actually, the foreach should read: foreach($overall->loaded as $key=>$val){ $val =& $overall->$val; } still doens't work though Tularis wrote: Currently, I have the following code: loaded[] = $class; eval("\$this->$class = new $class;"); return true; } } class foo { v

[PHP] OOP - transfering object-pointer

2002-11-19 Thread Tularis
Currently, I have the following code: class overall { var $loaded; function load($class){ //eval("global \$$class;"); // This didn't work either $this->loaded[] = $class; eval("\$this->$class = new $class;"); return true; } } class foo { var $bar; // Constructor function bar(){

Re: [PHP] Re: problems with PHP code (Please help!)

2002-11-19 Thread Jason Wong
On Tuesday 19 November 2002 17:40, Noodle Snacks wrote: > It it better that you use a subject that is related to the problem eg. > "Email Script not working after server upgrade" And also, it is better to include your code inline (as text) rather than as an attachment. A lot of people would not b

[PHP] communicate with cyrus imap

2002-11-19 Thread Petre Agenbag
Hi I wonder if someone can give me some pointers on this. I have cyrus/sendmail running on a RH server, and it works great. I use ximian evolution as my mail client and other users also has no problem with OE or MO. I've been looking at various web based mail clients to implement on my server for

[PHP] Re: problems with PHP code (Please help!)

2002-11-19 Thread Noodle Snacks
It it better that you use a subject that is related to the problem eg. "Email Script not working after server upgrade" -- JJ Harrison [EMAIL PROTECTED] "`Yan Grossman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear Friends, > > I run some PHP scripts to

[PHP] Re: echoing date of first and last day of current week.

2002-11-19 Thread Noodle Snacks
I ended up using this: $time = time(); $weekday = date('w',$time); $suntimestamp = $time - ($weekday * 86400); $sattimestamp = $suntimestamp + 604800; echo 'Words for the week from '.date('jS F Y',$suntimestamp).' to '.date('jS F Y',$sattimestamp).'.'; -- JJ Harrison [EMAIL PROTECTED] "Noodle

Re: [PHP] problems with PHP code (Please help!)

2002-11-19 Thread Justin French
Ask your host to set-up a .htaccess file to turn register_globals ON, or you need to do some research in the archives for "register globals"... it's been discussed to death. Basically, instead of a form value being something like $firsName, it's now $_POST['firstName'] or $_GET['firstName'] (depen

[PHP] Processes under non-UNIX operating system

2002-11-19 Thread Noor Dawod
Hello all, I was disappointed to know that other than UNIX, PHP doesn't support processes, unless I don't have the latest news. For my particular needs, and after investigating many sources, I see that processes are my friend. My needs comprise of the following: 1) being able to listen on a spec

<    1   2