it turned out to be a really trivial and stupid mistake:
I had AddModule lines for the both the PHP4 and PHP5 SO in my httpd.conf
file. Please check your own httpd.conf file. If not that it could also
be conflicting extensions.
--
Raditha Dissanayake
if it is, how can i work around this?
go ahead and use readfile.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General
like a ton of bricks.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net
even this doesn't happen, and I just get a regular Apache2
page stating 'Object not found' (with accompanying lines in my server's
error_log). A few minutes later, everything works fine again.
(restarting apache also tends to help)
--
Raditha Dissanayake
Bruce Douglas wrote:
and this response was helpful to the guy who asked the original question, how
i mean, aside from showing that you know how to do a link, what did you show
peace...
You have shown that you are a newby to mailing lists.
--
Raditha Dissanayake
Paul Aviles wrote:
Bruce, that is the typical answer when someone has a God complex and
feels is his duty to teach everyone to be like him... Don't worry just
feel sorry for him.
Your sympathy is misplaced.
--
Raditha Dissanayake
Nichel Flame away responses will be deleted
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List
Danny Brow wrote:
Wow I just wasted 10 minutes of my day reading half these post. This is
one long thread. And man is it hard to follow.
exactly why we don't want people posting off topic stuff here.
Dan.
--
Raditha Dissanayake
? Or just slow?
Cheers,
-J
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net
Michael Leung wrote:
Hi All,
My problem is finally solved by totally off SELinux Security
Policies.
I told you so :-))
Thank you very verry much the helps from yours! I know this
is not very safe solution, but at the leasy my script can work
yours,
Michael
--
Raditha Dissanayake
tcp. That's why it might work
on one machine (where web and imap are both installed) and not on the
other where you only have the web server but the imap server is remote.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card
the $_POST may
disappear.
Cheers,
Tom
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List
. Laws do.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net
Yes, this kind of script is working in my pervious old server. But
after I have upgraded the OS to Fedora 3 with PHP 5.0.2 and Apache 2.
Then as I mentioned in my previous mail SELinux is to blame. Uninstall
it or disable it. (pass selinux=0 when you boot).
--
Raditha Dissanayake
directory is changed to 777.
yours,
Michael
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List
programmer, let me assure you that PHP is easier
to work with.
--
- Best Of Times
/Peter Lauri
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
on the point of ease of use PHP is a clear winner.
There are other areas in which J2EE wins but let's not go into it here.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com
John Nichel wrote:
blackwater dev wrote:
Thanks John,
I tried the rpm and it throws errors that it can't find the php
package required by:
php-mysql
php-imap
php-idap
php-mbstring.
Thanks!
RPM and other binary informations suck. Remove them and install from
source code.
--
Raditha Dissanayake
as well.
thanx
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net
range from lowly trim() through str_replace() to regular
expression. depends on your data.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
folder or the folder I am trying to copy the file to.
that appears a bit strage indeed. COuld oyu share the relevent lines of
code with us.
Anyone have any suggestions?
Tom Williams
Anyone
--
Raditha Dissanayake.
--
http
.
Do you know that mailing lists are automatically archived at thousands
of websites?
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag
John Nichel wrote:
Raditha Dissanayake wrote:
Reinhart Viane wrote:
And a last question:
I always seem to get stuck on mysql queries when scripting. mysql.com
gives me a headache whens earching something. Does someone know a good
mysql manual site or a good mysql book?
That does not mean mysql
are in the DTD. Or am I wrong?
Ask in the quanta mailing list and someone will tell you.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
for that.
I tried everything and sessions still not working, and I don't know what is
worng .. help will be appreciated.
Any error messages? or is it just that your data is not being saved?
have you tried to print_r() or var_dump() to confirm this?
Thanks in advance
--
Raditha Dissanayake
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
to be zero that way you would have a chance of reproducing the problem.
Chris W
Gift Giving Made Easy
Get the gifts you want give the
gifts they want this holiday season
http://thewishzone.com
--
Raditha Dissanayake.
--
http
Richard Kurth wrote:
Could somebody tell me way these query gets a error 1064 and does not
work.
no. wrong list.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com
.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
on this list in the past where this behaviour was
not observed, and you may want to look these up in the archives.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
to rely on globals.
function hello() {
while ($apo-fetchInto($row)) {
print hello 2;
}
}; /eof
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
very rude.
Now let's all of us (my self included) shut up before this thread goes
out of hand.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
) to cover that scenario.
I can aslo offer you a third alternative to the very good suggestions
already offereed by Marek and Sokolewicz; printf();
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card
Phpu wrote:
Hi,
If i have a php and mysql website...how many connections support mysql at one time ?
Sorry people in this list do not know how to configure mysql
Thanks
--
Raditha Dissanayake.
--
http://www.radinks.com/print
.
James Nunnerley wrote:
I'm trying to create a table, and ultimately a graph, out of some syslog
data.
I have a mysql table with the following info in it:
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer
Marek Kilimajer wrote:
Jason Wong wrote:
On Saturday 04 December 2004 00:40, Marek Kilimajer wrote:
Raditha Dissanayake wrote:
Marek Kilimajer wrote:
This is an SQL question.
Marek, don't you know that this the mysql list? you are supposed to
answer questions like these. If you don't
://yoursite.com/cgi-bin/what.pl?param1=value1param2=value2
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing
done this kind of stuff before.
Thanks IA
William how to handle file uploads with PHP is described very well in
the manual. Once you get past that stage just search google for php
image upload.
--
Raditha Dissanayake.
--
http
an '@' sign in the username that probably caused the
hiccups you should try urlencoding the username and password.
cheers,
Jeffery
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http
Octavian Rasnita wrote:
Hi all,
Does anyone know if there are free php libraries for creating MSN or Yahoo
or Skype or AOL Messenger clients?
You might want to look at the php interface to jabber available at
jabberstudio
Thanks.
Teddy
Teddy
--
Raditha Dissanayake
suneel wrote:
Hi...
Please take a look at the following...
I'm using MySQL 4.0.15
And what makes you think this is a mysql list?
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer
on topic.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
() {
output_reset_rewrite_vars();
?
table
...
/table
?
}
There are pros and cons of both approach but the bit of code i have
given will produce the expected result.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card
documents are pretty hard to work
with at the best of times and it's quite easy to make a teeny weeny hard
to detect typo.,
My code works fine with PHP 5 (fortunately) under Windows, but it doesn't
work with PHP 4.3.4 under Linux.
I think I need to upgrade php under Linux also...
--
Raditha
Marek Kilimajer wrote:
Raditha Dissanayake wrote:
Bruno B B Magalhães wrote:
Does anyone has a solid benchmark about comments speed.. I mean, too
many comments will decrease speed of the PHP scripts...
Surely there are more important things for you to worry about.
the meaning of life
didn't had success.
Any idea?
Surely there are more important things for you to worry about.
Regards,
Bruno B B Magalhaes
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http
are written to the log file, you will then find it a lot easier
to debug.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
John Nichel wrote:
Greg Donald wrote:
On Thu, 25 Nov 2004 09:33:41 +0600, Raditha Dissanayake
[EMAIL PROTECTED] wrote:
many people in this list believe that people who do not RTFM are lazy
and do not deserve help.
That's because people who expect free help without RTFM are lazy and
do not deserve
- Release Date: 2004-11-19
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http
Manager
Sigmatech, Inc
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http
Thomas Peri wrote:
Is there a way, *other than using debug_backtrace(), which has a bug*,
to determine from inside what class and method the current function
was called? For example:
you could try xdebug.
--
Raditha Dissanayake
and do not deserve help.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net
taking a peek
at your code. But then again you could use the turck or zend encoder on it.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload
Greg Donald wrote:
On Thu, 25 Nov 2004 09:33:41 +0600, Raditha Dissanayake
[EMAIL PROTECTED] wrote:
many people in this list believe that people who do not RTFM are lazy
and do not deserve help.
That's because people who expect free help without RTFM are lazy and
do not deserve help. How
Giles wrote:
Anyone seen anything like this before or have any suggestions?
I thought it was mysql that had taken over this list and not microsoft.
Thanks
Giles Roadnight
http://giles.roadnight.name
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Markus Mayer wrote:
Hello everyone!
I've searched for a tool that would translate, or at least mostly translate,
perl scripts into php, unfortunately with no success. I didn't even find a
reference in the archives of this list to this subject, which surprises me.
Does anyone know of any tool
Can someone remove this idiot? (this idiot = idiot who uses an
autoresponder , not the idiot who is complaining about it :-))
Autoresponder wrote:
Hi,
To protect us from spamming, please contact with us at
http://www.dvdidle.com/contact.htm, thanks.
Sincerely,
DVDIdle Support Team
--
PHP
:-)
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Todd Alexander wrote:
Hello all,
I am a complete newbie to php so apologies for what I'm sure is a
simple/dumb question. I want to use php to include another html doc in
an existing set of documents. In other words 123.html will use php to
call on abc.html so I can make changes to abc.html and
[EMAIL PROTECTED] wrote:
Sorry,
I need a sample of php program...
They are dime a dozen on google.
please trim your posts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but not by
others. Besides that as jason as already pointed out you may be running
in safe mode. Other than that, the file upload page on php.net has a
wealth of information posted by others like you who had trouble with
their uploads, you are sure to find a usefull comment there.
--
Raditha Dissanayake
Manoj Kumar wrote:
Hi folks ,
What is the case of following warning ...
Warning: Unknown list entry type in request shutdown (0) in Unknown on
line 0
unknown
-- Manoj Kr. Sheoran
www.daffodildb.com BLOCKED::http://www.daffodildb.com
--
PHP General Mailing List
[EMAIL PROTECTED] wrote:
Dear You,
How to load images ( eg: gif, jpg) with base64 function from
Database on IE directly ?
as far as I know you cannot do this with IE directly.
Is there any samples to me for reference ?
Many thank for your help !
Ed.
--
PHP General Mailing List
[EMAIL PROTECTED] wrote:
So, how can we fix this kind of problem ?
is it a problem?
Raditha Dissanayake wrote:
[EMAIL PROTECTED] wrote:
Dear You,
How to load images ( eg: gif, jpg) with base64 function from
Database on IE directly ?
as far as I know you cannot do
Scott Fletcher wrote:
Yep, that Java applet, Raditha's Rad Upload... Just found the documentation
there that the file path worked before PHP 4.3.6 but not with 4.3.6 and up.
I don't know what the PHP developer did with the $_FILE codes before
releasing PHP 4.3.6
Older versions of PHP used
Andre wrote:
Hello
I need some help in this subject php + COBOL.
I need to load data of a program in COBOL for a site written in php.
The data must be loaded for a DB in mysql.
Any one knows as I make this.
Thank for the help
Not sure if you will find a lot of cobol programmers in this
. Because the web
browser
see the folder as something to open with, like going down one directory.
So, any advice or suggestion??
Thanks,
Scott
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card
Bruno B B Magalhães wrote:
Hi guys,
well, I wrote a class for a big project (a framework), and here it
is, I was wondering if someone have any suggestions regarding
flexibility and security.
Wow it's the most artistic piece of php i have ever seen.
--
Raditha Dissanayake
or
Perl is faster about x percent in general compared to the other one?
PHP is faster when running uphill and perl is faster when running
download. On Sri Lankan roads they are both equally slow.
--
Raditha Dissanayake.
--
http
to retrieve the first
element of the array that is returned mysql_fetch_row($result);
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag
out your query and run it directly in the
mysql client to see what happens. Liberal user of
error_log(mysql_error()) in your code would probably help too.
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card
and what exactly is a hacking attempt?
The Doctor wrote:
One of our customers how has
Hacking attempt on their index.php instead of their regualr page.
What caused this and how do we get the regualr page back?
--
Raditha Dissanayake
other interpreters I
know can. So if there _is_ an env var to do that, what is it? I didn't
see it and certainly strace doesn't show my /usr/bin/php doing any
getenv() during startup.
Regards,
dave
perhaps people had trouble reading your post properly because of all the
CAPS.
--
Raditha
FROM property_amenity where listingId =
'$listingId';
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload
--
PHP General
on hundreds of sites and possibly ends up in the inbox of bots
designed to harvest email addresses?
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet
features of php5.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB
in the FTP server.
That's even more confusing. You run php scripts off a web server and not
an FTP server.
Alessandro Rosa
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean
and the generall consensus was
that there is always a loop hole.
Alessandro Rosa
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload
what's going wrong.
As has often been pointed out echoing out the queries produced by your
php script and running them through the mysql client usually helps too.
Regards
Garth
--
Raditha Dissanayake.
http
without any problem.
$_FILES and $HTTP_POST_FILES do simply not exist, and when I try
to access them I just get an undefined index error, or with print_r() an
empty array.
Regards,
Tobias Neumann
--
Raditha Dissanayake.
http
Greg Donald wrote:
On Mon, 08 Nov 2004 10:40:30 +0600, raditha dissanayake
[EMAIL PROTECTED] wrote:
You know you're a geek when you know which list deals with which top
and when you know that subselects in mysql is not much faster than the
nested loop you have been using.
Can you point me
is to
listen only on localhost and not on the public ip.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical
loop you have been using.
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
One quirky comment at a time.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http
Ryan King wrote:
On Sunday, November 07, 2004, at 10:38PM, raditha dissanayake [EMAIL
PROTECTED] wrote:
Murray @ PlanetThoughtful wrote:
.You upgrade MySQL from 4.0.x to 4.1.x and you get excited because now you
can include subselects in your pages.
You know you're a geek when you
[EMAIL PROTECTED] wrote:
I'm trying to plan out the best way to develop an image hosting script for
my client.
You will find the answer in last week's archive.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David wrote:
I need a PHP accelerator but am not sure which one to use. I would
highly prefer to not use a commercial accelerator and need one that
works with PHP 5. Does anyone recommend one out of the ones that exist?
this one:
- Turck MMCache for PHP
--
Raditha Dissanayake
', 'product_name_fr'). LIKE '%.$word.%' OR b.brand_name LIKE '%.$word.%');
$result= mysql_query($sql);
Thanks
does this become a PHP question just because of
$result= mysql_query($sql); ??
--
Raditha Dissanayake.
http
the page. The best solution
(IMHO) is to use meta refresh.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
server. I have
the
following for the connection, but it seems to be overriding the value for
the $host variable, and replacing it with localhost. Anyone got any
ideas?
--
Raditha Dissanayake.
http
moment is when some one mailed a link to a zend article where a
benchmark had been done comparing the two methods. Embedding in a
database came up second.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http
) fields in
any database. That's probly why you you think caching is needed for
high traffic images :-)
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure
();
//$Clone = (array) $Obj;
$Clone = obj2array ( $Obj );
I still dont see why a simple:
$obj = new TestClass();
$data = serialize($obj);
$Clone = unserialize($data);
Cant doesn't work for you.
ah so that what the OP is trying to do!
--
Raditha Dissanayake
is no you cannot because. PHP does not have access to the
remote machine, because PHP runs on the server. The only way to do this
is with an activex or with a java applet (SHAMLESS PLUG: such as rad
upload).
--
Raditha Dissanayake
a graphical bar.
Can u indicate me if there is any classes or scripts that can help me...
http://www.raditha.com/megaupload/
Thanks,
Marc
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com
Louie Miranda wrote:
Hi,
i got tired testing free php scripts that does count current online
users and i could not find the best one yet.
what is the yard stick
--
Raditha Dissanayake.
http://www.radinks.com/sftp
the settings that you
have to change.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User
Akshay wrote:
How to transfer text file from one
machine to another using php
Please give the code if possible
It depends on what protocol you want to use. Please pick from FTP, HTTP,
NFS etc and let us know.
akshay
--
Raditha Dissanayake
regular expressions.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128
pass via the query string and NOT on the whole URL.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
are the configurations should i make to creating directories and file uploading and to execute those filesystem functions in linux?
As the error message says it's all to do with permissions. `man chmod`
might be usefull reading.
Yahoo! India Matrimony: Find your life partneronline.
--
Raditha
1 - 100 of 779 matches
Mail list logo