On Sunday 22 December 2002 10:29, Beauford.2002 wrote:
> Hi,
>
> First off, thanks to all those that helped out with my other questions. Not
> all my problems were solved, but I'm certainly closer. Still working on the
> same project I need to do the following.
>
> I have a form where users input n
On Sunday 22 December 2002 14:18, Noel Wade wrote:
> Okay, attacking my flat-file issues from the other end:
>
> When you use $foo = fgets($fp_file); it appears that a blank line ends up
> looking exactly like a FALSE ("failed to read") return value... Is there
> any way to differentiate between
On Sunday 22 December 2002 14:04, James Brennan wrote:
> I'm using a HTML form to submit flat text files to a MySQL database. When I
> upload the text file by FTP the script that loads it's contents into the
> database works as expected. When I upload using the HTML form it seems to
> ignore the ne
"Noel Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When you use $foo = fgets($fp_file); it appears that a blank line ends up
> looking exactly like a FALSE ("failed to read") return value...
A blank line should return the newline (\n or \r\n), acco
> A blank line should return the newline (\n or \r\n), according to
> http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 =
> signs) as the operator, which enforces type checking on a comparison).
Yes or no:
$foo == FALSE === 0;
???
Right now I'm just doing
if($foo)
A
"Dave J. Hala Jr." <[EMAIL PROTECTED]> ha scritto nel messaggio
1040500684.942.130.camel@badboy">news:1040500684.942.130.camel@badboy...
> I've got a bunch of fields in a mysql database that have a \Z character
> in them. I want to search a field for \Z and if it contains that
> character, make t
I have generated a page on our server using PHP (from within a CMS system)
which I renamed the output .html to use in an html email.
My problem is when I cut and paste the HTML into the email (Outlook) it
either:
displays the code,
displays the html email and then when it's sent, sends it as an att
This field contains ONLY the \Z. Thanks for the suggestion but it
generates the following error message:
Parse error: parse error, unexpected '\"' in
On Sun, 2002-12-22 at 04:49, Mattia wrote:
>
> "Dave J. Hala Jr." <[EMAIL PROTECTED]> ha scritto nel messaggio
> 1040500684.942.130.camel@badb
Hi all
I'm reviewing a few things before starting a new project. I often need to
include() a file relative to the current script which itself is included.
__FILE__ is useful to know the current script's path but it seems to be
totally undocumented at php.net except for a few indirect references
php-general Digest 22 Dec 2002 15:05:13 - Issue 1778
Topics (messages 129089 through 129114):
Re: Forms and PHP variables
129089 by: Philip Olson
129097 by: Beauford.2002
129106 by: Jason Wong
assignment by reference bug?
129090 by: reynardmh.netscape.net
Re
This is not realy a PHP question; rather, it is an OutLook question.
Regardless...when you opened the OutLook window to create your mail, did you go to the
Menu->Format and select "Rich Text (HTML)""
- Original Message -
From: "Steve Jackson" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PR
Thanks Manuel,
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> On 12/21/2002 08:10 PM, Jonathan Chum wrote:
> > An upcoming project I'm working and spec'ing out is a mass mailing
> > application. Initially, I was looking at Mailman whic
is_numeric() will work with variables just fine. So:
if (is_numeric($var)) {
print "Yep, it's numeric";
} else {
print "Nope, it sure isn't a number";
}
Make sure $var is defined. If it's coming from a
form then use $_POST['var'] or similar instead for
reasons described here:
> On Sat, 2002-12-21 at 08:03, John W. Holmes wrote:
> > > I'm setting a session with
> > > session_set_cookie_params (time()+648);
> > > so the cookie should last 70 days+ but the data wasn't
> > > returned.
> > >
> > > from looking in the manual i see that session_cache_expire is used
to
> >
Hello,
On 12/22/2002 02:52 PM, Jonathan Chum wrote:
I was considering of writing the mass mailing application in PHP instead
though.
If anyone has eperience writing such applications with this amount of
emails, I'd like to know what you've done.
If you do not need to send personalized messages
It's a new day and I'm still trying to figure my flat-text database update
problem out. I am uploading from mac to unix . Does a .txt file have a
resource fork? Is the resource fork from the mac file automatically scraped
by unix, or do I have to do that? Would it be efficient to strip the
reso
Hello,
On 12/22/2002 11:29 AM, Steve Jackson wrote:
I have generated a page on our server using PHP (from within a CMS system)
which I renamed the output .html to use in an html email.
My problem is when I cut and paste the HTML into the email (Outlook) it
either:
displays the code,
displays the
Hi,
I have a problem with a php script that enables people to upload files
on my server. I don't know if this is a general problem or if you need
to see the script. It works fine with small files, but as soon as I try
to upload files with a size of a couple of MB, if
(is_uploaded_file($file)) retur
You need to set your php memory limit to twice the amount of any given file you
upload. If your memory limit (default 8M) is not twice the size of the file(s)
being uploaded it will not work.
look in php,ini
HTH
Quoting Oliver Witt <[EMAIL PROTECTED]>:
### Hi,
### I have a problem with a php s
You need to set your php memory limit to twice the amount of any given file you
upload. If your memory limit (default 8M) is not twice the size of the file(s)
being uploaded it will not work.
look in php.ini
HTH
Quoting Oliver Witt <[EMAIL PROTECTED]>:
### Hi,
### I have a problem with a php s
Howdy,
in my header page that I include I have a lil script that basically welcomes
a user to the site.. I've been asked if I can only get this to show up on
the 1st page of the site ( index.php ) now rather than have a whole new
header page I want to see if i can go something like this
if page
localhost refferes to the actual machine your are on .. what is the remote
server's host name or ip number .. use one of them instead of local host
> -Original Message-
> From: Kelly Meeks [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 21 December 2002 10:00 AM
> To: [EMAIL PROTECTED]
> Subj
Hey loop:
On Sunday, December 22, 2002, at 03:35 PM, James Brennan wrote:
It's a new day and I'm still trying to figure my flat-text database
update problem out. I am uploading from mac to unix .
I Assume you are uploading from Mac OS 9 or earlier, 'cause OS X is
UNIX :)
(Although OS X is a
I use:
if(eregi('index.php', $_SERVER['PHP_SELF']))
{
include('welcome_thing.txt');
}
although it'd be quicker without the eregi() call, as long as you knew the
full value that PHP_SELF would return.
Cheers,
Justin
on 23/12/02 11:30 AM, Peter Houchin ([EMAIL PROTECTED]) wrote:
>
Hi people,.
I have to build several classes for a project i am doing, but i am quite
new to OOP programming. I need to make a database abstraction layer
class and a user login class.. Does anyone know some good tutorials
about these things and OOP in general. Thanks in advance..
Best regards,
Both of those classes would already exist on a site like phpclasses.org...
do you have to BUILD them, or do you NEED them?
Justin
on 23/12/02 11:43 AM, Davy Obdam ([EMAIL PROTECTED]) wrote:
> Hi people,.
>
> I have to build several classes for a project i am doing, but i am quite
> new to OOP
Hi Justin,
Thanks for your quick reply.. Well in this case i needs to build em
myself, because i am doing a course called Masterclass PHP and i have to
learn OOP.. So i am looking for some good OOP tutorials/examples on the
web I am very interested in creating a user login class using
sess
I have the following problem, help me please!!!.
php 4.2.2
register globals off
apache 1.3.27
windows 2000
internet explorer 6.0 SP1
I have two archives.
One that handles the code part, as validating form's inputs and inserting in
the data base, and other one is the fill-out form.
Inside of
I found thise one to be rather useful:
http://www.liquidpulse.net/articles/125
- Original Message -
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "Justin French" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN" <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 8:30 PM
Subject:
php-general Digest 23 Dec 2002 03:28:02 - Issue 1779
Topics (messages 129115 through 129135):
Re: Email problems.
129115 by: Rick Emery
129121 by: Manuel Lemos
Re: Mass Mailing
129116 by: Jonathan Chum
129119 by: Manuel Lemos
Re: Forms and PHP variables
Hi,
I previously asked a question about getting undefined function errors in my
script and someone mentioned that it may be that I am calling it from within
an if or else statement. This turned out to be the case. Now the question -
is there a way around this? What I need to do resolves around man
An undefined function error has nothing to do with where you are calling
the function from. It has to do with whether or not you have defined the
function you are calling.
-Rasmus
On Sun, 22 Dec 2002, Beauford.2002 wrote:
> Hi,
>
> I previously asked a question about getting undefined function
On Sunday 22 December 2002 13:52, Noel Wade wrote:
> Hi All,
>
> Relatively new PHP coder (was in an MS / ASP shop before)... I'm doing
> some flat-file manipulation (please, spare me the database comments, I'm
> working on it!), and I'm having to read strings out of one file and copy
> them into
> Hi Justin,
>
> Thanks for your quick reply.. Well in this case i needs to build em
> myself, because i am doing a course called Masterclass PHP and i have to
> learn OOP.. So i am looking for some good OOP tutorials/examples on the
> web I am very interested in creating a user login class us
This tutorial lists many oop tutorials:
Know of any basic tutorials on PHP Classes and OOP?
---
http://www.faqts.com/knowledge_base/view.phtml/aid/7569
Regards,
Philip Olson
On Mon, 23 Dec 2002, Wee Keat wrote:
>
> > Hi Justin,
> >
>
On Sunday 22 December 2002 22:14, Dave J. Hala Jr. wrote:
> This field contains ONLY the \Z. Thanks for the suggestion but it
> generates the following error message:
>
> Parse error: parse error, unexpected '\"' in
>
> On Sun, 2002-12-22 at 04:49, Mattia wrote:
> > "Dave J. Hala Jr." <[EMAIL PROT
Hi all ,
i want to generate the thumbnail of an image but I want my php to be
portable. How can I generate thumbnail without depending on php host
configuration (like --with-gd) ?
Thanks .
Perseus
_
The new MSN 8: smart spa
Hi all ,
i want to generate the thumbnail of an image but I want my php to be
portable. So how can I generate thumbnail without depending on php host
configuration (like --with-gd) ?
Thanks .
Perseus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
You are going to have to depend on something. If you don't want to use
GD, you are going to need some external mechanism which will have to be
available.
-Rasmus
On Mon, 23 Dec 2002, Centaur zeus wrote:
> Hi all ,
>
> i want to generate the thumbnail of an image but I want my php to be
> po
Hi all ,
i want to generate the thumbnail of an image but I want my php to be
portable. So how can I generate thumbnail without depending on php host
configuration (like --with-gd) ?
Thanks .
Perseus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Is there some common utilities recommended ?
From: Rasmus Lerdorf <[EMAIL PROTECTED]>
To: Centaur zeus <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Thumbnail generation
Date: Sun, 22 Dec 2002 21:07:35 -0800 (PST)
You are going to have to depend on something. If you don't want to
On Monday 23 December 2002 14:26, Centaur zeus wrote:
> Is there some common utilities recommended ?
ImageMagick
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
It's not
I have a question regarding the use of the $_COOKIE autoglobal and
include() or require() tags.
I have a script (index.php) which gets cookie variables. This works
fine, and the cookies are accessable through both $_COOKIE["cookiename"]
and $cookiename.
However, then in the script I have a requ
Hi all,
I'm storing a bunch of images in a MySQL database. I use a small PHP script
to load the appropriate image from database and flush it to the browser.
Because this script flushes in content-type image/jpeg (or similar) it can
be used as IMG SRC. So images can be shown on a webpage using the
44 matches
Mail list logo