[PHP] Search inside file :)

2010-10-11 Thread Jordan Jovanov
Hello everybody, I create one site where user can upload .zip files, but now I have one interesting problem. I need me PHP script where can have one edit box and button, user can input same text in edit box and when press on button he need to find the document who have text from edit button. D

[PHP] Creating a WebService-Provider using an existing WSDL via SOAP

2010-10-11 Thread Kai Meder
Hello after having paused any PHP development in the last 2 years I'm just coming back to PHP 5.3. Could somebody clarify what the current state of WebService Development with PHP is? We have a rather complex, generated WSDL-Document fully describing a WebService- Interface. What is the PHP-wa

Re: [PHP] Creating a WebService-Provider using an existing WSDL via SOAP

2010-10-11 Thread Richard Quadling
On 11 October 2010 14:47, Kai Meder wrote: > Hello > > after having paused any PHP development in the last 2 years I'm just coming > back > to PHP 5.3. Could somebody clarify what the current state of WebService > Development with PHP is? > > We have a rather complex, generated WSDL-Document full

[PHP] References in Sessions

2010-10-11 Thread Alexander Schrijver
Hi list, I'm working on a project which uses a MySQL database to store some data. The database looks something like this: Companies - id (PK) - name - sector_id -> Sectors (id) - etc Locations - id (PK) - company_id -> Companies (id) - name - etc Sectors - id (PK) - name - etc And we're using

Re: [PHP] References in Sessions

2010-10-11 Thread Sebastian Detert
Alexander Schrijver schrieb: Hi list, I'm working on a project which uses a MySQL database to store some data. The database looks something like this: Companies - id (PK) - name - sector_id -> Sectors (id) - etc Locations - id (PK) - company_id -> Companies (id) - name - etc Sectors - id (PK)

Re: [PHP] References in Sessions

2010-10-11 Thread Alexander Schrijver
On Mon, Oct 11, 2010 at 04:43:06PM +0200, Sebastian Detert wrote: > Why don't you write a small function checking for invalid IDs and > delete them and referenced subIDs? If you guess it's to hard/slow to > find out all referenced subIDs you could change your Session array > to an multi-dimensional

[PHP] Unknown Table i field list

2010-10-11 Thread Gary
I am getting an error of "unkown talbe "formcom" in field list". I dont understand this. I have a talbe called formcom in the database, in fact I created this talbe to replace the first one named comments just in case the table name comments was not allowed. I have used this same script a numb

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Ashley Sheridan
On Mon, 2010-10-11 at 15:09 -0400, Gary wrote: > I am getting an error of "unkown talbe "formcom" in field list". > > I dont understand this. I have a talbe called formcom in the database, in > fact I created this talbe to replace the first one named comments just in > case the table name comm

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Alexander Schrijver
On Mon, Oct 11, 2010 at 03:09:35PM -0400, Gary wrote: > I have used this same script a number of time, this is the first time I am > getting this error did you also check the db name is correct? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Gary
mix up. >> >> Anyone be able to help me? >> >> Thank you >> >> Gary >> >> >> > > > What's the create table syntax that was used to create that table. Can > you get it from the software you're using to create/modify the DB rather > th

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Ashley Sheridan
mysqli_close($dbc); > >> > >> I have also tried formcom.fname, formcom.lname, formcomemail, > >> formcomcomment, formcom.ip > >> > >> I have double triple quad checked to make sure I did not have comment and > >> comments mix up. > >>

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Gary
n Result'); >> >> >> >> mysqli_close($dbc); >> >> >> >> I have also tried formcom.fname, formcom.lname, formcomemail, >> >> formcomcomment, formcom.ip >> >> >> >> I have double triple quad checked to make sure I

[PHP] Scripts running twice

2010-10-11 Thread Alexis
Hi, A very vague question here I am afraidI have quite a number of php scripts running on a WinXp box using the built in Scheduler. Everything worked fine for years until one day an update was done...cannot remember if it was on PHP, Apache, Mysql or the firefox browser, but now most but

Re: [PHP] Scripts running twice

2010-10-11 Thread Richard Quadling
On 11 October 2010 21:10, Alexis wrote: > Hi, > > A very vague question here I am afraidI have quite a number of php > scripts running on a WinXp box using the built in Scheduler. > > Everything worked fine for years until one day an update was done...cannot > remember if it was on PHP, Apache

Re: [PHP] Scripts running twice

