William Stokes wrote:
Okl I can't reverse engineer that...
I just need to know how to set the path.
now I have it like this and it wont work. $fileame comes from a form.
if (copy($filename, /imagedir/ . $filename_name))
print H2upload succesful!/H2;
Don't use copy(), use move_uploaded_file()
Hi, im trying to create a number loop on a table where the data came
in a database.
I have tried the for loop and counted $countCards_result from the
table where im going to get all the data.
## code ##
while ($profile-fetchInto($row)) {
for ($i = 1; $i = $countCards_result; $i++) {
$num = $i;
You basically dont need the for loop all you have to do is increment the
value of the variable by one each time in the while loop
Devraj
Louie Miranda wrote:
Hi, im trying to create a number loop on a table where the data came
in a database.
I have tried the for loop and counted
Aaron wrote:
Ive made it clear.
the reproduce code in the bug report references a whole
load of functions which are not defined in the reproduce code...
meaning the code is useless to everyone but YOU.
If I use the success_box function that uses java to redirect it works
do you really
Evert|Rooftop Solutions wrote:
Thanx Johannes,
how about making the webserver the owner of the files? Would that be a
good idea?
The problem is that I have a framework deployed at several clients.
Because this are some big clients and demand high security they won't
give me a login to their ftp
Please read the first link below.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
Is there an rpm to install the oracle compnents for version 4.3.4 php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi to all.
I'm uploading file and use this
copy($_FILES['NewImage']['tmp_name'], 'temp/'.$item_number.'.jpg') or
die (mysql_error());*
*I have this Warning:*
Warning*: copy(temp/05V0115.jpg): failed to open stream: Permission
denied in */var/www/html/afan/admin/add_image.php* on line *12
*
Hello Jasper and Rasmus,
thanks for reply! I have found out why this does not work. Take a look below.
On Monday 28 March 2005 02:33, Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
Rasmus Lerdorf wrote:
Jasper Bryant-Greene wrote:
You can't access string offsets with square brackets []
The problem was that uploaded images already were there and didn't want
to overwrite.
-afan
[EMAIL PROTECTED] wrote:
Hi to all.
I'm uploading file and use this
copy($_FILES['NewImage']['tmp_name'], 'temp/'.$item_number.'.jpg') or
die (mysql_error());*
*I have this Warning:*
Warning*:
hello to all,
i am making a website in php and i will appreciate if anybody can tell
me the php code to :-
(1)display isp name,
(2) country of the visitor,
(3)operatng system of the visitors.
thanks,
waiting for your reply.
Regards,
Jenny
--
PHP General Mailing List (http://www.php.net/)
To
On Mon, 2005-03-28 at 17:36, jenny mathew wrote:
hello to all,
i am making a website in php and i will appreciate if anybody can tell
me the php code to :-
(1)display isp name,
(2) country of the visitor,
(3)operatng system of the visitors.
Have a look at
D A GERM [EMAIL PROTECTED] writes:
Is there an rpm to install the oracle compnents for version 4.3.4 php?
I don't think so. The way to do it is to download the SRPM for the
php from your vendor's web site, do a rpm -ivh php-blah.srpm. This
will give you a spec file in the
Hello;
I have been looking for a solution to get the disk size of a directory.
I would like to be able to get the size of a directory with sub directories
under it.
Will I need to loop through file sizes to get the total directory size?
--
PHP General Mailing List (http://www.php.net/)
To
Lupita wrote:
Hello;
I have been looking for a solution to get the disk size of a directory.
I would like to be able to get the size of a directory with sub directories
under it.
Will I need to loop through file sizes to get the total directory size?
yes
--
PHP General Mailing List
Hello jenny,
Monday, March 28, 2005, 9:36:07 AM, you wrote:
j i am making a website in php and i will appreciate if anybody can
j tell me the php code to :
j - (1)display isp name,
One problem you're going to run into is that by using
$_SERVER['REMOTE_ADDR'] oftentimes, you'll end up with just
[snip]
I have been looking for a solution to get the disk size of a directory.
I would like to be able to get the size of a directory with sub
directories
under it.
Will I need to loop through file sizes to get the total directory size?
[/snip]
If you are on a *nix system of some sort you could
Hi,
Does anyone know if its possible to create an MDB file from a Mysql database
using a PHP script, I have only managed to find Access to Mysql conversion
programs so far...
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I didn't see a specific mailing list for phpDocumentor and wanted to get a
general feel for people's experiances with it. I see that Zend Studio 4
supports it internally and I'd really like to get our group over to a
standardized documentation scheme (and in the process, make use of what looks
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
Gracias,
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
Tough question to ask best is usually what the beholder likes
best. I will say this:
I prefer Red Hat or Fedora Linux.
--
-Dan Joseph
Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
Let the war begin! ;)
FWIW : I prefer Linux, Red Hat flavor. Why? Only because I've
What if I want to include some literal test into a PHP document that
I don't want it to interpret as it loads. In particular, I am
working with XML but for the example's sake I will say PHP. Example:
--
DocumentA.txt:
---
?php echo 'something here'; ?
---
Document B:
Hello Phil,
On Monday 28 March 2005 22:19, Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
i would prefer Gentoo Linux (
Hello,
i had the same problem some years ago. At this time i have set up all tables
in Access and wrote a script which reads from MySQL and inserts into the MDB
file via the ODBC connector. This works but is much work when your database
is very big.
2 Years ago i had the same problem but it
Hello Jeremy,
Monday, March 28, 2005, 1:36:10 PM, you wrote:
J --
J I would like the output of Document B to be:
J ?php echo 'something here'; ?
J instead of something here.
J --
highlight_file('Document A');
--
Leif (TB lists moderator and fellow end user).
On Mon, 2005-03-28 at 15:19 -0500, Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there are
so many.
Slackware.
Dan.
--
PHP General Mailing
[snip]
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there
are
so many.
[/snip]
BSD, hands down.
--
PHP General Mailing List (http://www.php.net/)
To
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the db and seeing the proper number of rows. if I echo
out the values of $id and $sidebar I see that they take on the id# and
text of the last entry in the database. I'm trying to make the script
Sorry,
i forgot that link:
http://www.convert-in.com/sql2acc.htm
On Monday 28 March 2005 22:46, Johannes Findeisen wrote:
Hello,
i had the same problem some years ago. At this time i have set up all
tables in Access and wrote a script which reads from MySQL and inserts into
the MDB file
Jeremy Reynolds wrote:
What if I want to include some literal test into a PHP document that I
don't want it to interpret as it loads. In particular, I am working
with XML but for the example's sake I will say PHP. Example:
FYI, when you have -- on a line by itself most newsreaders think that
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look to find which works best for you).
I wonder who will get bored and stir up the ants nest and say Windows? ;)
-Original
Sorry folks. I have been told by a more knowledgeable friend that the
problem was I forgot to ECHO out the join. It works now.
Thanks anyway!!
Jack
On 28 Mar 2005, at 15:57, Jackson Linux wrote:
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote:
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look to find which works best for you).
I wonder who will get bored and stir up the
Thanks for your reply,
but this only works on Windows. I need a program that will create an MDB
file on the fly from a query on the MySQL database...
Johannes Findeisen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry,
i forgot that link:
Hello Jack,
you simply forgot an echo.
?php echo join(); ?
Also, have a look at print_r, which is very very useful for debugging.
Greetings from Germany,
Christian
Jackson Linux schrieb:
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the db
I prefer Debian 3.1 ..
Everyones taste is quite different, so I suggest to install some
test-installations of those different OS - and you have the choice.
Christian
Phil Neeb schrieb:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there
are so many.
Gracias,
Phil
Being an old RedHatter.. Since 5.1.. I like RedHat flavors.
If you want
Danny Brow wrote:
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote:
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look to find which works best for you).
I wonder who will get bored and
Hi John,
since I have CentOS 3.4 and just wanted to update MySQL to version 4,
your comment surprised me :). Can you give some more info about that?
Thanks!
-afan
John Hinton wrote:
Phil Neeb wrote:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a
Jeremy Reynolds wrote:
What if I want to include some literal test into a PHP document that I
don't want it to interpret as it loads.
You can use something like readfile() instead of include.
Hope that helps.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url. The PHP manual doesnt
say much for this function, but it does have quite a bit on the urldecode()
function which says using urldecode on a $_GET variable wont produce
I will!
Ok, not completely.
I'm an avid windows user, but not a blind Gates disciple.. please don't accuse
me of that.
I will never say that a Windows server is the 'best' platform for doing PHP
script serving because I don't believe that's the case. It DOES work, but it's
far from the
On Mon, 2005-03-28 at 23:28 +0200, M. Sokolewicz wrote:
Danny Brow wrote:
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote:
I personally like OpenBSD - though many of the BSDs are similar at many
tasks and only have notable differences in a few areas (and it's those areas
you should look
Aaron Todd wrote:
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url. The PHP manual doesnt
say much for this function, but it does have quite a bit on the urldecode()
function which says using urldecode on a $_GET
[EMAIL PROTECTED] wrote:
I would like to know if you could help me.. I don't understand what is wrong! I made a file that is supposed to list 2 categories with the boards that go to them under them. I get a Fatal Error: Maxmimum execution time of 30 seconds exceeded. Here is the file that
Could you use parse_url() and just take the [query] section of it, then maybe
do an explode on to get the different parts of it?
-TG
= = = Original message = = =
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url.
Danny Brow wrote:
...
I wonder who will get bored and stir up the ants nest and say Windows? ;)
Windoze is da shizzle my nizzle! Every1 knoz the kewlest SkRiPtErS use
Windoze!
...
I was kidding about OS/2, it's a dead OS.
Nuh uh, just tell that to my overclocked 286 with 4MB of RAM!
.
.
.
.
Phil Neeb mailto:[EMAIL PROTECTED]
on Monday, March 28, 2005 12:19 PM said:
I'm lookin for some opinions on this one ...
What do you think the best OS is for running a server with PHP and
MySQL? If you're going to say Linux, please, which Linux OS, there
are so many.
I will throw my
Hi all,
ok, I have created my own php text editor that allows a user to edit
files from local(server) disk.
I use a basic html textarea to show the contents of the file, and let
them edit it, and then save it to disk.
I've just realized that when editing an html file, that everything is
ok,
Tim Traver mailto:[EMAIL PROTECTED]
on Monday, March 28, 2005 3:18 PM said:
I've just realized that when editing an html file, that everything is
ok, unless the file has a textarea tag in it. Then the editing
textarea tag gets closed, and you end up not getting all of the data
to save.
Tim Traver wrote:
I use a basic html textarea to show the contents of the file, and let
them edit it, and then save it to disk.
I've just realized that when editing an html file, that everything is
ok, unless the file has a textarea tag in it. Then the editing textarea
tag gets closed, and you end
hi Leif,
Just thought you'd like to know - I have submitted a bug report, bug
#32422.
btw, assuming it's the same bug, I can get it to happen during GET
requests, just less frequently.
Rob
-Original Message-
From: Leif Gregory [mailto:[EMAIL PROTECTED]
Sent: Thursday, 24 March
Brian Dunning wrote:
How would I mod_rewrite a request for /baseball.htm into
/query.php?q=baseball?
This should be doing it as far as I can tell, but for some reason it's
not...
RewriteEngine on
RewriteRule /^(.+).htm$ /query.php?q=$1
RewriteEngine on
RewriteRule ^/(.+)\.htm$ /query.php?q=$1
Hi,
Tuesday, March 29, 2005, 9:17:42 AM, you wrote:
TT Hi all,
TT ok, I have created my own php text editor that allows a user to edit
TT files from local(server) disk.
TT I use a basic html textarea to show the contents of the file, and let
TT them edit it, and then save it to disk.
TT I've
Hi there, I am trying to work out how to use the Nusoap package, its
pretty cool but a tedious one to configure. What I am attempting to
achieve is executing a class method either via standard soap or wsdl
and return it as an array or xml. I have attempted to setup a service
as
Phil
Depends on
(a) What you want.
(b) Who you are, and what your background is.
What you want:
If you want stability, then I'd go with Debian Stable. If you want
proactive security then I'd go with OpenBSD. I'm not suggesting that
OpenBSD is less stable than Debian, but I reckon that more
MDB suggests Access, so why not simply create a CSV, or some other
generic format file from your MySQL, and import it into access, using
COM/OLE, and save it as an MDB file.
On Mon, 28 Mar 2005 22:14:07 +0100, Shaun [EMAIL PROTECTED] wrote:
Thanks for your reply,
but this only works on
- Original Message -
From: theal [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, March 26, 2005 3:41 PM
Subject: [PHP] gd graphics on debian with apache 1.3
I am trying to get Dashboard graphics working on a Debian woody system. I
have the following php packages
I just have to call out mad props to this project that one of our new hires
pointed me at...
http://phpxref.sourceforge.net/
This project is sooo sweet.
For starters, it doesn't shit the bed when documenting large projects like
'PHPDoc' does.
It cross references database tables.
The
theal wrote:
php.ini has extensions set up as:
extension_dir=/usr/lib/php4/20010901/
extension=pgsql.so
extension=gd.so
ls -l /usr/lib/php4/20010901/
lrwxrwxrwx1 root root 23 Mar 26 14:23 gd.so -
/usr/lib/libgd.so.2.0.1
-rw-r--r--1 root root95036 Mar 17 2002
There is no end user docs for this, its a bit bollox. I do like the
idea of @table tags though. Sorry have no time to start reading perl
source code.
On 29/03/2005, at 12:31 PM, Daevid Vincent wrote:
I just have to call out mad props to this project that one of our new
hires
pointed me at...
Hi,
I want to validate an XML structure using PHP.
I thought of using PHP's DOM and XSD or DTD for validation. This does
the job ok, except on invalid XML structure I get the same error code.
What I want is to point exactly why the XML structure is invalid. I know
there's also an error message
I'm so confused. I have an array :
$display[] =
div class='job-date'{$cv['dates']}/div
div class='job-title'{$cv['job_title']}/div
div class='company'{$cv['company']}/div
div class='job'{$cv['job']}/div;
In SOME of the rows of this table, there is a field
Can anybody 'splain under what conditions $_SESSION values would turn into
NULL for no reason I can figure out?
It happens consistently on this one FORM submission, but works fine on
others.
PHP 5.0.3
FreeBSD 5.3-RELEASE
Tried with Cookies and with trans_sid
No difference.
Tried altering the
Shit this looks intense, i'll definately be having a go at this. Does
it support phpdoc tags ?
On 29/03/2005, at 12:31 PM, Daevid Vincent wrote:
I just have to call out mad props to this project that one of our new
hires
pointed me at...
http://phpxref.sourceforge.net/
This project is sooo
Yes! That's the point. We use PHPDoc tags in our project, but it's become so
large that PHPDocumentor itself can't make the documentation anymore. Go
figure.
-Original Message-
Shit this looks intense, i'll definately be having a go at this.
Does it support phpdoc tags ?
--
PHP
Hi People,
I'm working on some complex PHP4 OOP Scripts and at a really unusual
point I'm getting the following error in my apache errorlog:
*** glibc detected *** double free or corruption (!prev): 0x0828c510 ***
[Tue Mar 29 07:09:27 2005] [notice] child pid 9110 exit signal Aborted (6)
This
On Sun, March 27, 2005 9:09 pm, Ashley M. Kirchner said:
Short (possibly simple) question:
How do I convert a hexadecimal string back into it's ascii
representation?
http://php.net/hex2dec
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List
On Fri, March 25, 2005 6:32 pm, Kevin Coyner said:
Is there a way to create multiple jpg thumbnails from a series of larger
originals and use all of the on-the-fly generated thumbnails in a page
(without saving any of the thumbnails to the filesystem)?
For example, I've got 5 full size jpg's
On Thu, March 24, 2005 10:48 am, delos said:
i would like to produce a script that can make an image (screenshot)
based only on the site url. so that i enter an URL and php makes the
picture.
can such a thing be done by php? if not, maybe by some other language?
I don't THINK anybody
http://php.net/manual/en/function.memory-get-usage.php
Do it before and after, and subtract.
YMMV.
On Wed, March 23, 2005 10:31 pm, Joe Wollard said:
Greetings,
I'm trying to help a C programmer understand and use PHP for web
development. So far all the similarities between C++ and PHP are
Angelo Zanetti wrote:
hi guys,
I need to convert a date from this format: 2005-03-25 to 25 mar 2005.
I have tried the mktime, strftime and the date functions but they all
take a time stamp but I only have the dates in the format of 2005-03-25.
echo strtolower(date(j M Y, strtotime(2005-03-25)));
73 matches
Mail list logo