Re: [PHP-DB] apostrophes everywhere

2006-02-20 Thread Stut
[EMAIL PROTECTED] wrote: I looked at serveral of the function suggestions and indeed stumbled accross htmlspecialchars when doing research on another suggestion: mysqli_real_escape_string which I couldn't use since I'm not on PHP5. While htmlspecialchars may not offer as much security as the

[PHP-DB] Fsockopen issues

2006-02-20 Thread Yemi Obembe
Is it possible (and advisable) to make multiple Get/head request through one fsockopen handle. eg: $fp = fsockopen($host, 80); $request = GET /one.htm HTTP/1.0\r\n; ... fputs($fp, $request); . //and then, another request through same handle: $request2 = GET /two.htm HTTP/1.0\r\n;

[PHP-DB] htacces/ php

2006-02-20 Thread Yemi Obembe
Any php way of knowing if a site has blocked hot linking to its images? -- http://ngBot.com | http://wap.ngBot.com Nigeria's #1 website directory.

[PHP-DB] PDO Informix

2006-02-20 Thread Jean Georges PERRIN
Hi, I am looking for php_pdo_informix.dll which is the compiled version of the PDO driver for Windows XP. Any help would be useful. (and it is not in the latest .zip from PHP.net). Thanks. Jean Georges Perrin (aka jgp) IIUG (International Informix Users Group) - Board of Directors

[PHP-DB] Help with Variable Variables in Array

2006-02-20 Thread Andrew Darby
Hi, all. I can't quite figure out how to call the contents of a variable variable in a mysql_fetch_array result and was hoping someone could help . . . inside the fetch all rows while loop, i have the following: $right_row = $ . myrow . [' . $type . _title']; ($type is assigned elsewhere, but

[PHP-DB] Issues with Oracle

2006-02-20 Thread ERNESTO PENALOZA
---BeginMessage--- Hi, I'm using Oracle 8i and the propel project as the persistence layer. In the server is installed Instant Client of ORACLE v10.2. I'm also using PHP 5.1.2. The thing here is that after several hours, I got disconnected from Oracle for configuration reasons, and I get the

[PHP-DB] Future Event

2006-02-20 Thread Mark Bomgardner
Is there a way in php to execute a SELECT statement in the future? What I am wanting to do is use a page to parse a database at a future time. I want to send out some email about an event I am putting on, but I don't want to execute the select statement until 2:00am. I could use cron for

[PHP-DB] Data split: web local machine

2006-02-20 Thread Miles Thompson
I have to generate a comma-separated(CSV) file of amounts and credit card numbers for secure transmittal to the bank. The CSV file is read by a bank-endorsed program, encrypted and transmitted. Most of the billing information: amount, period date, name, billing number is stored on the web

RE: [PHP-DB] Future Event

2006-02-20 Thread Bastien Koert
Put it all in a separate page and call that page from another machine where CRON/SCheduled Tasks are allowedor put a time check in your page and call it like a function whevever users hit your site bastien From: Mark Bomgardner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Php-Db

Re: [PHP-DB] Future Event

2006-02-20 Thread RaJeSh VeNkAtA
On Mon, 20 Feb 2006, Mark Bomgardner wrote: Is there a way in php to execute a SELECT statement in the future? What I am wanting to do is use a page to parse a database at a future time. I want to send out some email about an event I am putting on, but I don't want to execute the select

Re: [PHP-DB] Issues with Oracle

2006-02-20 Thread Luis Morales
Creo q tu problema esta con la forma de conexion contra oracle, trata de usar contexiones persistentes contra la base de datos. Te anexo una clase que desarrolle y estoy usando desde hace mas de 4 aƱos, quizas te ayude. En tu servidor local instala el soporte a pear

Re: [PHP-DB] Future Event

2006-02-20 Thread JupiterHost.Net
Mark Bomgardner wrote: Is there a way in php to execute a SELECT statement in the future? What only if its running in the future :) You can trigger it when a visitor visits your page but what are the chances someone will visit it at 2:000 AM exactly every night? You can run it as a

Re: [PHP-DB] Help with Variable Variables in Array

2006-02-20 Thread Andrew Darby
Thanks so much, Naintara, simplifying the field name in the way you suggested seems to fix it. Andrew On 2/20/06, Naintara [EMAIL PROTECTED] wrote: Hi, Firstly, if you are assigning the value of variable $myrow['article_title'] to $right_row, you should print $right_row and not $$right_row

RE: [PHP-DB] Data split: web local machine

2006-02-20 Thread Bastien Koert
do the last one, but have another empty db on the machine that only accepts the data from the web serverprotect and hide the cc data as long as possible...then run a query behind the firewall to merge the data and send it bastien From: Miles Thompson [EMAIL PROTECTED] To:

[PHP-DB] Compile Error

2006-02-20 Thread Benjamin Stambaugh
Hi. I have been having issues with PHP compiling. It was workin fine until a day ago and now every time I try to access a page with any kinda of PHP script I comes up with errors. I just worte this simple code for the purpose to demonstrate my problem. When I access the file through my web