Kelvin Park wrote:
mySQL database becomes inaccessible after a buggy sql string gets queried.
The SQL server runs fine, however it seems like just the database is being
looped infinitely so to say.
Here is an example:
(PHP)
$sql = "SELECT * FROM DB_TABLE WHERE PR_NUMBER = $whatever, DFLJJ =
$SD;
mySQL database becomes inaccessible after a buggy sql string gets queried.
The SQL server runs fine, however it seems like just the database is being
looped infinitely so to say.
Here is an example:
(PHP)
$sql = "SELECT * FROM DB_TABLE WHERE PR_NUMBER = $whatever, DFLJJ =
$SD;LOOE"; (<-- invalid s
Sir,u r not getting what i m trying to say,my problem is how can i send the
values of s in a perticuler row,by a function in onClick event of that
row.actuallly the values are coming from database,and i what i want when i
click a perticuler row the values are sent to some other page:
monu23
On Aug 13, 2007, at 2:16 PM, Richard Lynch wrote:
Of course, the question of whether it's a Good Idea to show something
different for a manual Refresh versus META refresh springs to mind...
I can't see why you'd want to do this for anything other than
educational purposes...
Well, as the OP,
On Sat, August 11, 2007 9:39 pm, Robert Cummings wrote:
> On Sat, 2007-08-11 at 19:36 -0700, Geoff Nicol wrote:
>> Rob,
>>
>> What you suggested, which matches the theory of what I and others
>> suggested, would certainly work as an ID that changes is involved.
>>
>> If you read the specific postin
OpenSSL has a secondary dependency on libeay or whatever it is.
PHP might *think* it has OpenSSL, but until OpenSSL can also load in
the libeay thingie, it ain't gonna work.
It can be confusing, especially when the error log shows something
about openssl but doesn't say what openssl is missing, a
On Sat, August 11, 2007 2:21 am, AmirBehzad Eslami wrote:
> I know that the performance here is not very much, but is it
> considerable in a high-traffic website?
It's almost for sure meaningless in any real-world website.
Use "valgrind callgrind" to find your real bottlenecks, and focus on
those
On Sat, August 11, 2007 4:58 am, shivendra wrote:
>
> hello friends,
> i need your ehlp,actually i have a tablbe in my php page,the format is
> something like this:
>
>
> monu23
>
>
> monu23
>
>
> What i want,when i click a row like row "t1" the values of this
> particuler
> row,i means to sa
On Sat, August 11, 2007 1:54 pm, Michael Cooper wrote:
> Hello, I have a question--is the note from equazcion here correct? It
> is left unchallenged on the page but I can't see how it is correct
> since I am under the impression that the environment is refreshed each
> page load and the function
On Sun, August 12, 2007 2:35 am, Alain Roger wrote:
> I'm getting an error message when i run the following SQL request :
> $sql = "INSERT INTO tmp_importedxls (rec_id, publisher) VALUES (SELECT
> nextval('tmp_importedxls_rec_id_seq'),'$pb')";
>
> Error in SQL query: ERROR: syntax error at or near
Are you using E_ALL?
Any error messages?
My first suspect is you are hitting php.ini time_limit setting, or
possibly the memory_limit.
On Sun, August 12, 2007 7:09 am, Alain Roger wrote:
> Hi,
>
> I'm still working on importing CSV file content (20.000 records) to
> database
> PostgreSQL.
>
> wh
On Sun, August 12, 2007 8:52 pm, Jay Blanchard wrote:
> Evening all! (at least it is evening here in Texas)
>
> We all have our favorite PHP books and resources but there is one tome
> that seems to be missing from the group...a "best practices" book. We
> all have our preferences for what we call
On Sun, August 12, 2007 10:32 pm, Rick Knight wrote:
> I have just installed PHP-5.2.3 on my Kubuntu Feisty box. I removed
> all
> the debian php first and then compiled php with the options I needed.
> Now everything seems to be working except phpinfo.php which consists
> of
> one line.
>
>
>
>
>
On Mon, August 13, 2007 4:37 am, Nathan Wallis wrote:
> Just a follow up to my post about running an application server side
> and the
> introduction of sockets.
>
> My application is really just to modify a series of images on the
> server and
> combine them into a collage of images as a single fi
On Mon, August 13, 2007 4:45 am, Per Jessen wrote:
> I've got a weird issue concerning $_GET and apaches content
> negotiation.
>
> situation one:
>
> files in htdocs/:
>
> phpinfo.phtml.en (all it does is call phpinfo()).
> phpinfo.html - apache type-map
>
> if I load URL = https://server/phpinfo
On Mon, August 13, 2007 8:03 am, Chris Boget wrote:
> Currently, I have an XML file that I load in, parse manually and
> iterate
> through the nodes to create objects, etc, using the node values as
> parameters. This works all well and fine but is a little resource
> intensive.
>
> Now, I can crea
On Mon, August 13, 2007 12:50 pm, Kevin Murphy wrote:
> Small issue with formatting a date. If I type in this:
>
> echo date("g:i:s a \o\n l F j, Y");
>
> the "n" character in the word "on" doesn't appear, but instead what I
> get is a new line in the source code. If I type it as:
>
> echo date("g:
Kevin Murphy wrote:
Small issue with formatting a date. If I type in this:
echo date("g:i:s a \o\n l F j, Y");
the "n" character in the word "on" doesn't appear, but instead what I
get is a new line in the source code. If I type it as:
echo date("g:i:s a \on l F j, Y");
I get the number 8 (
Small issue with formatting a date. If I type in this:
echo date("g:i:s a \o\n l F j, Y");
the "n" character in the word "on" doesn't appear, but instead what I
get is a new line in the source code. If I type it as:
echo date("g:i:s a \on l F j, Y");
I get the number 8 (current month) where
On Mon, 2007-08-13 at 17:07 +0100, Lester Caine wrote:
> Stut wrote:
> > Rick Knight wrote:
> >> Thanks Chris,
> >>
> >> That was the problem. Is this new php5? I've used 3 prior php4 version
> >> and didn't have this problem.
> >
> > The default value for short_open_tags was flipped a while back
Richard Heyes wrote:
The default value for short_open_tags was flipped a while back.
Might I suggest you read the changelog next time you upgrade to a
newer version - it tells you important stuff like that.
The problem people will have is having to go through ALL the PHP5
changes when convert
The default value for short_open_tags was flipped a while back. Might
I suggest you read the changelog next time you upgrade to a newer
version - it tells you important stuff like that.
The problem people will have is having to go through ALL the PHP5
changes when converting from PHP4.
Why i
Stut wrote:
Rick Knight wrote:
Thanks Chris,
That was the problem. Is this new php5? I've used 3 prior php4 version
and didn't have this problem.
The default value for short_open_tags was flipped a while back. Might I
suggest you read the changelog next time you upgrade to a newer version
In news: [EMAIL PROTECTED] - "Joker7" wrote :
>> Hi All-seeing All-knowing Ones :)
Thanks for all the suggestion I will have a play and see where it leads.
It's for a time stamp picture from a cam I wish to keep the time stamp ones
but use the newest one for a web-cam photo on a site.
Chris
The default value for short_open_tags was flipped a while back. Might I
suggest you read the changelog next time you upgrade to a newer version
- it tells you important stuff like that.
And, FWIW, never use short tags. Always use http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk
At 8:06 PM -0700 8/12/07, Janet Valade wrote:
Jay Blanchard wrote:
If there was a best practices book would you buy it?
I would buy it. But, I buy tons of books.
Janet
Same here.
In college, if I didn't have time to read something I Xeroxed it --
now I just buy the book. :-)
Cheers,
At 8:52 PM -0500 8/12/07, Jay Blanchard wrote:
Evening all! (at least it is evening here in Texas)
We all have our favorite PHP books and resources but there is one tome
that seems to be missing from the group...a "best practices" book. We
all have our preferences for what we call best practices
Rick Knight wrote:
Thanks Chris,
That was the problem. Is this new php5? I've used 3 prior php4 version
and didn't have this problem.
The default value for short_open_tags was flipped a while back. Might I
suggest you read the changelog next time you upgrade to a newer version
- it tells yo
Thanks Chris,
That was the problem. Is this new php5? I've used 3 prior php4 version
and didn't have this problem.
Thanks,
Rick
Chris wrote:
You probably just have short_open_tags set to Off in your php.ini
file. If so, either turn it On, or change the file to be:
Chris
Rick Knight wrot
At 12:10 PM +0200 8/13/07, Tijnema wrote:
On 8/13/07, tedd <[EMAIL PROTECTED]> wrote:
But, if I see this:
>
if(!isset($argv[1],$argv[2],$argv[3])))
My first thought is "Is this OR or AND"? And my second thought is "If
this is OR, then what's AND?"
Being dyslexic I'm easily confused that w
shivendra wrote:
hello friends,
i need your ehlp,actually i have a tablbe in my php page,the format is
something like this:
monu23
monu23
What i want,when i click a row like row "t1" the values of this particuler
row,i means to say the value in s((monu,23) of this row is send to some
other
On 8/12/07, tedd <[EMAIL PROTECTED]> wrote:
> For example, if your wife says (and you're not listening as usual)
> "Do these pants make my butt look big?" Neither answer is going to
> help much. But, if said separately, you at least have a chance of
> surviving the ordeal.
And I'll also point
On Monday 13 August 2007, Dave M G wrote:
> Larry,
>
> Thank you for responding.
>
> > ... you want to be using mysql_fetch_assoc() instead...
>
> Thank you, that helps me achieve what I need.
>
> > Or, better yet, use mysqli_ ... if
> > you're running PHP 5 (which you are, right?
>
> Yes, I am run
On 8/13/07, Chris Boget <[EMAIL PROTECTED]> wrote:
> Currently, I have an XML file that I load in, parse manually and iterate
> through the nodes to create objects, etc, using the node values as
> parameters. This works all well and fine but is a little resource
> intensive.
>
> Now, I can create
Currently, I have an XML file that I load in, parse manually and iterate
through the nodes to create objects, etc, using the node values as
parameters. This works all well and fine but is a little resource
intensive.
Now, I can create a XSL template to transform the XML file and output
all the PH
Per Jessen wrote:
Tijnema wrote:
This has nothing to do with PHP, and there's only a very little chance
you get a successfull result here.
Your Apache type-map probably just doesn't take the $_GET variables
with it,
Yeah, that is possible - I was wondering whether to blaim PHP or Apache.
I j
Tijnema wrote:
> This has nothing to do with PHP, and there's only a very little chance
> you get a successfull result here.
> Your Apache type-map probably just doesn't take the $_GET variables
> with it,
Yeah, that is possible - I was wondering whether to blaim PHP or Apache.
I just thought th
On 8/13/07, Per Jessen <[EMAIL PROTECTED]> wrote:
> All,
>
> I've got a weird issue concerning $_GET and apaches content negotiation.
>
> situation one:
>
> files in htdocs/:
>
> phpinfo.phtml.en (all it does is call phpinfo()).
> phpinfo.html - apache type-map
>
> if I load URL = https://server/p
On 8/13/07, Nathan Wallis <[EMAIL PROTECTED]> wrote:
> Just a follow up to my post about running an application server side and the
> introduction of sockets.
>
>
> My application is really just to modify a series of images on the server and
> combine them into a collage of images as a single file
Per Jessen wrote:
> All,
>
> I've got a weird issue concerning $_GET and apaches content
> negotiation.
I should have mentioned I'm using php 5.2.0 and apache 2.2.3.
/Per Jessen, Zurich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/13/07, tedd <[EMAIL PROTECTED]> wrote:
> At 4:54 PM +0200 8/11/07, Tijnema wrote:
> >On 8/11/07, tedd <[EMAIL PROTECTED]> wrote:
> >> At 7:21 PM +0200 8/10/07, Tijnema wrote:
> >> >On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >> >
> > > > > if( !isset( $argv[1] ) || !isset( $a
All,
I've got a weird issue concerning $_GET and apaches content negotiation.
situation one:
files in htdocs/:
phpinfo.phtml.en (all it does is call phpinfo()).
phpinfo.html - apache type-map
if I load URL = https://server/phpinfo?klop=99, I see no _GET variables
listed. (with the URL, apach
Just a follow up to my post about running an application server side and the
introduction of sockets.
My application is really just to modify a series of images on the server and
combine them into a collage of images as a single file name. So I just say
go and wait for it to build the final fi
Larry,
Thank you for responding.
... you want to be using mysql_fetch_assoc() instead...
Thank you, that helps me achieve what I need.
Or, better yet, use mysqli_ ... if
you're running PHP 5 (which you are, right?
Yes, I am running PHP 5. However, this mysqli usage is clearly not as
simple a
44 matches
Mail list logo