Joseph Bannon wrote:
> have this function below that if an image is not there for $url, it give a
> "warning".
> $size = GetImageSize("$url");
Just use
> $size = @GetImageSize("$url");
but to stop display of error for all functions:
error_reporting (0);
the opposite, reports EVERYTHING, ev
Caleb Carvalho wrote:
> just finished installing php-4.0.6, now when writing the test.php page with
> the
Try again after you restarted apache ;)
--
PHP Developer, home: http://www.moijk.net | work: http://www.coretrek.com
tan: Tangent | http://www.php.net/manual/en/function.tan.php
--
PHP
Kurth Bemis wrote:
> i'm looking for a php function to add 2 decimal place sto a number. if the
> number already have one decimal place then one more zero should be added to
> make it two decimal placesanyone know of a quick way to do this?
printf("%.2f",$var);
--
PHP Developer, home: http
Martin wrote:
> The sessions-functions works really fine. But I got one Problem: How can
> I make the php-session last more then a browser-session? When the users
Now it isn't a 'session' for nothing, for your use I guess cookies and storage
of state in database is a much better thing.
to mak
Adam Plocher wrote:
> First of all, is there anyway I could have my script take a full size image
> and crop out a chunk of it to be used as a thumbnail - or just simply shrink
> the image down to be used as a thumbnail?
ImageCopyResized, requires GD.
> Also, is there anyway to convert misc ima
Tarrant Costelloe wrote:
> I have a log in script written in PHP4 which accesses a secure server. Once
> entered I want the the secure page to hold the users name (from variable) in
> the header Something along the lines of this:
> $name is logged in
> Obiously I have tried that with no luc
After a great deal of swear words, preassure from my boss and numberous tries I
now cry out for help. Can anyone compile a howto on installing pdflib so tha
tit works with php 4.0.5 ? I've tried so many times and neither me or our
sysadmin can manage to make php understand that I really need to
Kyle Mathews wrote:
> I'm looking for some code that will upload images to my server from a form
> submission.
> I'd also like it to check for a max file size of the images.
> Any help would be appreciated.
what about reading the manual? there are variables that contain the file size.
http://ww
On Sunday 06 May 2001 14:57, Alexander Bierbrauer wrote:
> does anyone know a good PHP developer IDE for Windows?? I'm using PHP
> Coder but it's a little bit to buggy.
slickedit is what I preffer to use, you got syntax highlighting, api help,
function tagging so that you get info about your ow
On Thursday 03 May 2001 17:30, Jason Stechschulte wrote:
> On Thu, May 03, 2001 at 03:56:55PM -0700, elias wrote:
> > i even tried the eval() which should work, but it didn't, scroll down to
> > message with Subject: $hello
> I don't think you understand eval(). Either that or I don't. If I
On Thursday 03 May 2001 09:55, Jorge Amaya wrote:
> I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
> I have a problem, My navigator doesn't recognize the files of php3, that
why install php3, not php4 ?
> is to say it doesn't work me php in the navigator, I have co
On Monday 30 April 2001 21:19, Brandon Orther wrote:
> Is there a way to sort an array alphabetically?
two examples
sort -- Sort an array
natsort -- Sort an array using a "natural order" algorithm
--
php developer / CoreTrek AS| Somehow I reached excess without ever
Sandnes / Rogal
On Thursday 26 April 2001 00:37, Michael Conley wrote:
> I am going to have a page that will be used for visitors to upload a file
> to my web server. I already use gzcompress to compress some of the pages
Just state that all files should be compressed cause you can't do anything
with the file
On Sunday 29 April 2001 12:54, idban secandri wrote:
> i found this when surfing this morning
> http://www.phpsucks.net/
The site www.phpsucks.net is running Apache/1.3.17-twelveHTTP (Unix)
PHP/4.0.4pl1 on Linux.
is it just me or is it a mirror of the old php site with the text 'Hyped text
On Thursday 26 April 2001 13:33, Rosen wrote:
> main.php:
> Click here
You need a good deal of beating if you do your markup like that. there are
something called a standard and that standard would make that line look like
this:
http://www.moijk.net/ | amusing? 3. Does it know its p
> > http://www.php.net/manual/en/features.error-handling.php
> > have you taken a deeper look into this?
> Well, I have tried...
And what kind of problem did you encounter?
> My problem is that not displaying anything in case of an error is a
> completely unacceptable solution. I *MUST* re
On Monday 23 April 2001 11:56, Greig, Euan wrote:
> I have read in several places that is dangerous to have register_globals
> on, but I have not understood the (short) explanations given. Can anyone
> enlighten me?
keep it a rule to either unset any variable that you use or set them with a
def
On Monday 23 April 2001 17:29, Svein Roar Nilsen wrote:
> And I see no reason why we should not be allowed to handle most of the
> fatal errors we get on our own. Especially annoying is the xslt_process()
> function that returns something like "Fatal error: XML parser
> error 7: mismatched tag
On Monday 23 April 2001 17:34, Taylor, Stewart wrote:
> You've got some typo's
> if (my_type != "0"){ --> if ($my_type != "0") {
if ($my_type)
if it's a check if it's true, "not-equal"-ing it to string 0 is a ugly way to
do it. just my two cents.
--
php developer / CoreTrek AS| Fo
On Monday 23 April 2001 14:41, Martin Thoma wrote:
if ($word != "flat") {
echo <<
html
html
--
php developer / CoreTrek AS| I judge a religion as being good or bad
Sandnes / Rogaland / Norway| based on whether its adherents become
web: http://www.moijk.net/ | bette
On Monday 23 April 2001 08:59, Alexander Wagner wrote:
> Tyler Longren wrote:
> > $file = fopen("includes/about.inc", "r");
> > $data = fread($file, 2400);
$file = "includes/about.inc";
if ($fp = fopen($file,"r")) {
$data = fread($fp,filesize($file));
fclose($fp);
}
ought to work.
--
On Sunday 22 April 2001 23:51, Padraic Tynan wrote:
> You know, that's a tad rude, just suggestion an OS switch like that. :รพ
> I mean, my http server isn't the only thing I run -- this is my personal
> use computer.
I run linux and freebsd on my personal and work computer(s). but that's my
p
On Sunday 22 April 2001 22:02, Steve Maroney wrote:
> This brings up a question that I always wondered.
> Does Access have server functionality? Where do you configure these
> settings ?
If you go over the menuchoice - file, shake your mouse, bite in the cord,
slam your head in the monitor fi
On Saturday 21 April 2001 04:42, [EMAIL PROTECTED] wrote:
> Alrighty. I'm baack! Anyways, I seem to be having stupid little
> problems, al of which are driving me insane. I'll feel really
> stupid when you tell me the problem. A friend told me something about
> "seeding" for random() but I
On Saturday 21 April 2001 20:15, Jason Caldwell wrote:
> I know this is off-topic -- please forgive me. But I figure someone here
> would know.
> I'm looking for some really nice *professional* looking (submit, logon,
> buy, help, etc) buttons for my website... I've done all kinds of
try
On Thursday 19 April 2001 21:48, Steve Lawson wrote:
> Personally, I hate trailing {'s
Personally, I hate having the {'s on the next line. I always trail them in
others code when they have them on the next line :)
and there are thousand of ways that the people here displays textblocks. some
On Thursday 19 April 2001 05:18, Tony Daniels wrote:
> I need to know if there is a program out there that I can use to edit
> the PHP files. I use CuteFTP to download the files from my server as I
www.homesite.com
www.ultraedit.com
www.slickedit.com
I assume this have uploadfeatures, atleast
On Wednesday 18 April 2001 08:38, chris herring wrote:
> this is really buggin me... i've got this free-for-all that i want to
> make, and everything seems logical, but
I did a quick rewrite here. it adds links as people enters them :)
Url:
Nam
On 05 Apr 2001 11:53:21 +0200, Christian Reiniger wrote:
switch ($foo) {
case "bar1":
$foobar="fooey";
break;
default:
$foobar = "NoBar";
}
> > I have a list of conditions I want to test against.
> > In ASP, I would do:
> > How do I do the equivelent in PHP?
> Try reading the m
On 04 Apr 2001 16:59:24 +0200, bizzk wrote:
> Hi,
> Does anyone has some program/script that converts a MS-Acces database to
> mySQL (prefferable in a .sql, .mysql or .txt file so i can upload it in
> phpMyAdmin).
http://www.mysql.com/downloads/contrib.html#SEC546
--
php developer / CoreTrek A
On 04 Apr 2001 17:25:14 +0100, TV Karthick Kumar wrote:
> Instead I would like to get rid of one comma in between the email
> address and just display and sepearte it with only comma, instead of two
> commas and it should work for all the combinations that's possible.
>
> What are the pos
On 05 Apr 2001 03:32:10 -0400, Jack Dempsey wrote:
>
> It'd be nice to have someone to do our dirtywork for us, but this list
> isn't (IMHO) about finding people who DO have the time/knowledge to
> "snoop around in the sources" for us...
Where is the sense of humor? :)
I just asked if anyone ha
On 05 Apr 2001 03:32:10 -0400, Jack Dempsey wrote:
>
> It'd be nice to have someone to do our dirtywork for us, but this list
> isn't (IMHO) about finding people who DO have the time/knowledge to
> "snoop around in the sources" for us...
Where is the sense of humor? :)
I just asked if anyone ha
On 04 Apr 2001 16:53:28 -0400, John Donagher wrote:
>
> There is an irc (ircg) extension now, although it is undocumented in the
> manual.
>
Who do one have to bribe/kill/beat to get the info about that when one
hasn't time/knowledge enough to snoop around in the sources?
--
php developer /
On 04 Apr 2001 03:15:25 -0500, Plutarck wrote:
> As in when you pull up a site in your browser, or when you use a script to
> make an http connection to another site?
I want to make a connection to a foreign webserver and fetch the headers
as well as the content. I was wondering of a 'painless' w
Is there any 'easy' way I can get the html headers receved when making a
http connect?
--
php developer / CoreTrek AS| Moody bitch with attitude, seeks nice,
Sandnes / Rogaland / Norway| good-looking guy to dump on.
web: http://www.moijk.net/ |
--
PHP General Mai
36 matches
Mail list logo