RE: [PHP] Fun with SOAP.

2008-04-29 Thread Warren Vail
You should be able to parse it manually in PHP, but probably not with a XML parser or reader. Simply var_dump() the responses you are getting and write the code to break it up into values you can use. In some respects I've found this easier than XML, which tends at times to be somebody else's ide

[PHP] Best practices for using MySQL index

2008-04-29 Thread Shelley
Hi all, I am currently responsible for a subscription module and need to design the DB tables and write code. I have described my table design and queries in the post: http://phparch.cn/index.php/mysql/38-MySQL-configuration/152-best-practices-for-using-mysql-index The problem is, in a short tim

Re: [PHP] Xampp question, pretty much 0T

2008-04-29 Thread Chris
After reading a bit I see that if I just copy the "data" directory in the mySql directory, I can restore it from there? any idea if I have that wrong? Hmm I guess, but I'd take the safer road and open a console and run: mysqldump.exe -u -p --all-databases --add-drop-database --opt > mysql.

Re: [PHP] Xampp question, pretty much 0T

2008-04-29 Thread Ryan S
> You could try their forums: > http://www.apachefriends.org/f/?language=english Thanks! Just after I posted i started searching on google and found them, have joined and posted... no reply as yet... just the waiting game now i guess. Main prob is I cant even get phpmyadmin running to copy th

[PHP] fourat wants to keep up with you on Twitter

2008-04-29 Thread fourat
To find out more about Twitter, visit the link below: http://twitter.com/i/bebf1448774167a5b91756e2b9829c5164624a20 Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your frie

Re: [PHP] Xampp question, pretty much 0T

2008-04-29 Thread Chris
Ryan S wrote: Hello! I have been using XAMPP for quite some time now (thanks to the recommendations from this list) without any real complaints... and the only reason I am writing here is because i am sure a lot of you guys run the same thing considering the amount of people who recommended it

[PHP] Xampp question, pretty much 0T

2008-04-29 Thread Ryan S
Hello! I have been using XAMPP for quite some time now (thanks to the recommendations from this list) without any real complaints... and the only reason I am writing here is because i am sure a lot of you guys run the same thing considering the amount of people who recommended it to me when

Re: [PHP] Question regarding fopen

2008-04-29 Thread James
> Hi, I'm having a strange problem with fopen > > For clearence, here is the phpinfo page: > http://www.grondengoed.nl/phpinfo.php > > I will shortly explain the problem I'm having: > $imagenamesmall = $foldersystem . '/' . $id . $imgstr . '-s' . > $i . '.jpg'; > echo $imagenamesmal

Re: [PHP] Fun with SOAP.

2008-04-29 Thread Nathan Nobbe
On Tue, Apr 29, 2008 at 2:15 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > A fellow co-worker of mine is working on a project integrating with > Amazon using SOAP. I've never used SOAP before but it seemed like > things were straight forward at first. Some parts work while others > done. Right n

[PHP] Question regarding fopen

2008-04-29 Thread Joep Roebroek
Hi, I'm having a strange problem with fopen For clearence, here is the phpinfo page: http://www.grondengoed.nl/phpinfo.php I will shortly explain the problem I'm having: $imagenamesmall = $foldersystem . '/' . $id . $imgstr . '-s' . $i . '.jpg'; echo $imagenamesmall; // For debugg

[PHP] Re: Help with preg_match_all regex for alt tags

2008-04-29 Thread Shawn McKenzie
Joe Harman wrote: Hey y'all ... i am having alittle trouble with this regex for finding ALT tags for images... Here is my statement preg_match_all("'alt[^>]*?>.*?[^>]

[PHP] Fun with SOAP.

2008-04-29 Thread Eric Butera
A fellow co-worker of mine is working on a project integrating with Amazon using SOAP. I've never used SOAP before but it seemed like things were straight forward at first. Some parts work while others done. Right now we are stuck trying to fetch a document from the remote server. We are able t

Re: [PHP] Help with preg_match_all regex for alt tags

2008-04-29 Thread James Dempster
try preg_match_all('/]*alt="([^"]*)"/i', $subject, $result); -- /James On Tue, Apr 29, 2008 at 8:18 PM, Joe Harman <[EMAIL PROTECTED]> wrote: > Hey y'all ... i am having alittle trouble with this regex for finding > ALT tags for images... > > > Here is my statement > > --

Re: [PHP] mysql_connect slowness

2008-04-29 Thread Joe Harman
Hi Waynn! have you ever tried using 1. sql_cache SELECT SQL_CACHE * FROM table .. I use this alot... although you have to have mysql cache enable in the sql config file... your webhost can tell you if it is on or not 2. make indexes for your tables here is a good article http://www.databas

[PHP] Help with preg_match_all regex for alt tags

2008-04-29 Thread Joe Harman
Hey y'all ... i am having alittle trouble with this regex for finding ALT tags for images... Here is my statement preg_match_all("'alt[^>]*?>.*?[^>]'si", $output, $alt_

Re: [PHP] web based chat app

2008-04-29 Thread Børge Holen
On Tuesday 29 April 2008 06:48:38 paragasu wrote: > i am planning to integrate chat application on my website. > the idea is to make online user on my website to chat to each other. > it is using PHP5+jQuery, i want it to be as light as possible. I am not > sure about the database to use, but i hav

