Re: [PHP] query order issue

2013-07-21 Thread Jim Lucas
On 7/20/2013 9:21 AM, dealTek wrote: Hi all, I have a page that starts with several mysql sql query searches and displays data below... then I added a form (with hidden line "do-update" value "UPDATE") on the same page with action to same page... then above other sql queries - I put... if

[PHP] query order issue

2013-07-20 Thread dealTek
Hi all, I have a page that starts with several mysql sql query searches and displays data below... then I added a form (with hidden line "do-update" value "UPDATE") on the same page with action to same page... then above other sql queries - I put... if ((isset($_POST["do-update"])) && ($_PO

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Bastien
Bastien Koert On 2013-07-10, at 3:29 PM, Anthony Wlodarski wrote: > Is there anything that would prevent you from somehow uniquely knowing who > the user is uploading the file. For example you mentioned "client'. If you > know > who the client is you can append that to the filename or prepend

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Anthony Wlodarski
Is there anything that would prevent you from somehow uniquely knowing who the user is uploading the file. For example you mentioned "client'. If you know who the client is you can append that to the filename or prepend it, for the destination string (second parameter to the function call). That

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Jim Giner
On 7/10/2013 3:37 PM, Ajay Garg wrote: Thanks Jim and Anthony. Jim, You are right, your solution is doable. But one thing I am a little skeptical about, is what would be the percentage of the people willing to suggest a new name "immediately", versus the percentage of people who would like to c

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Ajay Garg
Thanks Jim and Anthony. Jim, You are right, your solution is doable. But one thing I am a little skeptical about, is what would be the percentage of the people willing to suggest a new name "immediately", versus the percentage of people who would like to cancel the current upload, and come back "

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Jim Giner
On 7/10/2013 2:15 PM, Ajay Garg wrote: Thanks Jim and Matijn for the quick replies. I will try to have a workaround. On Wed, Jul 10, 2013 at 11:09 PM, Matijn Woudt wrote: On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote: Hi all. I have a requirement, wherein I need to allow vanilla u

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Ajay Garg
Thanks Jim and Matijn for the quick replies. I will try to have a workaround. On Wed, Jul 10, 2013 at 11:09 PM, Matijn Woudt wrote: > > > > On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote: > >> Hi all. >> >> I have a requirement, wherein I need to allow vanilla uploads of files >> to a HTTPD

Re: [PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Matijn Woudt
On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote: > Hi all. > > I have a requirement, wherein I need to allow vanilla uploads of files > to a HTTPD server. > > Any client can upload any number of files (one at a time). > Also, there is just one directory, where the files get stored > "finally" (t

[PHP] Query regarding temporarily-uploaded files

2013-07-10 Thread Ajay Garg
Hi all. I have a requirement, wherein I need to allow vanilla uploads of files to a HTTPD server. Any client can upload any number of files (one at a time). Also, there is just one directory, where the files get stored "finally" (that is, after being copied from the temporary location, via "move_

Re: [PHP] query strings and other delights

2011-01-13 Thread Marc Guay
Give parse_str() a go. http://ca.php.net/manual/en/function.parse-str.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] query strings and other delights

2011-01-13 Thread kbailey
I have circumstances which cause me to investigate get strings and such, and wish to start a thread discussing such matters. This relates to a cluster of functions iin php such as public array HttpQueryString::toArray ( void ) and it's bretherin and sisterin and otherin. Being new to php,

Re: [PHP] Query based on Server offset TimeStamp

2009-11-23 Thread Philip Thompson
On Nov 23, 2009, at 7:37 PM, Don Wieland wrote: > Hello, > > I have a mySQL database server in Florida USA (EST) and I want to do a query > on a record in California, USA (PST) 3 hours earlier using PST instead of EST. > > I would like to add to my CORE page that offset of the timezone so I can

[PHP] Query based on Server offset TimeStamp

2009-11-23 Thread Don Wieland
Hello, I have a mySQL database server in Florida USA (EST) and I want to do a query on a record in California, USA (PST) 3 hours earlier using PST instead of EST. I would like to add to my CORE page that offset of the timezone so I can use it in a query like: Select * FROM aTable WHERE

Re: [PHP] Query Regarding a Player

2009-06-03 Thread Ashley Sheridan
On Wed, 2009-06-03 at 17:54 -0400, Eddie Drapkin wrote: > But it's client side software and you can't rely on it existing for general > use. > > On Wed, Jun 3, 2009 at 2:52 PM, Ashley Sheridan > wrote: > > > On Wed, 2009-06-03 at 09:18 -0500, haliphax wrote: > > > On Wed, Jun 3, 2009 at 8:14 AM,

Re: [PHP] Query Regarding a Player

2009-06-03 Thread Eddie Drapkin
But it's client side software and you can't rely on it existing for general use. On Wed, Jun 3, 2009 at 2:52 PM, Ashley Sheridan wrote: > On Wed, 2009-06-03 at 09:18 -0500, haliphax wrote: > > On Wed, Jun 3, 2009 at 8:14 AM, Hemant Patel > wrote: > > > Hi All, > > >I hope you all ar

Re: [PHP] Query Regarding a Player

2009-06-03 Thread Ashley Sheridan
On Wed, 2009-06-03 at 09:18 -0500, haliphax wrote: > On Wed, Jun 3, 2009 at 8:14 AM, Hemant Patel > wrote: > > Hi All, > >I hope you all are doing great.We are developing a application > > on our end and we got a problem with a Audio/Vedio player.As flash player is > > working well w

Re: [PHP] Query Regarding a Player

2009-06-03 Thread haliphax
On Wed, Jun 3, 2009 at 8:14 AM, Hemant Patel wrote: > Hi All, >            I hope you all are doing great.We are developing a application > on our end and we got a problem with a Audio/Vedio player.As flash player is > working  well with client side but it has limitation of file formats like it >

[PHP] Query Regarding a Player

2009-06-03 Thread Hemant Patel
Hi All, I hope you all are doing great.We are developing a application on our end and we got a problem with a Audio/Vedio player.As flash player is working well with client side but it has limitation of file formats like it can run .flv file format only.If we go for media player then i

Re: [PHP] Query string question

2009-01-13 Thread Robert Cummings
On Tue, 2009-01-13 at 17:21 -0200, Jônatas Zechim wrote: > I have something like this on my site: > > mysite.com/índex.php?msg=Transa%25E7%25E3o+n%25E3o+autorizada > > i need to convert " Transa%25E7%25E3o+n%25E3o+autorizada" to "Transação não > autorizada". > > The letters ç ã, and others (é,

[PHP] Query string question

2009-01-13 Thread Jônatas Zechim
I have something like this on my site: mysite.com/índex.php?msg=Transa%25E7%25E3o+n%25E3o+autorizada i need to convert " Transa%25E7%25E3o+n%25E3o+autorizada" to "Transação não autorizada". The letters ç ã, and others (é, í, ...). Someone can help me? -Mensagem original- De: Eric Bu

[PHP] Query string vanishes on header("Location: ...") redirect

2009-01-12 Thread Richard S. Crawford
I'm trying to redirect my users to a URL which includes a query string: $the_url = $CFG->wwwroot."/DLC/includes/L1_accept_required.php?cid=".$course->id; //die ("URL = $the_url"); header('Location: '. $the_url); When I uncomment the die() command, the URL shows properly, e

Re: [PHP] Query-within-a-query with mySQL/PHP

2008-10-25 Thread Greg Bowser
>Basically I somehow need to do a GROUP BY producer, and yet somehow at the same time, find out all the matching vintages (years), that go along with that group and return them the same time the producer group is returned. If I'm following you correctly, you have a column "year" in your group, and

[PHP] Query-within-a-query with mySQL/PHP

2008-10-25 Thread Rob Gould
This is somewhat complicated, so I'll try to give examples with real- world data. Basically, I'd like to know how I could take data like this, from mySQL: 2006 Liberty School Central Coast, California, Central Coast, USA Chardonnay 2006 Liberty School Paso Robles, California, Central Coast, U

Re: [PHP] Query refuses to recurse all rows

2008-05-28 Thread celtic
Hi Jim, Actually, after I got the code working, I eliminated the 'exit' and skipped the empty query instead to the next block. Ahh! That cryptic header relocate: If the db conn or code is buggy fails, it redirects to a nice page telling the user that the db 'Is down for maintenance' or somesu

Re: [PHP] Query refuses to recurse all rows

2008-05-28 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Hi, In the following code, only the first row from query1 displays along with the display stuff from query3. The problem: query1 refuses to recurse to the next and following rows. It appears that the sub-queries in the main query cause the $row++; not to work. Is

Re: [PHP] Query refuses to recurse all rows {RESOLVED]

2008-05-28 Thread celtic
Thanks Wolf and Chris, That did the trick -- now I just have to clean up the order a bit. Amazing how another's view can see the problem so clearly -- I was way too close, what with otehr coding - should've seen it! Regards, Andre (celtic) On Wednesday 28 May 2008, Wolf wrote: > Chris wrote: >

Re: [PHP] Query refuses to recurse all rows

2008-05-28 Thread Wolf
Chris wrote: $numrows1 = pg_numrows($result1); $row = 0; do { $myrow = pg_fetch_array($result1, $row); $numrows2 = pg_numrows($result2);

Re: [PHP] Query refuses to recurse all rows

2008-05-28 Thread Chris
> $numrows1 = pg_numrows($result1); > $row = 0; > do > { > $myrow = pg_fetch_array($result1, $row); > $numrows2 = pg_numrows($result2); >

[PHP] Query refuses to recurse all rows

2008-05-28 Thread celtic
Hi, In the following code, only the first row from query1 displays along with the display stuff from query3. The problem: query1 refuses to recurse to the next and following rows. It appears that the sub-queries in the main query cause the $row++; not to work. Is there some conditional that

Re: [PHP] Query in Query problems

2008-04-16 Thread Chris
VamVan wrote: Hello All, We many times encounter the situations of having Queries inside loop of another query. Many times we can solve the issue by query joins but there will be some situations where we cannot do it. For Example: function Change($id){ $qry_reg = "SELECT registrationI

[PHP] Query in Query problems

2008-04-16 Thread VamVan
Hello All, We many times encounter the situations of having Queries inside loop of another query. Many times we can solve the issue by query joins but there will be some situations where we cannot do it. For Example: function Change($id){ $qry_reg = "SELECT registrationID FROM registrat

Re: [PHP] Progressive answers from a php query?

2008-02-06 Thread Martin Marques
Richard escribió: Hello, I don't know if this is possible with PHP alone but this is what I'm trying to do : My script would check say for example 10 or 20 different http:// site addresses and collect some text from each page. My problem is that it takes quite a long time to query so many si

[PHP] Progressive answers from a php query?

2008-02-06 Thread Richard
Hello, I don't know if this is possible with PHP alone but this is what I'm trying to do : My script would check say for example 10 or 20 different http:// site addresses and collect some text from each page. My problem is that it takes quite a long time to query so many sites, and the user

Re: [PHP] query not working properly

2007-07-26 Thread Richard Davey
Hi Joey, Thursday, July 26, 2007, 1:36:37 PM, you wrote: > Hi everyone, > I'mt trying to do the below query which itself works correctly, but when I > add a order by statement just bombs. > $query = "select * from articles where ( {$now} BETWEEN startdate > AND enddate) and categoryid =

[PHP] query not working properly

2007-07-26 Thread Joey B
Hi everyone, I'mt trying to do the below query which itself works correctly, but when I add a order by statement just bombs. $query = "select * from articles where ( {$now} BETWEEN startdate AND enddate) and categoryid = 1 limit 0,3"; $query = "select * from articles order by st

[PHP] Query Regarding How to contribute towards a bug fix: Sachin

2007-05-30 Thread Sachin mahajan
I have tried to share my experience over a problem related to sessions but was unable to submit as the SPAM question is really very confusing. So I am just submitting it here:- Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advise

RE: [PHP] Query question

2006-10-30 Thread Ivo F.A.C. Fokkema
On Sun, 29 Oct 2006 23:04:27 -0600, Richard Lynch wrote: > On Sun, October 29, 2006 2:06 am, Beauford wrote: >> LOL, I don't know either. The format is - 01/01/2006. When I first did >> it I >> used 7, which should be right, but I ended up getting /2002 /2003, >> etc. So I >> went to 8 and all was

RE: [PHP] Query question

2006-10-29 Thread Richard Lynch
On Sun, October 29, 2006 2:06 am, Beauford wrote: > This is how I get the data and I have no control over the actual > layout of > the database. So I have to work with what I have. When you say it's "how you get the data" are they handing you a MySQL database that is this badly-constructed? Or ar

Re: [PHP] Query question

2006-10-29 Thread Ed Lazor
] Sent: October 29, 2006 4:30 AM To: Beauford; 'PHP' Subject: Re: [PHP] Query question I said that you have a problem,not that you caused it, and my observation might (hopefully) help newbies in the list. Satyam - Original Message - From: "Beauford" <[EMAIL

RE: [PHP] Query question

2006-10-29 Thread Beauford
bject: Re: [PHP] Query question I said that you have a problem,not that you caused it, and my observation might (hopefully) help newbies in the list. Satyam - Original Message - From: "Beauford" <[EMAIL PROTECTED]> To: "'PHP'" Sent: Sunday, October

Re: [PHP] Query question

2006-10-29 Thread Satyam
I said that you have a problem,not that you caused it, and my observation might (hopefully) help newbies in the list. Satyam - Original Message - From: "Beauford" <[EMAIL PROTECTED]> To: "'PHP'" Sent: Sunday, October 29, 2006 9:06 AM Subject: RE:

RE: [PHP] Query question

2006-10-29 Thread Beauford
to 8 and all was well. Beats me. B -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: October 29, 2006 2:14 AM To: Beauford; 'PHP' Subject: Re: [PHP] Query question If that works then you have a problem: you are storing dates as a plain string ( varc

Re: [PHP] Query question

2006-10-29 Thread Satyam
t; To: "'PHP'" Sent: Sunday, October 29, 2006 7:05 AM Subject: RE: [PHP] Query question This is what I finally figured out, which works just perfectly. select count(date) as count, substring(date,8) as year from stats group by year; Thanks to all for the input. -Origin

RE: [PHP] Query question

2006-10-29 Thread Robert Cummings
On Sun, 2006-10-29 at 01:05 -0500, Beauford wrote: > This is what I finally figured out, which works just perfectly. > > select count(date) as count, substring(date,8) as year from stats group by > year; > > Thanks to all for the input. So what you're saying is that you're not using a date field

RE: [PHP] Query question

2006-10-28 Thread Beauford
: PHP Subject: Re: [PHP] Query question Look into the MySQL YEAR() function to extract the year from a specific date. Start here: http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html On 10/28/06, Beauford <[EMAIL PROTECTED]> wrote: > > I posted this here as I figured

Re: [PHP] Query question

2006-10-28 Thread Joe Wollard
mething. Thanks -Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] Sent: October 28, 2006 10:30 PM To: Ed Lazor Cc: Beauford; PHP Subject: Re: [PHP] Query question Agreed, this should go to a MySQL list. But in the spirit of helping I think the following should give you a good startin

RE: [PHP] Query question

2006-10-28 Thread Beauford
gured I'd need to use PHP to maybe put it in an array first or something. Thanks -Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] Sent: October 28, 2006 10:30 PM To: Ed Lazor Cc: Beauford; PHP Subject: Re: [PHP] Query question Agreed, this should go to a MySQL list.

Re: [PHP] Query question

2006-10-28 Thread Joe Wollard
Agreed, this should go to a MySQL list. But in the spirit of helping I think the following should give you a good starting point. SELECT `year`, COUNT(`year`) AS `count` FROM `tbl` GROUP BY `year` ASC On 10/28/06, Ed Lazor <[EMAIL PROTECTED]> wrote: Use the mysql list :) On Oct 28, 2006, at

Re: [PHP] Query question

2006-10-28 Thread Ed Lazor
Use the mysql list :) On Oct 28, 2006, at 3:01 PM, Beauford wrote: Hi, I have a MySQL database with a date field and a bunch of other fields. The date field is in the format - 01/01/2006. What I want to do is query the database and create a table that shows just the year and how many in

[PHP] Query question

2006-10-28 Thread Beauford
Hi, I have a MySQL database with a date field and a bunch of other fields. The date field is in the format - 01/01/2006. What I want to do is query the database and create a table that shows just the year and how many instances of the year there is. I have been taxing my brain for a simple solutio

Re: [PHP] Query DBF records using PHP

2006-09-07 Thread Chris
Rahul S. Johari wrote: Ave, Let¹s say I have a DBF file residing on my somewhere. It has 20 fields, and about 100 records. Is it possible for me to Query that DBF file, so I can search that database for a record and Display the row using PHP? Yes. http://www.php.net/manual/en/ref.dbase.php -

[PHP] Query DBF records using PHP

2006-09-07 Thread Rahul S. Johari
Ave, Let¹s say I have a DBF file residing on my somewhere. It has 20 fields, and about 100 records. Is it possible for me to Query that DBF file, so I can search that database for a record and Display the row using PHP? Basically what I want to do is pull out a record from that DBF file that mat

Re: [PHP] Query result column to array

2006-08-30 Thread Rafael Mora
Hi!! What I do is just this: $_ar = array(); while($_field = mysql_fetch_row($_result)) {$_aloft["$_field[0]"] = "$_field[1]";} while(list($_key,$_val) = each($_ar)) On 8/30/06, Christopher Watson <[EMAIL PROTECTED]> wrote: I'm looking for a native method for taking all of the value

[PHP] Query result column to array

2006-08-30 Thread Christopher Watson
I'm looking for a native method for taking all of the values from one column of a query result and creating an array of those values. Procedurally, I'd tend to want to do this: query("SELECT my_id FROM my_table"); while ($row = $query_result->fetchRow()) $my_id_array[] = $row['my_id']; ?> Hec

Re: [PHP] Query for two fields with the same name

2006-04-19 Thread Richard Lynch
On Wed, April 19, 2006 5:55 pm, Kevin Murphy wrote: > $connection = "select * from connection, pr WHERE connection.area_id > = '$gateway_link' and connection.pr_id = pr.id"; > > Both tables have a field called ID but they have different > information in them. $row['id'] gets me the one from the tab

Re: [PHP] Query for two fields with the same name

2006-04-19 Thread admin
Maybe something like this : $connection = "SELECT t2.id AS idtwo, t1.id AS idone FROM connection AS t1, pr AS t2 WHERE t1.area_id = '$gateway_link' AND t1.pr_id = t2.id"; > This is probably a simple question, but I can't seem to find the > answer online. > > I'm using this query: > > $connection

Re: [PHP] Query for two fields with the same name

2006-04-19 Thread Jochem Maas
NOT a php question. Kevin Murphy wrote: This is probably a simple question, but I can't seem to find the answer online. I'm using this query: $connection = "select * from connection, pr WHERE connection.area_id = '$gateway_link' and connection.pr_id = pr.id"; doing "SELECT * FROM bla" is

[PHP] Query for two fields with the same name

2006-04-19 Thread Kevin Murphy
This is probably a simple question, but I can't seem to find the answer online. I'm using this query: $connection = "select * from connection, pr WHERE connection.area_id = '$gateway_link' and connection.pr_id = pr.id"; Both tables have a field called ID but they have different informati

Re: [PHP] PHP / Query trouble

2006-03-23 Thread PHP Mailer
Chris skrev: PHP Mailer wrote: Jay Blanchard skrev: [snip] User i am running is locally granted all in permission. Using reply =) [/snip] Use reply-all, that way if the person that was helping you is not there any more others can help. Echo the query statement out and see what it looks like.

Re: [PHP] PHP / Query trouble

2006-03-23 Thread Chris
PHP Mailer wrote: Jay Blanchard skrev: [snip] User i am running is locally granted all in permission. Using reply =) [/snip] Use reply-all, that way if the person that was helping you is not there any more others can help. Echo the query statement out and see what it looks like. Please post th

Re: [PHP] PHP / Query trouble

2006-03-23 Thread PHP Mailer
PHP Mailer skrev: Jay Blanchard skrev: [snip] User i am running is locally granted all in permission. Using reply =) [/snip] Use reply-all, that way if the person that was helping you is not there any more others can help. Echo the query statement out and see what it looks like. Please post tha

Re: [PHP] PHP / Query trouble

2006-03-23 Thread PHP Mailer
Jay Blanchard skrev: [snip] User i am running is locally granted all in permission. Using reply =) [/snip] Use reply-all, that way if the person that was helping you is not there any more others can help. Echo the query statement out and see what it looks like. Please post that to the list.

RE: [PHP] PHP / Query trouble

2006-03-23 Thread Jay Blanchard
[snip] User i am running is locally granted all in permission. Using reply =) [/snip] Use reply-all, that way if the person that was helping you is not there any more others can help. Echo the query statement out and see what it looks like. Please post that to the list. -- PHP General Mailing L

RE: [PHP] PHP / Query trouble

2006-03-23 Thread Jay Blanchard
[snip] [snip] $optimizeTableQuery = mysql_query("OPTIMIZE TABLE '".$tableName."'"); [/snip] Take the single quotes away from the table name. http://dev.mysql.com/doc/refman/4.1/en/optimize-table.html Make sure they are the right kind of tables. Trie

RE: [PHP] PHP / Query trouble

2006-03-23 Thread Jay Blanchard
[snip] > $optimizeTableQuery = mysql_query("OPTIMIZE TABLE > '".$tableName."'"); [/snip] Take the single quotes away from the table name. http://dev.mysql.com/doc/refman/4.1/en/optimize-table.html Make sure they are the right kind of tables. -- PHP General Mailing List (http://www.php.net/

RE: [PHP] PHP / Query trouble

2006-03-23 Thread Jay Blanchard
[snip] #--> If submitted if($_GET['method']=="optimize") { #--> Set to array $allTables = mysql_query("SHOW TABLES"); if(!$query){ print mysql_error(); } while($table = mysql_fetch_assoc($allTables)) #for($i = 0; $tableName = mysql_fetch_array($allTables);) { #--> Walk that array foreach($table as

[PHP] PHP / Query trouble

2006-03-23 Thread PHP Mailer
Hello folks, Trying to grab all tables available in a database and optimize them. The following code , or rather query is being trouble-some and i am out of ideas. #--> If submitted if($_GET['method']=="optimize") { #--> Set to array $allTables = mysql_query("SHOW TABLES"); if(!$query){ print

Re: [PHP] Query : Facing Error

2006-03-08 Thread Jochem Maas
Rahul sharma wrote: I have installed php5 manually and pws also on Windows 98. I checked execute button of pws also. But the problem is, when i execute any php programe my browser show me following message This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a pa

[PHP] Query : Facing Error

2006-03-08 Thread Rahul sharma
I have installed php5 manually and pws also on Windows 98. I checked execute button of pws also. But the problem is, when i execute any php programe my browser show me following message This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served

Re: [PHP] query regard forms in PHP

2006-01-30 Thread Richard Correia
Another die hard question .. huh? Your all problems can be solved if you spend some time on http://weberdev.com. The answer to your question is www.weberdev.com/get_example-3927.html Thanks Richard Correia On 1/29/06, suresh kumar <[EMAIL PROTECTED]> wrote: > > hai, >i am having 3 fi

[PHP] query regard forms in PHP

2006-01-29 Thread suresh kumar
hai, i am having 3 files,namely page1,page2 and page3,when i enter username and password in my first page i want 2 display my username and password in my third page through second page. A.suresh

Re: [PHP] query regarding forms

2006-01-28 Thread Miles Thompson
At 11:20 AM 1/28/2006, suresh kumar wrote: hi, i am having 3 files Login.php,home.php and home1.php when i entered username and passwd in my first login page i want want i entered as username and passwd in my third page ie home1.php. A.suresh That'

[PHP] query regarding forms

2006-01-28 Thread suresh kumar
hi, i am having 3 files Login.php,home.php and home1.php when i entered username and passwd in my first login page i want want i entered as username and passwd in my third page ie home1.php. A.suresh

Re: [PHP] RE: (SCL: 5) [PHP] query problem.

2006-01-24 Thread Richard Correia
to:[EMAIL PROTECTED] > Sent: Wednesday, January 25, 2006 7:01 AM > To: PHP List > Subject: (SCL: 5) [PHP] query problem. > > Hi guys. > > I got an entry in a field called emailfrom in my table (MySQL db). > > The data in that field is: Sams Bank <[EMAIL PROTECTED]> &

Re: [PHP] query problem.

2006-01-24 Thread Brian V Bonini
On Wed, 2006-01-25 at 08:01, Angelo Zanetti wrote: > Hi guys. > > I got an entry in a field called emailfrom in my table (MySQL db). > > The data in that field is: Sams Bank <[EMAIL PROTECTED]> > > I then do the following to retrieve the info, using a DB class > > $recordset=$conn->Execute("SEL

Re: [PHP] query problem.

2006-01-24 Thread Richard Lynch
On Wed, January 25, 2006 7:01 am, Angelo Zanetti wrote: > The data in that field is: Sams Bank <[EMAIL PROTECTED]> . . . > Why does the < > cause that not to be displayed? or is it retrieving > it > correctly but not showing it because of the < > (which might be > conflicting with HTML tags? You h

[PHP] RE: (SCL: 5) [PHP] query problem.

2006-01-24 Thread Duffy, Scott E
Viewing in browser? If so view source. -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 7:01 AM To: PHP List Subject: (SCL: 5) [PHP] query problem. Hi guys. I got an entry in a field called emailfrom in my table (MySQL db). The data

Re: [PHP] query problem.

2006-01-24 Thread Silvio Porcellana [tradeOver]
Angelo Zanetti wrote: (...) Why does the < > cause that not to be displayed? or is it retrieving it correctly but not showing it because of the < > (which might be conflicting with HTML tags? When showing things in an HTML page it's always a good idea to use 'htmlspecialchars' (or htmlenti

Re: [PHP] query problem.

2006-01-24 Thread David Grant
Angelo, Angelo Zanetti wrote: > Why does the < > cause that not to be displayed? or is it retrieving it > correctly but not showing it because of the < > (which might be > conflicting with HTML tags? Look at the source! David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List

[PHP] query problem.

2006-01-24 Thread Angelo Zanetti
Hi guys. I got an entry in a field called emailfrom in my table (MySQL db). The data in that field is: Sams Bank <[EMAIL PROTECTED]> I then do the following to retrieve the info, using a DB class $recordset=$conn->Execute("SELECT * FROM wiml_history WHERE id = $task_id"); $row=$recordset->GetA

Re: [PHP] Query about gzinflate

2005-11-15 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 09:28:22PM -0800, kumar kumar wrote: > HI > > How to uncompress compressed data with php://input > > Which one of the following is correct > > 1 .$unzip = gzinflate("php://input","r"); > $getdata = fopen($unzip."r"); > > 2. gzcompress("php://input","r"); > > $

[PHP] Query about gzinflate

2005-11-15 Thread kumar kumar
HI How to uncompress compressed data with php://input Which one of the following is correct 1 .$unzip = gzinflate("php://input","r"); $getdata = fopen($unzip."r"); 2. gzcompress("php://input","r"); $getdata = fopen($unzip."r"); what the best solution help me With regards Praveen

Re: [PHP] Query regarding total count of pages in a site....

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 7:28 am, Suresh Pandian wrote: > I need to find the number of webpages in a site.. > is there any inbuilt variables in php to find it. > Reply , if u have any valuable suggessions.. > thanks. In your own site? Or in somebody else's? And what counts

Re: [PHP] Query regarding total count of pages in a site....

2005-11-08 Thread Richard Davey
Hi Suresh, Tuesday, November 8, 2005, 1:28:47 PM, you wrote: > I need to find the number of webpages in a site.. is there any > inbuilt variables in php to find it. I need to find the number of socks in my washing basket. Does PHP have an inbuilt function to do it? No, of course it does

[PHP] Query regarding total count of pages in a site....

2005-11-08 Thread Suresh Pandian
Hello, I need to find the number of webpages in a site.. is there any inbuilt variables in php to find it. Reply , if u have any valuable suggessions.. thanks. Suresh.P - Enjoy this Diwali with Y! India Click here

[PHP] Query regarding total count of pages in a site....

2005-11-08 Thread Suresh Pandian
Hello, I need to find the number of webpages in a site.. is there any inbuilt variables to find it. Reply , if u have any valuable suggessions.. thanks. Suresh.P - Enjoy this Diwali with Y! India Click here

Re: [PHP] query regerding copying files using php

2005-10-05 Thread Jochem Maas
Suresh Pandian wrote: hello friends, i have a query in writng the content of one file to another. i attempted it. it only writes the html codings.it could not write the php scripts inside the file. Suresh - it helps if you desribe what you are trying to achieve _and_ why, this is because t

[PHP] query regerding copying files using php

2005-10-04 Thread Suresh Pandian
hello friends, i have a query in writng the content of one file to another. i attempted it. it only writes the html codings.it could not write the php scripts inside the file. i use the following code to accomplish my problem... ##

[PHP] query regerding copying files using php

2005-10-04 Thread Suresh Pandian
hello friends, i have a query in writng the content of one file to another. i attempted it. it only writes the html codings.it could not write the php scripts inside the file. i use the following code to accomplish my problem... ##

[PHP] query on traffic exchange script

2005-10-01 Thread Suresh Pandian
hello, i have encountered in a problem while creating traffic exchange script. while running the script in SSN , it displays warning like strpos(); Empty delimeter. line 86. in rundaily.php i have attached the script file rundaily.php and logtraffic.php below plz, kindl

Re: [PHP] Query - Warning: Cannot modify header information

2005-09-30 Thread Emil Novak
You can simply avoid that by buffering the output: or (older versions of PHP): Emil Novak, Slovenia, EU -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Query - Warning: Cannot modify header information

2005-09-30 Thread Minuk Choi
Months ago when I kept encountering that problem, it was due to this. Suresh, in /home/gift1/public_html/home.php, do you have a space, an empty line, etc. ? that file should start with "I put double quotes to emphasize that there should be NOTHING before the PHP script start. -Mk Sures

RE: [PHP] Query - Warning: Cannot modify header information

2005-09-30 Thread Suresh Pandian
check it and give some valuable sugguesion to me. thanks.. George Pitcher <[EMAIL PROTECTED]> wrote: This looks as though you are trying to send header() after something has been output to screen. Check your code before line 61. George > -Original Message- > From: Su

[PHP] Query - Warning: Cannot modify header information

2005-09-29 Thread Suresh Pandian
Hi friends, i am currently redesign th x-cart site. ichanged the template files into my concern. i received some warnings like this.. Warning: Cannot modify header information - headers already sent by (output started at /home/gift1/public_html/home.php:2) in /home/gift1/public_html/referer.

Re: [PHP] query in php

2005-09-26 Thread Rory Browne
On 9/26/05, Suresh Pandian <[EMAIL PROTECTED]> wrote: > respected sir, Respect is a two way process. You are more likely to get a response if we respect you. We are more likely to respect you if you make some effort to solve your own problem, and outline the steps you took, and how they didn't wo

Re: [PHP] query in php

2005-09-26 Thread Jochem Maas
Suresh Pandian wrote: respected sir, i have a query about how to open a audio file and upload as well as download in a website using php. plz send me a tutorial help related to it. I always find these 2 sites very helpful when I need information on uploading and opening audio files: htt

[PHP] query in php

2005-09-26 Thread Suresh Pandian
respected sir, i have a query about how to open a audio file and upload as well as download in a website using php. plz send me a tutorial help related to it. thanks Suresh.P - Yahoo! India Matrimony: Find your partner now.

Re: [PHP] QUERY TOKENIZER WAS Re: [new version] Re: [a proactive....

2005-09-12 Thread Jochem Maas
Jay Blanchard wrote: [snip] This is another rather hackish attempt at using the tokeniser. Which isn't perfect by a long shot, but I'm away home now so it'll have to do. I'd be interested to know what it makes of your queries. [/snip] This little slice of code is really well done, and I think

RE: [PHP] QUERY TOKENIZER WAS Re: [new version] Re: [a proactive....

2005-08-26 Thread Jay Blanchard
[snip] This is another rather hackish attempt at using the tokeniser. Which isn't perfect by a long shot, but I'm away home now so it'll have to do. I'd be interested to know what it makes of your queries. [/snip] This little slice of code is really well done, and I think that when it is combine

  1   2   3   4   >