php-general Digest 1 Jun 2011 14:50:48 - Issue 7338
Topics (messages 313285 through 313291):
Re: displaying a pdf
313285 by: Tamara Temple
313290 by: Richard Quadling
Re: https help
313286 by: Tamara Temple
313289 by: Negin Nickparsa
Re: php causes HTTP
php-general Digest 2 Jun 2011 02:53:52 - Issue 7339
Topics (messages 313292 through 313306):
Re: displaying a pdf
313292 by: Jim Giner
313296 by: Tamara Temple
313298 by: Ashley Sheridan
building a key value pair dynamically
313293 by: Adam Preece
On May 31, 2011, at 12:34 AM, Negin Nickparsa wrote:
I need to create a login page with HTTPS to yahoo
Do I have to have a valid certificate?
I have not trust certification centre, so before anything under
HTTPS will
be shown up, the window will come with information: valid
certificate:
On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
Hello Sean,
Here is my apache config for error handling.
403, 404 works fine, but 500 shows blank page
Alias /errorpage/ /usr/local/www/apache22/errorpage/
Directory /usr/local/www/apache22/errorpage/
AllowOverride None
Options -Indexes
All 403, 404, 500.html are static html pages like:
div
500 error happens
/div
On Wed, Jun 1, 2011 at 14:10, Tamara Temple tamouse.li...@gmail.com wrote:
On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
Hello Sean,
Here is my apache config for error handling.
403, 404 works fine, but 500
Thank you
On 1 June 2011 06:53, Tamara Temple tamouse.li...@gmail.com wrote:
On May 30, 2011, at 10:01 AM, Jim Giner wrote:
Thanks for the attempt Simon, but your code only displayed gibberish.
While looking around again for help, I found this and it works perfectly:
?php
session_start();
//
//
On Tue, 31 May 2011 21:01:09 +0100, Stuart Dallas wrote:
Sometimes I miss the way the web was before javascript :/
Sometimes???
Jonesy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well - the code works just fine as is and that's all I care about. As for
Richard's comments - the url in my header(Location) statement points to
a pdf file, not a php file, so the target is not sending any headers (that I
know of ).
--
PHP General Mailing List (http://www.php.net/)
hi all,
is it possible to dynamically build a key value pair array in php from a
database result?
if so how?
kind regards
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with mysql use mysql_fetch_assoc, is that what you are asking for ?
On 1 June 2011 16:31, Adam Preece a...@blueyonder.co.uk wrote:
hi all,
is it possible to dynamically build a key value pair array in php from a
database result?
if so how?
kind regards
Adam
--
PHP General Mailing
sorry i should of explained a little more in depth :-).
i am using smarty templating engine,
and it needs me to pass in an associative array.
only an id column and a the name column.
i know if i use a more specific query, but if i have the result set already
could i build the array so it
On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
Well - the code works just fine as is and that's all I care about.
As for
Richard's comments - the url in my header(Location) statement
points to
a pdf file, not a php file, so the target is not sending any headers
(that I
know of ).
On Jun 1, 2011, at 10:40 AM, Adam Preece wrote:
sorry i should of explained a little more in depth :-).
i am using smarty templating engine,
and it needs me to pass in an associative array.
only an id column and a the name column.
i know if i use a more specific query, but if i have the
On Wed, 2011-06-01 at 13:31 -0500, Tamara Temple wrote:
On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
Well - the code works just fine as is and that's all I care about.
As for
Richard's comments - the url in my header(Location) statement
points to
a pdf file, not a php file,
Hi there,
I am working on a pretty huge site with thousands of files with php
code. Unfortunatelly the app throws a ton of notices du to missing '' in
arrays. Of course I could simply disable the output on the dev server to
surpress notices, but I would rather like to get it fixed.
Has
I am working on a pretty huge site with thousands of files with php code.
Unfortunatelly the app throws a ton of notices du to missing '' in arrays. Of
course I could simply disable the output on the dev server to surpress
notices, but I would rather like to get it fixed.
Has somebody a
You can put an @ symbol in front each item that is throwing the error.
That may take some time though. You could use something like
find /htdocs_folder -name \*.php -print | xargs sed -i
s/\$array_name/@$array_name/g
That might get you what you're looking for. But be cautious because this
I was thinking about this a little more and thought that the method I sent
before will work, but it has the potential of clobbering variables that are
not related to this warning/notice. Best bet would be to create a list of
file names that contain the offending variables then feed that to sed
On Wed, Jun 1, 2011 at 6:26 PM, Merlin Morgenstern merli...@fastmail.fmwrote:
Hi there,
I am working on a pretty huge site with thousands of files with php code.
Unfortunatelly the app throws a ton of notices du to missing '' in arrays.
Of course I could simply disable the output on the dev
hi, all
i currently have a project which using operator on creating a new object.
like:
$class = new Class();
it works properly in php 5.1.6,
but not in php 5.3.3
and it gives offset errors to me.
is there anyone knows why and how to fix this problem?
On 2/06/2011, at 2:44 PM, 李白|字一日 wrote:
hi, all
i currently have a project which using operator on creating a new object.
like:
$class = new Class();
it works properly in php 5.1.6,
but not in php 5.3.3
and it gives offset errors to me.
is there anyone knows why and how to fix
both php 5.1.6 and php 5.3.3 are php 5.
but it seems they are different in processing operator.
2011/6/2 Simon J Welsh si...@welsh.co.nz
On 2/06/2011, at 2:44 PM, 李白|字一日 wrote:
hi, all
i currently have a project which using operator on creating a new
object.
like:
$class = new
2011/6/2 Merlin Morgenstern merli...@fastmail.fm:
Hi there,
I am working on a pretty huge site with thousands of files with php code.
Unfortunatelly the app throws a ton of notices du to missing '' in arrays.
Of course I could simply disable the output on the dev server to surpress
notices,
24 matches
Mail list logo