Why is an ErrorDocument insufficient or not the elegant way?
It accomplishes the goal in a clean way, no?
It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
gives it a prettier face. If the page really is there, returning a 404 for
it is not correct. Search engines
Hello,
php.net uses a 404 error handler for this, and most mirrors store url data
in an sqlite database. A simple $_SERVER dump in your 404 page will show you
which variables are available.
Regards,
Philip
Hello everyone,
The PHP manual FAQ has not received much attention over these past
few years, so it's outdated. This needs to be fixed.
If you would like to add questions (and ideally, with answers) to the
FAQ then please do so by either adding them to this thread, or point
them out, and
If i use, at the beginning of my scripts,
ini_set('register_globals', 0), register globals will be
turned off?
if you have php = 4.2.3 yes, otherwise no.
it has to be set in php.ini, .htaccess, or httpd.conf
You may NEVER set register_globals at runtime with
ini_set() regardless of PHP
I remember in Perl I used to extract vars from a single fetchrow by adding
each var name to the beginning (like this). Only this ain'ta workin :)...
Anyone know the right syntax to do this?
($var1, $var2, $var3)= mysql_fetch_array($result, MYSQL_ASSOC)
list($var1, $var2, $var3) =
Thanks for the reponse. I tested again, but it was not the problem
with ENCTYPE. I am getting file with $_FILES. I think this is due to
CGI configuration if not with php.ini. Because when I check the
version by using PHP -v command, it shows 4.3.10 (cgi) but when
check that using phpinfo()
I used to visit zend.com for the weekly summary but it seems that it
has not been updated in a while.
Besides the php-devel is there any other source of information about
php's development ?
While not about PHP Internals specifically, the following
do touch up on it and other PHP
This work fine, however, I would like to add to the criteria above. I would
like to say:
if ($audio == Cool or junk or funky){
...
if (in_array($audio,array(Cool,junk,funky))) {
...
}
Yes that's one way but to answer the question:
if ($a == 'foo' OR $a == 'bar') {
Oh and Jay... since no one else has found the answer it would be nice if
you could post your solution here when / if you find it.
Accoding to the source, these two functions require
something to exist:
#ifdef PHP_ODBC_HAVE_FETCH_HASH
PHP_FUNCTION(odbc_fetch_array);
If is easy please answer and this : when be online AND OPEN A FILE FROM
A WEB LOCATION HOST - MINE WITH NOTEPAD may after I modify it, save it
again to my hosting space WITHOUT save it to my PC first ? Please note
that I mean using NotePad and I mean entering the host usernamepassword
when
For a nice introduction to extension writing, read this
article:
Part I: Introduction to PHP and Zend
http://zend.com/php/internals/extension-writing1.php
As well as the various README files found within the php
source files:
http://cvs.php.net/php-src/
And let's not forget about
Do. Not. Cross. Post.
Use ONE mailing list at a time.
Please have all further replies to this unfortunate thread
go to php-general and only php-general.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can I use the CGI executable at the command-line?
Yes.
In other words, what is the diference between the CLI
and CGI Version?
See the manual, it explains the differences:
http://php.net/features.commandline
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To
What also works is this:
print 'value='. $foo['bar'] . '';
Read the manual section on strings:
http://php.net/types.string
Regards,
Philip
On Thu, 27 Jan 2005, Giles wrote:
Thanks, that works great.
Knew that worked for JavaScript but didn't know it worked for PHP.
print(value=\ .
It took me a while to find an explanation of what a PECL is. I kept
reading
comments about things being moved to a PECL but I saw nothing about what
is
in a PECL or how to get anything out of a (the?) PECL. As far as I knew,
there is a danger of all of PHP being in a PECL.
There
It's been awhile since I've done php on Windows, but I think
you have to uncomment the mysql dll in the php.ini file (make
sure you're editing the right one as per phpinfo), and restart
your web server.
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
I can't get PHP to load php_mysql.dll, required to use the mysql_*()
functions.
I have tried a variety of values for extension_dir, including
C:/php/ext, C:\php\ext, C:\php\, ./ext/, ext/. I have copied
php_mysql to all these directories, but it is not loading it.
PHP is
It is possible that this newsgroup is not the appropriate forum for this
request. Is there a site somewhere where I can post the spec and invite
bids? I recall that there are several, but I cannot remember where they
are.
http://www.php.net/links.php#jobs
Regards,
Philip
--
PHP General
Read this faqts:
How can I pass variables to a script in the url
like /script/var1/var2
http://www.faqts.com/knowledge_base/view.phtml/aid/124/fid/6
Regards,
Philip
On Thu, 12 Aug 2004, Ashley M. Kirchner wrote:
Anyone have an article written, or can point me to one that talks
I've run into a small bump in some code I'm writing for a membership
database. The first thing that needs to be done is an index of all
states in the US with members. The fun part is that the state
information is stored as the abbreviation in the database (ie MI, WI)
and the HTML page
Sorry, let me clearify.. unless UserId is an integer, quote it !!
And quoting integers is not a problem, I even prefer it. IMHO we should
tell people to quote all values so if someone forgets to do any sort of
input validation (i.e. make sure it's actually an integer) there won't be
a major
And quoting integers is not a problem, I even prefer it. IMHO we should
tell people to quote all values so if someone forgets to do any sort of
input validation (i.e. make sure it's actually an integer) there won't be
a major problem otherwise problems (including SQL injection) may arise.
Im looking for some good and complete and advanced PHP to PDF libarary.
So far, i have seen pdflib and ros pdf class. But i really would like
to hear from you guys what is best?
my only main goal for this is to create a low - res pdf and a hi - res
business card pdf template.
Several are
Can someone advise me of a very good PHP-5 book.
Hands down the best:
Advanced PHP Programming
by George Schlossnagle
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has there been any changes concerning $_SERVER['PHP_AUTH_USER'] in PHP5?
My news-script won't let me login after I changed from PHP 4.3.7 to
5.0.0 (Win32, Apache 1.3.31, php as module). I've checked
var_dump($_SERVER) and there's no PHP_AUTH_USER in the list, just
PHP_AUTH_PW. How come?
Windows XP SP1
Norton Antivirus and Internet Security
Apache 2
PHP 5
MySQL 4.0.16
All seem to work. I can run PHP scripts on the Apache server without any trouble.
I have MySQL running as a service and the basic SQL command line commands and
winmysqladmin shows all ok (to my
What are those php functions that catch the PHP errors, not display it and
do something to it while the user load a webpage. I don't remember what
those are. :-(
Look around set_error_handler()
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I would like to use the file_exists() or something similar to check for the
existance of any of the xml files regardless of what filename it use. Like
file_exist(*.xml) for example. Anyone know??
You may use glob(),
http://www.php.net/glob
Regards,
Philip
--
PHP General Mailing
Yes you're correct, this was fixed about a week ago and will show up when
the manual is next built (which should be soon), here's the diff:
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/visibility.xml?r1=1.2r2=1.3
When you find errors like this be sure to file a doc bug report at
I usually stripslashes() when I read the info from the database (MySQL).
Because the information was inserted after adding slashes, or the
system has magic_quotes_gpc set to ON.
I'd like to know, if I can do stripslashes() directly, as it is suposed
that all data was inserted into
on the contrary:
sql = mysql_query(select * from users where name='.$name.');
will simply look for a user with a name of Jim; delete from users; and
return no results found.
But I can also enter:
jim'; delete from users
You need to catch if there's a quote in the $name too, and
I get error : import_request_variables while I make a script to call a
variable.
This my header (in my script -- error) :
import_request_variables( GPC );
anybody knows why this happen ?
So, what's the exact error PHP gives you?
Regards,
Philip
--
PHP General Mailing List
I get error : import_request_variables while I make a script to call a
variable.
This my header (in my script -- error) :
import_request_variables( GPC );
anybody knows why this happen ?
So, what's the exact error PHP gives you?
I got this error at browser :
I need some help with a looping syntax. In english, a is used before
words that begin with consonants - an is used before words that start
with vowels. I'm trying to create a loop that checks this state and inserts
the correct word in the echo line. Below is the sloppy version of what I'm
$referer =
http://search.yahoo.com/search?p=pianist+web+sites+designei=UTF-8fr=fp-ta
b-web-tcop=msstab=;
if (strpos($referer, q=) != FALSE) { $query = q=;} else if
(strpos($referer, p=) != FALSE) { $query = p=;}
$searcharray = explode(, substr($referer, (strpos($referer, $query)+2)));
On Mon, 28 Jun 2004, Daniel Kullik wrote:
Tom Chubb wrote:
I ave a strange problem with my error reporting!
I have set php.ini to: error_reporting = E_ALL but I don't see any errors.
(After I was happy things were working on my Apache Test Server, I uploaded
to my web host and
I cant figureout the syntax please help
echo Some text.aFunction().some more text;
The function is not working.
Your problem is the paren's
echo 'some text' $aFunction 'some more text';
You need double quotes for the entire string, but single
quotes around the text so it knows it
There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match. Anyway, am I
overlooking a function that already has the functionality that I'm
searching for?
I'm trying to use socket_set_block and php.net says (php4 = 4.2, php5).
I'm using version 4.3.1 but I get this error
Fatal error: Call to undefined function: socket_set_block() in .
Any idea why this is? Has the name changed or been something else?
socket_set_nonblock() work
not set socket to block.); }
exit();
}
if($this-loggging){ syslog(LOG_INFO, Socket set to block.); }
and here's the error
Fatal error: Call to undefined function: socket_set_block()
-Josh
-Original Message-
From: Philip Olson [mailto:[EMAIL PROTECTED]
Sent
On Thu, 12 Feb 2004, Dan Aloma wrote:
that tag is working fine and shows me the info. For some reason php will
take input values only from the URL, not from the html code. any ideas?
A few questions:
a) What's the exact version of PHP?
b) Please post the smallest possible form that
that tag is working fine and shows me the info. For some reason php will
take input values only from the URL, not from the html code. any ideas?
A few questions:
a) What's the exact version of PHP?
b) Please post the smallest possible form that creates this
problem.
I am looking for a canned php form which hides the recipient email from
prying eyes. Everything I have found uses a hidden field.
If you only need the email address on the back end, why not encode it
(using your flavor of choice) and stick that value in the hidden field. Then,
upon
$arr = array('key' = 'value');
foreach ($arr as $k = $v) {
echo $k is the name/key, $v is the value;
}
Regards,
Philip
On 8 Aug 2003, Dan Anderson wrote:
I want to send an assosciative array to a foreach loop. Is there any
way to get the name?
For instance, now I have:
?php
Thanks for all the feedback, guys. Is there an errata page somewhere
lists known bugs in the PHP interpretter?
google php bugs
I appreciate the (rather indirect) pointer to the PHP bug tracking site - I
didn't know about that. Errata, it seems to me anyway, perform a different
Your script should work fine, and to fix claims made in
this thread:
a) $HTTP_RAW_POST_DATA is NOT an array, it's a string.
b) It does not live in $_SERVER, or rely on register_globals.
Your code is wrong because you don't provide names for your
fields, so there is no POST data. Assign
On 14 Jul 2003, Chris Blake wrote:
On Mon, 2003-07-14 at 14:13, John W. Holmes wrote:
.
You can normally just get a new php.ini from here:
http://cvs.php.net/co.php/php4/php.ini-dist
but it's giving a 505 error right now. May have to wait a bit.
First, create a PHP page
This is an IIS issue. The install.txt has specific
information on this topic, have a look. Also, this comes
up a lot and the following bug report is full of newbies
asking bogus questions but it also contains some good info:
http://bugs.php.net/bug.php?id=12061
So it looks like
You'll be waiting a long time, until the end of time :)
Because the php4 module is now named php-src, so change
that in the url and you'll be set.
Thanks. Someone needs to change the link in the Configuration chapter of the
manual, too, b/c that's how I always find it. :)
Done, fixed in
Hello Michelle-
a) Only enable one GD dll, so use php_gd2.dll.
b) Consider using imagecreatetruecolor() instead but
either will work.
c) When asking support questions, it's important to
say exactly what version, although in this case
we know it's 4.3.0-1 as php_gd.dll was removed in
Here's a faq:
http://www.faqts.com/knowledge_base/view.phtml/aid/15670/fid/30
You need to upgrade your old DCOM.
Regards,
Philip
On Sat, 12 Jul 2003, Arun wrote:
I have installed Apache 2.0.47 and php 4.3.2 in Windows 98. Downloaded the
php in the .zip format.
The Apache server works
On Fri, 11 Jul 2003, CPT John W. Holmes wrote:
Is there any php function to pull a query into an array? I know there is
a
way to get the first row of the results in an array, but I'm having to
loop
through each row pushing the row onto an array to get the result I'm
looking
for and it
On 10 Jul 2003, Jonathan Villa wrote:
I've read somewhere about some asptophp convertor/tool/methodology...??
Don't know what it is, that's why I'm asking.
I've been asked to help out on a project which might include some
already developed basic ASP code. I would rather do it in PHP.
On Thu, 10 Jul 2003, Seigo wrote:
Please tell me can users login with the html-page form and
Basic-authentication?
Chapter 16. HTTP authentication with PHP
http://www.php.net/features.http-auth
Regards,
Philip
--
PHP General Mailing List
The only time you want to use {braces} like that is
when you are in a string. None of the suggestions
here are in strings, so the use of {braces} is bogus.
The following is good:
echo Hello {$there['friend']} is good;
Note how we're in a string. This topic is very much
discussed (with loads
On Thu, 10 Jul 2003, Brenton Dobell wrote:
I know im probibly getting irritating to most of you :P but i thought i may
ask another thing that is on my mind!
I have a sql query bringing back 200 rows for arguments sake, From this i
would like an answer to 2 issues i have.
1) I know how to
On Thu, 10 Jul 2003, Joe Harman wrote:
Yeah, me too... LOL... Although, I don't understand the curly
brackets... I don't see any examples using them in the manual either...
Actually, the manual is pretty clear on this, and with tons
of examples:
http://www.php.net/types.string
As to which is faster is does not really matter as the speed of echo
print and heredoc is dictated by the connection speed to the
requesting client. If this is a factor in your overall operation you
can use output buffering to save the contents and output them at the end of
your script.
This is already fixed in CVS. The entire example is bogus,
it should not be using filesize($filename) either.
Here's what's in CVS (the manual will be rebuilt sometime
in the next week):
?php
$handle = fopen (http://www.example.com/;, rb);
$contents = ;
do {
$data = fread($handle, 8192);
use UPDATE
Also, be sure to learn basic SQL before use:
http://www.w3schools.com/sql/
http://www.sqlcourse.com/
http://www.onlamp.com/pub/ct/19
Regards,
Philip
On Sun, 6 Jul 2003, Kevin Fradkin wrote:
hi...
i have this secuence to insert data to my db
mysql_query
(INSERT INTO
On Sun, 6 Jul 2003, arnaud gonzales wrote:
Hi all,
I am getting crazy, can't understand what i missed!
Does anybody know?
$champs = array (titre_art = h3 ,nom = bleu,
prenom = green, resume = bold);
foreach($champs as $key = $value) {
echo td
You may set the location of php.ini by using the PHPRC
environment variable or during ./configure use the
--with-config-file-path directive. Maybe you should
just copy a php.ini into the directory PHP is looking for
it in, which appears to be C:\WINNIT. If PHP was actually
reading a php.ini,
On Fri, 4 Jul 2003, Thomas Hochstetter wrote:
Hi guys,
This might just be off the topic, but here it goes anyway:
How can one multi select check boxes and pass them through in php,
without getting mixed up with variables (email multi select style).
Read these faqs:
:)
You are using an m where you want an i.
Regards,
Philip
On Thu, 3 Jul 2003, Garrick Linn wrote:
Hello all,
I seem to be running into a problem where the date() function appears not
to differentiate properly between unix timestamps.
For example, the code:
?php
$seconds =
Does anyone know of any built in functions or options for the US states?
I want to make a drop down menu and some other things which have the 50
states in it. Is there any shortcut for this with PHP, or do I need to
do it all manually in HTML? Please let me know. Thanks.
Here's one:
how can i concatenate two strings? i cant seem to find the
function... thanks :)
Read this:
http://www.php.net/manual/en/language.operators.string.php
And then this:
http://www.php.net/manual/en/language.types.string.php
Regards,
Philip
--
PHP General Mailing List
It would be best to read the manual pages on superglobals
and retrieving external variables as the manual explains
these topics in detail:
http://www.php.net/reserved.variables
http://www.php.net/variables.external
Regards,
Philip
On Sun, 29 Jun 2003, esctoday.com | Wouter van Vliet
Hello Janet-
Currently you have two choices:
a) Compile PHP 5 on Windows yourself, with MySQL support
b) Wait for a DLL to exist
There isn't a DLL right now, nor do I know when one will
exist. But, you can be pretty sure that one will
eventually exist, especially before PHP 5 is
On Mon, 23 Jun 2003, Doug Essinger-Hileman wrote:
On 23 Jun 2003 at 13:22, CPT John W. Holmes wrote:
The first two characters are opening up a PHP block of code, so you
get a parse error. Either disable short open tags in php.ini,
I don't have access to php.ini. Can I do this on a
For example:
$a = 'a b c';
print $a;// a b c
print urlencode($a); // a+b+c
So, you want to urlencode your url (the query string).
Regards,
Philip
On Sun, 22 Jun 2003, Denis L. Menezes wrote:
I have a form called feedback which has a hidden field as follows :
?php
Printinput
On Sun, 22 Jun 2003, Jason Wong wrote:
On Sunday 22 June 2003 06:00, Dan Anderson wrote:
I have a form which feeds into an e-mail. When I use the mail function
all 's turn into \'s and all s turn into \s.
Are you sure it's the mail() function that's doing it? I doubt it.
I tried
print $_POST['foo']; // generates a warning
The above is only true in PHP 4.3.0-1 as there was a
bug that caused the E_NOTICE there. In all other PHP
versions, the above will cause a parse error.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 18 Jun 2003, zavaboy wrote:
I know this is more of a mySQL question but, how do I delete and add rows
and columns?
Before you touch MySQL or attempt to access it through
PHP, you really should learn basic SQL:
http://www.sqlcourse.com/
http://www.w3schools.com/sql/
I what to be able to set a variable based on user's screen resolution.
Can anyone tell me who to do that?
Use javascript to get the screen resolution and pass it back to your php script thru
a
hidden form field or some other means.
And awhile back someone used this as an example for
This is explained in the manual with tons of examples:
http://www.php.net/types.string
http://www.php.net/types.array
http://www.php.net/types.array#language.types.array.foo-bar
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Looks still broken to me :)
yup, but I don't get the problem, everything seems fine on my box.. maybe
a problem with vim comments ? can you commit the _right_ WS fix ?
thanks in advance :)
TABS are EVIL! :)
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To
Won't this topic just die? :)
register_globals is not insecure, users are insecure. Yes, you
can write insecure code with it on or off, and secure code with
it on or off. By users I mean people who write code, and people
who use it (the evil users are the ones that use the website,
and pass
On Thu, 12 Jun 2003, Diana Castillo wrote:
If I write a code like this,
$room_type=array();
$room_type[0][0]=4;
echo BRvalue in array is .$room_type[0][0];
yet I dont get any results out, what did i do wrong?
Nothing wrong with this code, it will work. Your
error must be somewhere else.
On Thu, 12 Jun 2003, John Nichel wrote:
On PHPBuilder.com, they have functions listed for Vmailmgr in their
manual, whereas on PHP.net, no such functions exist. Do these functions
exist but not documented on PHP.net?
The manual over at phpbuilder is useless, and very old. Do
not use that
It has to do with you assuming everything will work 100%
of the time. It won't. mysql_query() returns false on
failure, check for that. Read this recent thread:
http://marc.theaimsgroup.com/?l=php-generalm=105517588819420
Also, this faq explains it:
On Tue, 10 Jun 2003, Ben Houlton wrote:
Now I get a blank page and all the code... that I can think of is the same...
Look here:
HTML
BODY
?php
$db = mysql_connect(localhost,root);
mysql_select_db(kangaroo,$db);
if ($submit) {
if ($id) {
[snip]
Do this, to help us and you
On Tue, 10 Jun 2003, Erich Kolb wrote:
How do I get a value from an array thats inside of an array?
$array = array('a' = 'apple');
print $array['a']; // apple
$array = array('a' = array('b' = 'banana'));
print $array['a']['b']; // banana
$array = array(array(array(array('c' =
On Mon, 9 Jun 2003, Charles Kline wrote:
Yes. Is weird. I thought this would work too, but for some reason it
was not removing them all. I wonder if re-saving the files with UNIX
linebreaks (or try DOS) would have any effect. Will report back.
$str = str_replace (array(\r, \n), '', $str);
On Mon, 9 Jun 2003, Thomas Seifert wrote:
On Mon, 9 Jun 2003 07:35:16 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote:
I use phpnuke and it have a sql_layer.php. You are correct, for mysql is
mysql_query. But this dont is the problem, I change it and the problem
continue!
Any
On Mon, 9 Jun 2003, Peter Berglund wrote:
How do I count the memory usage of a script/page.
As of 4.3.2, if you compile PHP with --enable-memory-limit
you may use memory_get_usage(). This is documented and
will show up when the next PHP manual is built.
Regards,
Philip
--
PHP General
[snip]
rant
register_globals=off won't make good code any better --it's just
a safety net for the sloppy coders.
[snip]
In some sense, register_globals = off makes both bad and
good code better, because it means less pollution. So
many unused variables get defined with register_globals
on
PHP 4.3.0-1 has a bug that made your previous code work,
have a look at the fread() docs for why, here's a quote:
Note: When reading from network streams or pipes, such
as those returned when reading remote files or from
popen() and proc_open(), reading will stop after a packet
is
That article is pretty old, and the code sucks.
Read this instead:
http://www.php.net/features.file-upload
It will explain everything.
Regards,
Philip
On Sun, 8 Jun 2003, nabil wrote:
Please help me , I want to make any user on my website to submit his CV , or
any file to a temp
On 08-Jun-2003 Philip Olson wrote:
[snip]
rant
register_globals=off won't make good code any better --it's just
a safety net for the sloppy coders.
[snip]
In some sense, register_globals = off makes both bad and
good code better, because it means less pollution. So
many
;
}
else
{
echo brbr;
echo Could Not Copy, Wrong Filetype
(.$_FILES['imagefile']['name'].)br;
}
}
?
/form
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Rodney Green [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 1:21
On Sat, 7 Jun 2003, Bix wrote:
Monty,
The best way to avoid SID Hijacks is to assign an IP variable, and an
expiration
session_register(USERIP);
$_SESSION['USERIP'] = $_SERVER['REMOTE_ADDR'];
session_register(EXPIRES);
$_SESSION['expires'] = time() + 900; // 900 seconds (15 mins)
On Sat, 7 Jun 2003, Tularis wrote:
I was wondering where I could get the rewrite urls for the rewriting of
urls like here on php.net.
- Tularis
P.S. I don't think they're in the phpweb on CVS, I checked that already
What you see in phpweb is what you get, there is no
mod_rewrite, just a
I can't build php-4.3.2 with apache 2.0 under a RedHat 9 box.
Okay, Apache2 has some issues, and Redhat itself always
has issues with it's unique setups...
[snip]
php compilation fails even when I try just:
[EMAIL PROTECTED] php-4.3.2]# ./configure --with-apxs2=/usr/sbin/apxs
Okay
[snip]
but I get following error:
Warning: fsockopen() [function.fsockopen]: no SSL support in this build
in
/usr/home/trivisions/html/sextoymerchant.com/payment/checkout_confirm.ph
p on line 64
So does this mean that my PHP installation does not support SSL, and
that I have to
On Sat, 7 Jun 2003, Artoo wrote:
Anyone know of a good free thumbnail program that can be called from a PHP
script using the exec() call or something similar?
By far, the most popular are the tools offered by
ImageMagick, such as mogrify:
http://www.imagemagick.org/www/mogrify.html
By no errors, do you mean you have a PHP version greater
than PHP 4.2.0 and checked the ['error'] code, and it
has a value of 0? Are you sure you want the filename
to be $file_name? I doubt you do.
Regards,
Philip
ref: http://www.php.net/features.file-upload
On Sat, 7 Jun 2003, Rodney Green
On Sun, 8 Jun 2003, Dustin Pate wrote:
Fatal error: Call to undefined function: xml_parser_create() in
/home/httpd/rootdir/sstats/includes/XPath.class.php on line 1410
I now get this error on my phpsysinfo page. I have changed nothing in my
install except for updating recently. My Linux
thumbnail is another good
search term to throw into the mix.
Regards,
Philip
Philip Olson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sat, 7 Jun 2003, Artoo wrote:
Anyone know of a good free thumbnail program that can be called from a
PHP
script using the exec() call
Odds are you don't need PDFlib at all. The docs at php.net/pdf
link to the following faq:
How can I generate PDF files without using the non-free and
commercial libraries ClibPDF and PDFLib? I'd like something
that's free and doesn't require external PDF libraries.
On Fri, 6 Jun 2003, Matt Zur wrote:
Does anyone know of a simple program that will let me specify a file
within a certain directory to load into a textarea field, let me make
changes, then export/replace that file with the changed contents?
I tried writing one myself in PHP, but I ran
1 - 100 of 599 matches
Mail list logo