php-general Digest 23 Apr 2007 12:10:11 - Issue 4751
Topics (messages 253500 through 253513):
Why do i get this error message?
253500 by: H.T
253501 by: Buesching, Logan J
Re: Best practices to ensure compatibility with PHP 6
253502 by: Davi
253508 by:
Don Don wrote:
Hi all how can i make my phpmyadmin run fast on windows ? I installed
phpmyadmin on a linux and windows machines, but the windows version runs
(executes) too slow, i.e. it takes to long for a page to be loaded, while
it take less that 3 secs for the linux version. Both
Davi wrote:
Em Domingo 22 Abril 2007 18:54, [EMAIL PROTECTED] escreveu:
...
Have a look at PHP metting [1] and PHP-wiki [2]... =]
[1] - http://www.php.net/~derick/meeting-notes.html
[2] - http://oss.backendmedia.com/PhP60
Thank you for the links - it will get me started.
--
PHP General
Hi Fellows,
I'm getting this warning on my website:
Warning: Unknown: Your script possibly relies on a session side-effect
which existed until PHP 4.2.3. Please be advised that the session
extension does not consider global variables as a source of data, unless
register_globals is enabled. You
post some code please ...
Sascha Braun wrote:
Hi Fellows,
...
I'm actually not using cookies,
using cookies is the highly recommended over passing the SID via the url,
if your loosing the session data for some [ajax] request then that means
php is not seeing or recieving the SID via the
I'm doing some experimenting with the unset() (http://php.net/unset)
language construct in a PHP 5.2.1 installation. I did not find any
documentation on what happens to an identically named local variable's
value after an unset is performed.
Let me start with this example:
?php
function
Hi Logan, yes
reason being the linux box is live and the windows box is dev.
Buesching, Logan J [EMAIL PROTECTED] wrote: You say they both have the same
config, so do you mean that they both
have the same version of PHP, same computer setup (Memory, CPU speed,
HDD speed), both running the same
Hi guys and girls,
I have question for you all.
I have developed a flash application which is a test for students. For each
test their is an accompanying excel spreadsheet that has information related
to each question they have answered and whether they got it right or wrong.
I am
2007. 04. 23, hétfő keltezéssel 22.09-kor Nathan Wallis ezt írta:
Hi guys and girls,
I have question for you all.
I have developed a flash application which is a test for students. For each
test their is an accompanying excel spreadsheet that has information related
to each
You can cheat...
If you have MySQL running on that server, write the results to a DB (so
that lost emails/files/scores can be recovered) and then do a data pull
from it at the end, making the file a csv file.
Or, just make your file a csv file and email it out... There are a
number of
Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:
On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:
?php $MAC = system(arp 192.168.200.254); echo $MAC; ?
does not give me any
output. I have copied arp to a place that the apache user can execute
from and ensured arp is
On Mon, 2007-04-23 at 14:04 +0300, Robert Enyedi wrote:
I'm doing some experimenting with the unset() (http://php.net/unset)
language construct in a PHP 5.2.1 installation. I did not find any
documentation on what happens to an identically named local variable's
value after an unset is
Hey Rob,
even though I have never worked with that feature (nor have I even read
about it), your explanation made the usage of unset() very clear, even to
me... the german coder *g*
That's gonna go into my printed code folder :o) Thanks for the explanation!
Chris
- Original Message
On Monday 23 April 2007 15:09, Nathan Wallis wrote:
Hi guys and girls,
I have question for you all.
I have developed a flash application which is a test for students. For
each test their is an accompanying excel spreadsheet that has information
related to each question they have
On Apr 22, 2007, at 1:29 AM, Richard Lynch wrote:
On Sun, April 22, 2007 12:54 am, [EMAIL PROTECTED] wrote:
-- or maybe it's just the PCRE extension
-- or quite likely I have got something wrong
Hello members,
I'm hoping you could enlighten me.
Using error_reporting = E_ALL | E_STRICT, I
Is there any kind of standard
for a PHP/SQL/XML addressbook?
--
Timothy Murphy
e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
--
PHP General Mailing List (http://www.php.net/)
To
I'm trying to understand from the examples why anyone
that has get_magic_quotes_gpc() returning true would
need to use stripslashes() and then mysql_real_escape_string().
wouldn't that just add slashes to the same places?
berber
-Original Message-
From: Buesching, Logan J
On Mon, 2007-04-23 at 08:36 -0500, Philip Thompson wrote:
On Apr 22, 2007, at 1:29 AM, Richard Lynch wrote:
On Sun, April 22, 2007 12:54 am, [EMAIL PROTECTED] wrote:
-- or maybe it's just the PCRE extension
-- or quite likely I have got something wrong
Hello members,
I'm hoping
Rob,
Thanks for the detailed explanation about the reference assignments that
are happening in the background. Now things start to make sense :-)
Regards,
Robert
Robert Cummings wrote:
On Mon, 2007-04-23 at 14:04 +0300, Robert Enyedi wrote:
I'm doing some experimenting with the unset()
On Apr 22, 2007, at 5:47 PM, H.T wrote:
I get this error message when i try to check my site on localhost
running
IIS and PHP 5.1.2 :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 24576 bytes) in ...
and it points to the line which is pure html code!
What
On 4/23/07, WeberSites LTD [EMAIL PROTECTED] wrote:
I'm trying to understand from the examples why anyone
that has get_magic_quotes_gpc() returning true would
need to use stripslashes() and then mysql_real_escape_string().
wouldn't that just add slashes to the same places?
berber
Yes, sort
I just upgraded to PHP 5 from PHP 4. I am using the crack lib
function for password dictionary uniqueness. However, now my
web page utilizing the crack-lib is crashing with
PHP Fatal error: Call to undefined function crack_opendict().
Does anyone know of a specific Crack-lib module I can
On 4/23/07, Davide Bernard [EMAIL PROTECTED] wrote:
I just upgraded to PHP 5 from PHP 4. I am using the crack lib
function for password dictionary uniqueness. However, now my
web page utilizing the crack-lib is crashing with
PHP Fatal error: Call to undefined function crack_opendict().
Does
Timothy Murphy wrote:
Is there any kind of standard
for a PHP/SQL/XML addressbook?
Are you asking if there is any type of standard for building an address book in
general?
That you are using PHP/SQL/XML is your preference.
With a few clicks from Google, I found these:
On 4/23/07, Davide Bernard [EMAIL PROTECTED] wrote:
Tried this at the root level and got the response below...
sudo: pecl: command not found
I am on a Suse linux box and I install the PEAR package with YAST.
Eric Butera [EMAIL PROTECTED] 4/23/2007 10:17 AM
On 4/23/07, Davide Bernard
Hi all i have found a bug in my db class when i use the recursion.
I try to use the adjacency list model to develop a three menu but
when i call the function in recursive way i loose data because
the value returned from the fetch seem to be empty.
I have db table like this:
table catalog
ID |
On 4/23/07, kioto [EMAIL PROTECTED] wrote:
Hi all i have found a bug in my db class when i use the recursion.
I try to use the adjacency list model to develop a three menu but
when i call the function in recursive way i loose data because
the value returned from the fetch seem to be empty.
I
I want to print [EMAIL PROTECTED] into a gif or png.
How do I do this?
Thanks. It seems too simple to ask.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I want to print [EMAIL PROTECTED] into a gif or png.
How do I do this?
Thanks. It seems too simple to ask.
[/snip]
It is. http://www.php.net/gd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No. That is a common mistake amongst the uninformed. Addslashes
doesn't take into effect character encodings, while
mysql_real_escape_string does. Please take a look at this article:
http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-st
ring
-Logan
-Original
This script work on it's own but fails when emeded in another php file. All
I want to do is create a function and call it passing a text parameter. Also
is it possbile to output the image to a file insert the url into a img
tag?
?php
header(Content-type: image/png);
$im = imagecreate (800,
Is it still in the same directory as the font you're calling? Try
removing all spaces from the filename, then modifying it in your PHP code,
calling the full path (or relative path). If none of this seems to be the
case, make sure your PHP script isn't trying to output anything before this
I had some issue when I tried CSV in the past. I don't know if there was some
issue with use of commas in the data and not getting Excel to properly use
some data, with commas, some more data so that it'd omit the quotes as well
or what. In the end, for the quick and dirty throwaway project I
You are correct, I'm not very familiar with Perl.
If I do go the route of using something else to accept the form data and
then executing the PHP script, I'd be leaning more toward somehow
executing the PHP script directly rather then sending back a redirect to
the user-agent to re-send the
Edward Vermillion wrote:
On Apr 21, 2007, at 6:35 PM, Justin Frim wrote:
I've always gone by the rule that if you're making software that
other people will see or use, make it clean.
Sometimes I'll cheat and stick a @ symbol in front of a line to
shut up errors and warnings for that
On Mon, 2007-04-23 at 15:56 -0400, Justin Frim wrote:
Edward Vermillion wrote:
On Apr 21, 2007, at 6:35 PM, Justin Frim wrote:
I've always gone by the rule that if you're making software that
other people will see or use, make it clean.
Sometimes I'll cheat and stick a @ symbol in
I am very new to PHP. Can anyone tell me how do I
compile my php 5 code?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/23/07, Davide Bernard [EMAIL PROTECTED] wrote:
I am very new to PHP. Can anyone tell me how do I
compile my php 5 code?
First you should tell us which operating system you are using, is it
windows or is it linux?
If it's windows you'd be better off using the binary.
If you're using
On Monday 23 April 2007 22:58, Davide Bernard wrote:
I am very new to PHP. Can anyone tell me how do I
compile my php 5 code?
First you need a J++ compiler.. then you probably need some C# knowledge...
that would certainly not hurt.
After a good night sleep. Take a left out of the Bed, Turn
Or if you're wondering how to compile a .php file for viewing on the web
(or running from the command line), then don't worry about it. PHP is meant
to be compiled at runtime.
If you're looking to find out how to *obfuscate* your code (such as what
companies like WHM Autopilot and
Actually I want to compile my php 5 code --with-crack[=DIR] option. in order
to use the crack lib.
Daniel Brown [EMAIL PROTECTED] 4/23/2007 4:27 PM
Or if you're wondering how to compile a .php file for viewing on the web
(or running from the command line), then don't worry about it. PHP is
On Mon, 2007-04-23 at 23:03 +0200, Børge Holen wrote:
On Monday 23 April 2007 22:58, Davide Bernard wrote:
I am very new to PHP. Can anyone tell me how do I
compile my php 5 code?
First you need a J++ compiler.. then you probably need some C# knowledge...
that would certainly not hurt.
kioto wrote:
Hi all i have found a bug in my db class when i use the recursion.
I try to use the adjacency list model to develop a three menu but
when i call the function in recursive way i loose data because
the value returned from the fetch seem to be empty.
I have db table like this:
table
Hello,
I have a couple classes that generate navigation and a few other dynamic
xHTML template-based things...
What is standard practice for calling your template classes? In other
words: Is it good practice to create the class object for every page
view, or is there a better way to cache
Micky Hulse wrote:
What is standard practice for calling your template classes? In other
words: Is it good practice to create the class object for every page
view, or is there a better way to cache the object? I am using PHP 4.x.
Ack! Just found this great thread on Sitepoint:
Jim Lucas wrote:
Is there any kind of standard
for a PHP/SQL/XML addressbook?
Are you asking if there is any type of standard for building an address
book in general?
That you are using PHP/SQL/XML is your preference.
With a few clicks from Google, I found these:
This question is a two parter
a) anyone else noticing filetype() failing on ISO image files?
Warning: filetype(): Lstat failed for /var/lib/samba/some/file.iso
b) I have a script that during processing will eventually call
exec('/usr/bin/file -bi '.$file)
over 1000 times, I've added a
Justin Frim wrote:
You are correct, I'm not very familiar with Perl.
If I do go the route of using something else to accept the form data
and then executing the PHP script, I'd be leaning more toward somehow
executing the PHP script directly rather then sending back a redirect
to the
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create an installation Wizard for my
application. What it
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote:
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
NSIS, nullsoft installer is a nice installer to use for Windows applications.
http://nsis.sourceforge.net/Main_Page
--
PHP Users,
I am developing a content management system, and one of the goals is to
separate out the design entirely from the PHP scripting and content.
All the PHP scripts which contain the logic that drives the site are all
in the web site's root directory, where the main index.php is
51 matches
Mail list logo