php-general Digest 27 Aug 2005 09:53:43 - Issue 3648
Topics (messages 221450 through 221465):
Re: Sort table by column and pagination
221450 by: Philip Hallstrom
221453 by: Aaron Greenspan
Re: PHP Move Uploaded File
221451 by: Richard Lynch
[off T] c++ mailing list
php-general Digest 27 Aug 2005 23:10:04 - Issue 3649
Topics (messages 221466 through 221475):
Ahmed Abdel-Aliem has invited you to try Google Talk.
221466 by: Ahmed Abdel-Aliem
Re: PHP MySql Extension No Loading
221467 by: Bagus Nugroho
221474 by: Glen Zimmerman
Shafiq Rehman [EMAIL PROTECTED] writes:
Hi all,
Thanx to all of you. My server is running on Linux and there is not any
phpbb running on it. If vulnerability is in my code.. Is there any way that
I can find the buggy code on my server which allowed that trojan to write
into all the
Death Gauge wrote:
I've made a site with 5 sites in it and has about 6 MySQL/PHP News
databases. A while back I tried to use drop-down combo boxes to make a
single page that linked all 6 news scripts so I could pick one from the
drop-down enter the news and hit submit to add it to the site.
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
---
Ahmed Abdel-Aliem has invited
ensure you have php_mysql.dll on c:\PHP\ext
and don't forget to check php.ini location, it must comply with httpd.conf (
see PHPIniDir .) and restart apache after editing both of files.
From: Glen Zimmerman [mailto:[EMAIL PROTECTED]
Sent: Sat
Richard Lynch wrote:
The actual text is:
...in a Web service protocol FOR PHP
Good catch. The summary sent to the list was:
A new security flaw in the PHP Web service protocol used by a large
number of Web applications could allow attackers to take control of
vulnerable servers.
Thanks
Hello, guys
I am trying to configure apache_1.3.33 with php 4.3.9 on my linux box.
After adding LoadModule php4_module
/usr/lib64/httpd/modules/libphp4.so to http.conf, I started httpd by
apachectl start and got the following error message:
Cannot load /usr/lib64/httpd/modules/libphp4.so into
I want to check if multiple fields are empty and want to find the best
shorthand way to do it. What are the rules with brackets in PHP.
if (empty ($fname){
//do something
}
if (empty ($sname){
//the same thing
}
if (empty ($address){
//do the same ting again
}
R.
--
PHP General
Can anyone tell me what is wrong here?
?php
$data = a class=\new20030101\ href=\Zero01.jpg\Pic 1/a;
$info = sscanf($data,a class=\%s\ href=\%s\%s/a);
var_dump($info);
?
Returns:
array(3) {
[0]=
string(12) new20030101
[1]=
NULL
[2]=
NULL
}
I expect:
array(3) {
[0]=
string(11)
You could write what your code does now like this.
if (empty ($fname) || empty ($sname) || empty ($address))
{
// do something
}
If you want your first condition to be met and one of your second two
conditions to be met you can do it like this:
if (empty ($fname) (empty ($sname) || empty
Hi, I am trying to search mySQL for URLs that include amp; in them. I start
with a standard URL that uses , use str_replace to put in amp;, and then
do a mySQL query. However, nothing is found when I run the search through
PHP. When I do the search directly through phpMyadmin, it works fine.
Yes, I have the dll in the right place (C:\php\ext), and PHPIniDir is set
to C:\php where php.ini is located. I know that php.ini is being picked
up, because the changes I make to the file take affect when I restart
Apache. PHP is loading properly as the php function, phpinfo, does display
Hello, all -
I've seen a few times, albeit I don't know how, people generate images
on a page in different ways, such as maybe using base64 to output the
raw image data into a page? Is this correct?
If so, what does it look like? How would one go about doing this?
If not, what are my
Well, you can't output HTML *and* an image in the same request. What you
can do is generate HTML in one script, put image tags in the HTML that
references a another script, which actually outputs the image.
So something like:
img src=/myimage.php?id=4 width=10 height=30 /
Then in
Dan Trainor wrote:
I've seen a few times, albeit I don't know how, people generate images
on a page in different ways, such as maybe using base64 to output the
raw image data into a page? Is this correct?
If so, what does it look like? How would one go about doing this?
If not, what are my
I would do that but my preferences don't include XML. Right now I code in
just PHP/MySQL/Javascript/Java/C++/ASM and that is it(of course C++ and ASM
don't count as web languages heh).
--Death Gauge
How do you gauge your death?!
Maybe try a bit of XmlHTTPRequest and some Javascript. When the
You don't need to use XML with XmlHTTPRequest. The returned data can be a
simple text string.
XmlHTTPRequest is the best javascript technology to come out. It's done
wonders for the interactivity of my websites. It's well worth the time to
learn.
-Original Message-
From: Death Gauge
18 matches
Mail list logo