2010-10-11 Thread Alexis
Thanks for the quick response...checked and no duplicates Richard On 11/10/10 14:14, Richard Quadling wrote: On 11 October 2010 21:10, Alexis wrote: Hi, A very vague question here I am afraidI have quite a number of php scripts running on a WinXp box using the built in Scheduler. Everyth

Re: [PHP] Scripts running twice

2010-10-11 Thread Richard Quadling
On 11 October 2010 21:20, Alexis wrote: > Thanks for the quick response...checked and no duplicates Richard > > On 11/10/10 14:14, Richard Quadling wrote: >> >> On 11 October 2010 21:10, Alexis  wrote: >>> >>> Hi, >>> >>> A very vague question here I am afraidI have quite a number of php >>> s

Re: [PHP] Scripts running twice

2010-10-11 Thread Alexis
Thanks for perservingnope just the two entries per script..one start and one stopalso checked the multi tab and that is set to just the once as well. One thing I forgot to say before is that even if I run the scripts manually, then they still run the twice.sorry about missing that bi

Re: [PHP] Unknown Table i field list

2010-10-11 Thread sueandant
Have you tried : $query = "INSERT INTO formcom(fname, lname, email, comment, ip) VALUES ('$fname','$lname','$email'.'$comment','$ip')" or die('error in query'); tholland - Original Message - From: "Gary" To: Sent: Monday, October 11, 2010 8:09 PM Subject: [PHP] Unknown Table i field

Re: [PHP] Unknown Table i field list

2010-10-11 Thread a...@ashleysheridan.co.uk
That's the same query. One thing I did notice (and I wasn't sure if it was a typo as I saw a few in the original post) but you've used a period instead of a comma to separate the values in the query. It shouldn't produce the error you're seeing, but sometimes you never know! Thanks, Ash http:/

[PHP] break out of

2010-10-11 Thread Govinda
Hi everyone, - newbie preface - I finally got some time to come back to learning a little more PHP... and I am looking forward to lots more in coming months, with any luck. Anyway, as I was working towards the last dea

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Gary
> >> $result = mysqli_query($dbc, $query) >> or die('Error in Result'); >> >> mysqli_close($dbc); >> >> I have also tried formcom.fname, formcom.lname, formcomemail, >> formcomcomment, formcom.ip >> >> I have double triple quad che

Re: [PHP] break out of

2010-10-11 Thread Micky Hulse
If I understand the question correctly, I think the answer is yes. Maybe something like this: Normal HTML, or MT tags, here. Normal HTML, or MT tags, here. Normal HTML, or MT tags, here. "Alternative syntax for control structures"

Re: [PHP] break out of

2010-10-11 Thread Joshua Kehn
If I'm understanding the question right, yes you can. if($AlertUser2success != 0) { ?> http://joshuakehn.com On Oct 11, 2010, at 7:05 PM, Govinda wrote: > Hi everyone, > > - newbie preface > -

Re: [PHP] break out of

2010-10-11 Thread Govinda
If I understand the question correctly, I think the answer is yes. great!! Next time I will save myself so much time! Thank you guys! -G "Alternative syntax for control structures" -- PHP General Mailing List (http://www.

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Gary
comments mix up. Anyone be able to help me? Thank you Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Information from ESET Smart Security, version of virus signature database 5521 (20101011) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Kranthi Krishna
echo $query; before $result = mysqli_query($dbc, $query); might be of help to understand what is going wrong copy that query and execute in phpMyAdmin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Unknown Table i field list Solved

2010-10-11 Thread Gary
w') or die('Error connecting to MySQL server'); mysql_select_db("db",$dbc); $query = "INSERT INTO formcom(fname, lname, email, comment, ip)" . "VALUES ('$fname','$lname','$email','$comment','$ip')" or d

RE: [PHP] Unknown Table i field list

2010-10-11 Thread Tommy Pham
> -Original Message- > From: Kranthi Krishna [mailto:kranthi...@gmail.com] > Sent: Monday, October 11, 2010 5:40 PM > To: Gary > Cc: php-general@lists.php.net > Subject: Re: [PHP] Unknown Table i field list > > echo $query; > before > $result = mysqli_query($dbc, $query); > might be of hel

[PHP] class object vs array for db table model

2010-10-11 Thread Tommy Pham
Hi everyone, It's been a couple years since I've did a project in PHP. The current project I'm working on is for PHP 5.3 and I noticed a performance issue. Is it just me or is there a BIG difference in performance between class object vs array for PHP 5.3? Below is the sample: class MyTable {