Re: [PHP] Re: PHP Errors to screen

2008-04-29 Thread Nathan Nobbe
On Tue, Apr 29, 2008 at 6:38 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Adam Gerson wrote: > >> Where do I change the setting to print PHP errors to the screen when >> running in a web browser? >> >> Thanks, >> Adam >> >> >> php.ini, display_errors you should also take a look at log_errors

Re: [PHP] PHP Errors to screen

2008-04-29 Thread Jim Lucas
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam At the top of your script put these lines http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] web based chat app

2008-04-29 Thread Nathan Nobbe
On Tue, Apr 29, 2008 at 2:35 AM, paragasu <[EMAIL PROTECTED]> wrote: > > i believe the sysv-ipc functions in php can give you access to that as > well (dont quote me tho; > im to lazy to look it up atm :)) > well, thanks.. i just aware of semaphore function in php. i never see > anyone use this fu

RE: [PHP] PHP debugger

2008-04-29 Thread Edward Kay
> -Original Message- > From: Jason Pruim [mailto:[EMAIL PROTECTED] > Morning, > > So looking at those scripts I realized that perl is nothing like php ;) > > Is there other info that the different places need? or is it just a > different URL? > > I'm wondering why you could do something li

Re: [PHP] Inherited and unimplemented method of a class

2008-04-29 Thread Aspra Flavius Adrian
On Tue, Apr 29, 2008 at 4:29 PM, Stut <[EMAIL PROTECTED]> wrote: > > > On 29 Apr 2008, at 15:19, Aspra Flavius Adrian wrote: > > > > Hello folks. > > > > An inherited and unimplemented method of a class in PHP-5.2.5 gets called > twice: > > > > class Foo { > >public function foo() { > >

Re: [PHP] Inherited and unimplemented method of a class

2008-04-29 Thread Stut
On 29 Apr 2008, at 15:19, Aspra Flavius Adrian wrote: Hello folks. An inherited and unimplemented method of a class in PHP-5.2.5 gets called twice: class Foo { public function foo() { echo get_class($this);//or __CLASS__; } } class Bar extends Foo { } $f = n

Re: [PHP] PHP debugger

2008-04-29 Thread J. Manuel Velasco - UBILIBET
Iep, First of all, thank you verfy much to take a moment to check the scripts, I really appreciate. About your idea to have only one script that call to the appropiate command using a switch, I agree, but since I am new here and I am the only computing guy, I don't have time to restructure th

[PHP] Inherited and unimplemented method of a class

2008-04-29 Thread Aspra Flavius Adrian
Hello folks. An inherited and unimplemented method of a class in PHP-5.2.5 gets called twice: class Foo { public function foo() { echo get_class($this);//or __CLASS__; } } class Bar extends Foo { } $f = new Bar; $f->foo(); Shouldn't it be only once? If I'm doing s

Re: [PHP] PHP debugger

2008-04-29 Thread Jason Pruim
Morning, So looking at those scripts I realized that perl is nothing like php ;) Is there other info that the different places need? or is it just a different URL? I'm wondering why you could do something like: instead of calling out to a different script? Also, I noticed that in your sc

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam Or in your script use ini_set() -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Errors to screen

2008-04-29 Thread Jay Blanchard
[snip] Where do I change the setting to print PHP errors to the screen when running in a web browser? [/snip] http://us2.php.net/manual/en/function.error-reporting.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam php.ini, display_errors -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Errors to screen

2008-04-29 Thread Adam Gerson
Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam -- Adam Gerson Assistant Director of Technology Apple Certified System Administrator (ACSA) Columbia Grammar and Prep School phone. 212-749-6200 ex. 321 fax. 212-428-6806 [EMAIL PROTECT

Re: [PHP] PHP debugger

2008-04-29 Thread J. Manuel Velasco - UBILIBET
Hi, Thanks for the replay, at least the debugger runs and it's easy to install :) I am new here, this is a small company and I am the only computing man, so the person who implemented theses scripts are far away to ask for something. Since I deduced there are different whoises scripts beca

[PHP] Re: newbie with another HTML/navigation question

2008-04-29 Thread Peter Ford
Rod Clay wrote: I have a php script that is invoked on 2 different occasions: 1) the first to create a page with a form the user will use to input information for a new table row - this form has method=POST 2) the script is run a second time to accept the input from the completed form, add t

Re: [PHP] SMS Cellular Text Messaging

2008-04-29 Thread paragasu
On Tue, Apr 29, 2008 at 3:23 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > paragasu wrote: > > > i guess, even we have our own gateway. we have to make deal with local > > ISP anyway and it cost money. if anyone out there know how. i am > > really interested to know... > > Forget your own gateway, i

Re: [PHP] SMS Cellular Text Messaging

2008-04-29 Thread Per Jessen
paragasu wrote: > i guess, even we have our own gateway. we have to make deal with local > ISP anyway and it cost money. if anyone out there know how. i am > really interested to know... Forget your own gateway, it's way overkill unless you plan to be sendings thousands of SMS'es. Just use smsc