im trying to make a distructor for a mysql class to kill the connection when
the object is destroyed using register_shutdown_function("~xmysql"); if i
put that in my class will it do that or am i getting confused. ~xmysql is a
destructor function i made. Heres the code, will it work how i want it
php-general Digest 15 Apr 2002 05:51:33 - Issue 1287
Topics (messages 92923 through 92948):
Re: PHP MySQL Hosting services
92923 by: phplists.woodenpickle.com
92928 by: eat pasta type fasta
92929 by: phplists.woodenpickle.com
92931 by: Steve
92934 by:
At 9:25 PM -0600 13/4/02, Matthew Walker wrote:
>I don't remember the name of the module offhand, but once upon a time, I
>used a perl module that would fork multiple threads so that you could
>execute several web queries at the same time. This saved a lot of time,
>if, for instance, you had to g
Don't know if anyone can help me with this one:
It's not directly a PHP question -- but maybe someone knows the fix?
I have a form, when the user presses the submit button, I pass the form vars
to my PHP checkform.php script -- which checks all the fields to make sure
the user entered the correc
Won't work for web connections, because it waits for each connection to
complete before running the next one.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Richard Creech [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:46 PM
To: [EMAIL PR
Hi,
I've rewritten the code to:
// Sends the Query
$sql_result = mysql_query($sql);
if (!$sql_result) {
echo "Can't execute $sql " . mysql_error();
exit;
}
if (mysql_num_rows($sql_result) == 0) {
$option_block .= "Sorry, your search has resulted in 0 records. Please try
again. \n";
}
/
hey ppl,
I need to create some fairly complex graphs dynamically, and I need to be
able to specify line, bar, or pie charts. Are there any PHP packages that
someone could point me to that would fill my needs. Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I'm trying to get my code to print out a "sorry - no results" message if
> there is no match. I've read the If statement in the PHP manual
> (http://www.php.net/manual/ro/control-structures.php#control-structures.if)
>
> and
>
> I thin
I'm trying to get my code to print out a "sorry - no results" message if
there is no match. I've read the If statement in the PHP manual
(http://www.php.net/manual/ro/control-structures.php#control-structures.if)
and
I think my code structure may be wrong.. am I wrong to nest it this way in
the
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I am displaying a folder tree and want to alternate the colors for each
> folder so my database table shows that for example the Apples folder is
> located under the Fruits folder. Therefore I want to know which row is odd
> or even so
When I install php after installing the IIS under win2k
The setup said " Due to missing OCX control , the automatic configuration
can not be done. " ...-_-
how can I fix this problem?
I dont have this problem before, but after formatting my hard drive and
reinstall win2k
this appear.
p
Hello,
I;m looking for such a script.
1.Users signup.
2.One are sellers and other buyers.
3.Buyer ask via form a question
4.Question is send to all buyers.
5.They respond (buyers)
6.User who asked a quesition choose the best answer and has option to view
user data.
Or a script that i can
When I install php after installing the IIS under win2k
The setup said " Due to missing OCX control , the automatic configuration
can not be done. " ...-_-
how can I fix this problem?
I dont have this problem before, but after formatting my hard drive and
reinstall win2k
this appear.
p
At 14.04.2002 14:55, you wrote:
>Thank's Oliver,
>now i have come up to this: print ("link german");
>?>
echo 'FOO");
>and this seems to work as long as i add these php tags inside html, but how
>do i insert this inside my array which is in the .js format (javascript) ?
>any ideas that could he
Hey.
I have the best hosting you can get.
for only $46 p/m
ALL THIS...
400 MB web space
Execution of Custom CGI scripts
Support for PERL
Support for C and C++
Support for SSI
Support for GCC
Support for GD
Support for 5 independent MySQL Databases
Own URL in the format
Extensive Support Forum
9
> Is there an easier way than having to manually place "global"
> in each function...??
It's not that hard :)
> Other than passing by parameter?
>
> Like is it possible to actually declare var's in PHP
> as global?
No. Consider arrays, constants, extract(), etc.
Regards,
Philip
--
PHP
Hey.
I have the best hosting you can get.
for only $46 p/m
ALL THIS...
a.. 400 MB web space
a.. Execution of Custom CGI scripts
a.. Support for PERL
a.. Support for C and C++
a.. Support for SSI
a.. Support for GCC
a.. Support for GD
a.. Support for 5 independent MySQL Databases
Own URL i
Thank's Oliver,
now i have come up to this: link german");
?>
and this seems to work as long as i add these php tags inside html, but how
do i insert this inside my array which is in the .js format (javascript) ?
any ideas that could help me? or would you need to look at the array?
thank you.
reg
Hello All,
IF you are using mySQL database then the php manual indicates you can run multiple
connections. Presumably you could execute several web queries at the same time, each
with its own connection. I haven't tried such, but the manual suggests it is possible:
http://www.php.net/manual/en/
Jennifer
Check out Hub.Org Networking services
http://www.hub.org
They have Virtual Machine that can be configured to your NEEDS without
affecting other clients and vice versa. and MANY other features
including ssh, ftp, cgi/perl and I believe they have also added MySQL
3.23 to the list.
Not
I am displaying a folder tree and want to alternate the colors for each
folder so my database table shows that for example the Apples folder is
located under the Fruits folder. Therefore I want to know which row is odd
or even so I can assign it different colors. Incidently, does anyone know
of
Yeah, I actually used to have a couple accounts with linuxwebhost.com...
They are nice and fast.. I just like the ability to be able to compile and
install my own software on the server..
Later,
Bob
"Eat Pasta Type Fasta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTEC
Check out linux web host comes with PHP and MySql
Their PHP compile is pretty nice, including GD support. Their DB is
run via phpMyAdmin.
http://www.linuxwebhost.com
>http://webpipe.net
>
>They seem to be doing good with uptime.. In the last couple months I've been
>having a monitoring service
Hi,
I'm not sure if this belongs to JavaScript or PHP section. I'm
running into problems when I'm trying to use php templates with embeded
JavaScript.
In my template file, I have something like...
function Show()
{
if(layer) {
if(timer) {
clearTimeout(timer);
}
for(men
Actually, if they are static variables that rarely or never change, I would
stick with the include file. It's faster than making a database connection
and selecting them.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: olinu
What would be the best way to make a set of variables
available to all visitors?
example:
if I stick all variables in a separate file and
include - include(settings.php); - that works fine.
seems that this is a lot of overhead to include these
on every page. These variables would never change
(t
PHP can fork but the docs say not to do it in a web server environment.
basically, it's only usable on *nix machines and in a shell scripting
environment.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Matthew Walker [mailto
http://webpipe.net
They seem to be doing good with uptime.. In the last couple months I've been
having a monitoring service check them frequently and so far we're at 100%..
Standard Virtual Package ($24.95/mo - $14.95 setup):
Linux RedHat 7.1
300mb Disk Space
25 POP3 Accounts
10GB/mo transfer
St
php-general Digest 14 Apr 2002 14:48:35 - Issue 1286
Topics (messages 92905 through 92922):
Re: Closing curly brackets? and BEING IGNORED!
92905 by: The_RadiX
Re: PHP MySQL Hosting services
92906 by: The_RadiX
92908 by: phplists.woodenpickle.com
Re: globals in func
Hi,
how can I use the shared memory functions for windows. I read before, that it is
possible.
Who can help me?
Thanks!
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 14 April 2002 19:04, The_RadiX wrote:
> haha
>
> Yeah you are right
>
> But in her case the question was quite heavily a PHP related one..
I wasn't commenting on any particular case.
> But yes I see what you mean, and no we don't want HTML q's in here...
Absolutely!
--
Jason Wong ->
If you know you're looking for Bob or Mike or John, you could select the
rows each time in your loop as an associative array.
mysql_fetch_array(result, MYSQL_ASSOC)
will do the trick.
"Sp" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If this is my database
Um, have you search the manual at all
I did two quick searches, and found some good hints... it may not be your
problem, but, it's a good starting point, before asking questions.
I started with setcookie():
"In PHP 3, multiple calls to setcookie() in the same script will be
performed
haha
Yeah you are right
But in her case the question was quite heavily a PHP related one..
But yes I see what you mean, and no we don't want HTML q's in here...
bye
::: Julien Bonastre
[The-Spectrum.org CEO] A.K.A. The_RadiX [EMAIL P
If this is my database result from a select then I need to know that Bob is
the 1st result, Mike is the 2nd result and John is the 3rd result ...
Name Address
===
Bob 121 King St.
Mike 99 Main St.
John 8433 Albert St.
Does mysql keep track of this? I know I
Sorry, but this problem hasn“t been solved yet, It drives me crazy.
At 12.04.2002 17:41, I wrote:
>Hi Folks,
>Does anybody know if there are differences in cookieprocessing
>between
>A.Suse 2.2.14-SMP/apache 1.3.12 / PHP 3.0.16 and
>B.Suse 2.4.9 /apache 1.3.20 / PHP 4.0.6
>I have moved "working
At 13.04.2002 12:04, you wrote:
>hi folks,
>i am somewhat like a new newbie, just read my first php tutorial, installed
>an apache server on my windows and php on top for testing , first question
>is : is this the right place for me here to ask questions or is this
>newsgroup rather for advanced
37 matches
Mail list logo