email address I get the same error "unrouteable mail
> domain"
>
> I am able to nslookup the addresses before hand so I don't
> understand why the mail delivery is not working...
Generally, with email problems it is best to show the actual domains, makes
troubleshoot
to remove (if it's there)
> before echoing.)
>
> When this same script is run on my ISP (PHP 4.0.6), I get the following
> error message:
>
> Warning: Wrong parameter count for rtrim() in
> /u/htdocs/smarts/jupiter/callisto/include/create.inc on line
> 216
>
>
>
On Friday 05 July 2002 22:20, Scott Fletcher wrote:
> Ah! Thanks! By the way, it's "count()" with a "n". :-)
That was to trick you into RTFM! Hey you were lucky that the 'o' wasn't left
out instead :)
--
Jason Wong -> Gremlins Associates ->
here is at least one php-based newsreader out there, look at how they do it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
... Logically incoherent, semantical
On Saturday 06 July 2002 10:37, Alberto Serra wrote:
> JJ Harrison wrote:
> > Attached is the file.
>
> ðÒÉ×ÅÔ!
>
> No attachment came :(
Don't attach a file, include your code inline. I for one will not open an
attachment (too lazy).
--
Jason W
_error();
And RFTM for examples on how to incorporate error checking in your db
operations.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Any sufficien
#x27;t
> handle file this size? Please give me some pointers here. TIA.
You may need to change the post_max_size (in php.ini) as well.
Manual > Handling file uploads > Common Pitfalls
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
s at least being passed back to the server.
php.ini > register_globals
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mind provide
> some code to let me reference. ?? I am doing my project. I need this
> information in urgent. Please friendly give me advice here . thanks
Search archives for "upload mysql"
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
--
PHP General Mai
- what do you mean? The code I posted is all
> there is to the entire script. Where else would I use the ini_set()
> function except at the very beginning of a script?
Because PHP registers the globals etc (if enabled) then starts working on
your code.
Anyway, regardless of whether or
other settings) in the apache conf file.
This does NOT work:
php_value register_globals On
Whereas this does work:
php_value register_globals 1
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
example. my DB have a
> text "Hello World" , It can retrieve only "HELLO" by using
> mysql_fetch_array .
Whenever you insert data into a database you need to escape any special
characters. As you're using MySQL, simply using addslashes() on your data
before inse
am very new to HTML and PHP.
What version of php are you using? If it's pre v4.1.X then $_POST is not
available and you should use $HTTP_POST_VARS instead. But the best thing
to do is to upgrade to v4.2.1.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed help in. That way people needn't waste time in covering
things that you already know.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
those dam
> SELECT
> extract(year FROM time),
> extract(month FROM time),
> count(*) as monthly_views,
> time
[snip]
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applicati
ecs. Then set the url of that window to point to
add2cart.php, and also attach the form values to the url.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/
ms someone has some catching up to do :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
VMS version 2.0 ==>
*/
--
PHP General Mailing List (
> Is 'track_vars' turned *ON* in php.ini? That's the one that fills in all
> those variables.
track_vars is always on for recent versions of php (4.0.3+).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Desi
ilure should be:
if ($status === FALSE)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Extreme fear can neither fight nor fly.
-- William Sh
ng that i have tot change in php.ini ?
register_globals
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A transistor protected by a fast-acting fuse wi
t; I want to know how i can use php to detect if such file is exist in that
> specific Folder?
is_file()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Dev
-with-apache=/usr
But you're better off using apxs instead:
--with-apxs=/usr/local/apache/bin/apxs
Obviously the path to apxs on your system may differ.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Inter
ee the phpinfo page.
Have you managed to get the examples in the manual to work? Always start with
something simple and work your way up. The examples in the manual are an
ideal reference point as they _should_ work, so if they don't work for you
you'll know you're doing something w
ilable, use $HTTP_POST_FILES[],
If upload fails for any reason then (I believe), $_FILES['pdfFile']['name']
would be empty. So:
php.ini --> upload enabled? Are the other settings governing uploads set to
reasonable values? Check manual > Handling file uploads &g
a document repository module.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A synonym is a word you use when you can't spell the word you first
thoug
ell format? Thanks in advance for all answer!
archives -> "mysql excel"
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
After years of rese
too well? It displays a picture of a naked guy instead of
the naked girl that you was expecting?
> $localip = "192.168.0.13";
> if ($REMOTE_ADDR == $localip) {
> ?>
>
> Allowed!
>
> }
> else {
> ?>
>
> Denied!
>
> }
>
> ?>
-
On Saturday 13 July 2002 13:31, Alex Shi wrote:
> The thing is that, the MySQL table resides on a remote web server, my
> client want to download it and access it in Access.
Doesn't matter, ODBC works across a network.
--
Jason Wong -> Gremlins Associates -> www.gremlins.c
r allows remote access then the
easiest way is to use mysqldump. For details consult mysql manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Love is
.168.0.*";
> $localip = "192.168.0.0/24";
In this particular case all you need to do is check that the ip address
($REMOTE_ADDR) begins with "192.168.0.". So look in the manual to see which
of the string function(s) you need to perform this comparison (probably
strs
On Saturday 13 July 2002 14:00, Alex Shi wrote:
> "Jason Wong" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > On Saturday 13 July 2002 13:31, Alex Shi wrote:
> > > The thing is that, the MySQL table resides
server. Because i need to move tabel data on my
> Client/My Computer to the Tables on my Website mySQL.
Allow remote access to your local mysql (read up on the security chapter of
manual).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems
hp solution for this...
OK, export mysql tables to CSV, import into Access.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Try to be the best of whatever you ar
iling is trivial,
so you can always add whatever you need, _when_ you need it.
> do excess features slow down php?
If they're not compiled as modules then most likely yes, as at the very least
it results in a larger executable. Whether the slow down is noticeable,
you'll have to be
just have to rename your checkboxes to something like listid_1,
listid_2 etc. Then loop:
# Untested code, use with caution
for ($i = 1; $i < $number_of_checkboxes; $i++) {
if (isset($_GET["listid_$i"])) {
echo "listid_$i is checked";
}
}
--
Jason Wong -&
either space or punctuation? If so:
I prefer preg_replace so try:
$SAFEFILENAME = preg_replace('/[^a-zA-Z0-9]/', '', $FILENAME);
*** Untested use with caution ***
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrato
gt; Yet none seem to work.
>
> php_value include_path ".:/path/to/account/root"
This one _should_ work. Try it without the double-quotes.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Interne
ServerName example.com
Order allow,deny
Allow from 10.0.0.0/24
> P.S. I know it's got to do with Apache mostly, but it kinda has some
> relation to PHP... ;-)
To be honest, follow-up questions should be directed to the apache list.
--
Jason Wong -> Gremlins Associates -&g
h the following file test.php, using the URL
> > 'test.php?mid=1' displays 'nope'.
This list gets at least one question a day on this subject ...
> Do you always upgrade programs without reading to see what changes have
> been made?
... and that's because people d
On Monday 15 July 2002 00:01, RoyW wrote:
> If:
>
> $today = date("Y-m-d");
>
> Then how to I get:
>
> $yesterday = ?
Use strtotime() followed by date(). Details in manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Soft
at I
> consider" common words. Certainly there must be a list of these. Anyhow, I
> explode the question string into words and then iterate as such:
>
>
> foreach($words as $Key=>$Value) {
> if($ignoreWords[strtolower($Value)]) {
> continue;
> }
s confusing, given that the manual says mcrypt_create_iv() is
> available in PHP 4.
The hooks to those functions are there, it still requires that you install the
lib.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web De
On Monday 15 July 2002 03:55, Tim Luoma wrote:
> Jason Wong wrote:
> > This list gets at least one question a day on this subject ...
>
> And there will be a lot more as people scan the web for example scripts
> and find ones that assume 'register_globals' is set t
ne tell me what the correct ereg/preg expression for this
> would be?
$ArticleText = preg_replace('/ +/', ' ', $ArticleText);
This replaces instances of one or more space with a single space.
> I would also like a pointer to regex syntax, if someone knows
> offhand.
The m
us. It
can take anywhere up to around 30 secs for it timeout. Are you prepared to
make your users wait that long?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Dev
On Tuesday 16 July 2002 20:42, Andy wrote:
> Hi there,
>
> I am wondering if it would be possible to activate a php script via cron
> periodicly.
>
> Can anybody give me a hint on that or knows a good article?
Search archives for "cron OR wget"
--
Jason
with the newline still attached". So one possible solution is after using
file(), loop through $users and remove the trailing "\n".
> I want to ensure that the .users file is in;
>
> user1
> user2
> user3
>
> ...format, am I missing something in the rec
On Tuesday 16 July 2002 22:35, Dave [Hawk-Systems] wrote:
> >> $users[]=$newuser;
> >> # adds the new user to the end of the above created users array
> >> # then write the array to the file
> >> $fd = fopen (".users", "w+");
> >> fwrite ($fd, join("\n",$users));
> >> fclose ($fd);
> >>
> >> the
526_P_1' in 'where clause'.
Well I can't see what this has to do with PHP let alone the implode()
function.
The error quite clearly says "unknown column ..."
The proper use of IN requires that string values must be enclosed in either
single-quotes or double-quotes. Th
d conversely, if I had a slow connection I /might/
want to wait 15 mins for the 'enhanced' version to download.
Don't decide for the user what the user can decide for themselves :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Sys
mpile and install the standalone php binary by default.
Add whatever other options you need to the ./configure command. It's all in
the manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet
hing a little more eloquent.
Start from scratch. You have a file with a single user on each line:
tom\n
dick\n
harry\n
You use file() to read into array $users.
You compare as in above.
You add a user by:
$users[] = "NEW_USER\n";
You write out the file as above.
If my logic hav
md);
> echo $returndata;
What _should_ your perl script return? Also RTFM for exec().
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Prediction i
elp
to find out how to specify where to install it. Or better still, after "make"
do NOT "make install". Then manually copy the php binary to wherever you
want. Again this is all covered in the manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Op
re php to compile with imap support?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
When your work speaks for itself, don't interrupt.
-
ple to know you're using PHP then you need to at least
disable "expose_php" in php.ini. Also depending on your error reporting
settings, any error _may_ potentially advertise the fact that you're using
PHP.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
tamps.
2) Use time() to get the current unixtimestamp.
3) Use the standard less-than (<), greater-than (>) comparison operators on
the above 3 items to decide whether or not to display the text.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems
'load correctly' mean?
My guess is that $img_code contains a space?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Veni, vidi, v
t;.
>
> However there is one cavet; if the word already has a captital anywhere in
> it, it should be left alone!!!
ucwords()
> Is there a soultion using regular expressions?
Yes.
> Also is there one for removing multiple spaces?
Yes.
> i..e given "A B C D E" it wo
gt; --clip--
>
> Those same variables from above, I only need to know if hte "X" exist in
> the string, nothing else.
strstr()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & In
On Wednesday 17 July 2002 20:51, MAAS wrote:
> What do I have to do before I can run my file.php as a cron job in Linux?
search archives for "cron".
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hostin
gt; is it possible or should i use direct smtp
> connection?
Have a look the the Pear mail.php or google for "php smtp auth"
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet
ain.com IN NS dns1.expample.com". Note the '1' and still
> maintain the format of the file...
>
> My script keeps adding and extra line to every line even when I told it to
> trim.
Did you even _try_ to do your own debugging before asking the list? You know
what the prob
On Thursday 18 July 2002 05:31, Ryan wrote:
> How do you format this for example: 13:58:00 into 1:58 PM
Manual > Date and Time functions
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Int
On Thursday 18 July 2002 13:14, vins wrote:
> How do i debug.
> Thats why i asked
echo/print out key variables at strategic points in the code. Ensure that they
contain what you expect them to contain.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Soft
On Thursday 18 July 2002 17:33, Jose Morales wrote:
> Hi!
>
> Im looking for some class that alow me to draw an histogram, or a piechar,
> for display statistics.
www.phpclasses.org
also jpgraph
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Sourc
on id:
[snip]
... do we really need quotes from the manual? You've already given the pointer
which is sufficient in itself for any interested parties to look up the
relevant information.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrato
> does not exist in this version as it does in the older version.
Because someone or something inserted those lines in the older version.
> Is it now automatic with the newer version??
You still need those lines in the newer version if you want PHP to work.
--
Jason Wong -> Gremlins Assoc
assoc()!
> I'm using mysql_fetch_array() and I want to foreach only the assoc. part of
> the array without using mysql_fetch_assoc():
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet &
per
> page. My question is, is this inefficient? is there any better way i dont
> know of? or does the 2 queries not mka emuch of a difference
If the results of the first query were small enough to be completely kept in
the (RAM) cache then the second query would be performed much quicker.
--
Ja
ron job which would reboot the OP's computer every
minute and that _wouldn't_ be fun.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The Public
; }
>
> ?>
foreach ($datafile as $line) {
echo "$line";
}
is a lot simpler and easier to understand.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Application
then, in general,
it'll only return 1 row. You then use this row to determine the result of the
COUNT(). IE using mysql_numrows() on this result is inappropriate.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design
ame result twice?
Function executes twice.
> would it be (slightly) faster to do this:
>
> $uid = validate($_POST['password'], $_POST['username'])
> if($uid != 0)
> echo $uid);
Probably.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
sion 5. With
so many patches and 'upgrades' issued for IE I won't surprised if there is
some combination which causes Location: header to fail.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * I
save it's
> minature view in my DB / file ? (How can an image be resized ?)
After you've figured out 1 & 2, read up on fopen().
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intr
this is probably simple but I just can't figure it out
str_replace()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Forced to support NT servers; s
able on php 4.1.X or above. Read the docs for the details.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Unprovided with original learning, unformed i
On Monday 22 July 2002 23:44, Dean Ouellette wrote:
> Tried this, but same message
>
> $Message .= "\n\n$HTTP_POST_VARS['Footer']";
$Message .= "\n\n$HTTP_POST_VARS[Footer]";
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Sou
ve to quote vars on parms } ?>
Make sure that the '} ?>' are on a separate line (ie not a continuation of
your comment -- // don't have to quote ...)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design &
but it didn't work. i.e. jpeg is still not enabled
> in gd. :\
>
> Does anyone know how to get jpeg enabled in gd?
Yes.
> I'm using php 4.3.3.
Unless dramatic changes were made in 4.3.3 then the procedure should be the
same as the previous versions. Namely:
--with-gd --w
/local/bin
> --with-jpeg=/usr/local
>
> None of which worked.
Because they're incorrect.
> Any suggestions?? :)
Read the beginning of this post again.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Softw
previous posts. The least you could do is read it!
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Searc
After upgrading from php 4.0.x to 4.2.3
many previous php scripts that had been working failed
becos of the "include" statement
The apache error log logged "segmentation fault"
I think it might have to do with AIX as there are
no problems for 4.2.3 which I've installed on Tru 64 Unix
(I've checke
h that version of PHP. Upgrade to a newer
version. Also if you don't have any particular reason to use Apache 2.x then
you ought to use Apache 1.3.x instead.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems I
$random_table == 1.
> If not, then what am I missing.
You didn't RTFM -> mysql_list_tables()
mysql_tablename()
mysql_fetch_array() and friends
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Ho
t; all one solid color. I'd love to know if there's a better way OTHER
> than include()ing different files.
Lots of
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intrane
EMAIL PROTECTED]>
> [EMAIL PROTECTED] Has anyone been able to come up with a
> regular expression that will allow php to validate an e-mail address
> like this?
Search the archives or ask google.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems I
and a preprocessor that can send it to PHP it's being printed to
> the screen.
You would be better off asking on a php-nuke forum/list.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting
body tell me what could be wrong?
You gave the wrong directory for the "--with-jpeg-dir" option. But you didn't
give enough details for us to help you, ie:
- where your libjpeg files are installed
- what the error message is
--
Jason Wong -> Gremlins Associates -> www.gr
t; Please note that i I intend to add a kind of word merge functionality later
> on.
> eg:
> Dear <::name::>,
> thank you for subscribing your email address: <::email::>
> etc etc
For this, your only choice is to send mails out individually.
--
Jason Wong -> Greml
search on "mail" now.
mass mailing, bulk mailing would probably be better search terms.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
---
do the PDF stuffs if there is no PDF on the
> server? Etc...
There are at least two projects which implements some pdf functions using only
PHP code (thus negating the need to install pdflib).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Inte
ay$$preferences() ;
>
> $functon = "dis_play$preferences";
> $function();
Better still:
$functon(); // [sic]
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications
figure out
> how to make this work without writing the image out to a file (and since
> I'm already taking a bit of a performance hit by reading the image out
> a database, that seems like the wrong thing to do). Can anyone elaborate?
imagecreatefromstring()
--
Jason Wong ->
echo "This is the same";
-----
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Sea
On Tuesday 16 September 2003 21:24, Jon Haworth wrote:
> At this point $p is an array rather than a variable, so you'll need to get
> the last element of $p.Try something like this:
>
> $p = explode('.', $pfile);
> $extension = $p[sizeof($p)-1];
Better still, us
n? There's no output? There's an
error message? The monitor explodes?
> Do you have any other idea? I already ran out of
> them... :-(
What version of PHP are you using? Have you turned on all error reporting? And
what does
print_r($_SERVER);
give you?
--
Jason Wong -&g
gd libs (not the bundled ones)
resolves the problem.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list ar
ou don't know how to do this then read manual > Installation. Or search
out some tutorials.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
1301 - 1400 of 3371 matches
Mail list logo