At the beginning of the code add following lines
error_reporting(E_ALL);
ini_set('display_error',1);
On Sat, Aug 29, 2009 at 8:28 AM, Keith Davis wrote:
> But how are you getting the data from the db?
>
> Does $rowqry represent a call using the mysql_fetch_array() function?
>
>
> Sent from my ma
Keith Davis wrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
mysql_fetch_assoc()
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
Sent from my magic iPhone,
Keith Davis 214-906-5183
On Aug 28, 2009, at 7:39 PM, "John Meyer"
wrote:
Devendra Jadhav wrote:
No need to do anything special. It should displa
John Meyer wrote:
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can
you provide little more information or code snippet?
$tweettable .=
preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@',
'$1',$row["TWEET_TEXT"]) . "" . "Sent at: "
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can
you provide little more information or code snippet?
$tweettable .=
preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@',
'$1',$row["TWEET_TEXT"]) . "" . "Sent at: " .
$rowqry["TWEET_
On 3/16/06, Bikram Suri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp
> installed on my machine but before wamp I had done a standalone installation
> of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the
> c:\PH
At 00:19 13.11.2002, Charlie Fowler said:
[snip]
>.c:/php/sessions/tmp .c:/php/sessions/tmp
>
>open(.c:/php/sessions/tmp\sess_fa42372dcdbde0e457309f134d71827f, O_RDWR)
>failed: Invalid argument (22) in C:\Program Files\Apache
>Group\Apache2\htdocs\SAMS\Chap
Message-
> From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
> Sent: 16 July 2002 11:32
> To: Jack
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: [PHP] Problem on file_exists()
>
>
> Jack wrote:
>
> >Dear all
> >I had a folder which the path is :
Jack wrote:
>Dear all
>I had a folder which the path is : (\\nedcoraa\pdf_reports\dealing
>room\report) it stores a lot of PDF reports in there.
>I'm trying to use the file_exists() function to detect if a specific file
>exist in this folder, but i got a problem is :
>It seems that php can go thr
Jack, try using forward slashes instead of backslashes;eg
$fp = fopen("//nedcoraa/pdf_reports/dealing/filename.ext", "r+");
Cheers
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 16 July 2002 5:02 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Proble
Hi Johan,
The globals that PHP sets up have changed since since PHP 4.2.x
See: http://www.php.net/release_4_2_0.php
You can turn on register_globals in the php.ini file but it is
recommended to use the more secure $_GET['test'] type variables.
Best Regards,
Patrick Lynch.
Optip Ltd, Internet &
The php directive track_vars is deprecated and is always
on. You appear to be referring to the register_globals
directive though, which is a hot topic these days in the
world of PHP.
If register_globals = on, then $text will exist in your
example (register_globals will create it). Otherwis
Yes but you can call the Header() function in the middle of the page if you
need to.
You just need to put this line as the VERY FIRST line of the script:
This uses the PHP Output Buffering functions.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 34601
What are the contents of $type? When opening the file directly, the browser
will probably use the specified $type information, as opposed to the
explorer using the file extension when the user saves it to disk, so the
problem may be that $type is not correct... ;)
HTH,
Fernando Madruga
-Or
Well, I tried using different code (from a newer message by Mukul
Sabharwal):
header("Content-length: $size");
header("Content-type: $type");
$fp = fopen($actualfile, 'rb') or print('Could not open file!');
$read = fread($fp, $size) or print('Could not read file');
print($read);
and this seems
15 matches
Mail list logo