Hello,
"A3-Mail Proxy Handler" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an ssl class which does not work when called within php but
> works from console. I reported this as a bug to php.net. (Algorithm
> [Sun bla bla] not found)
>
> But while the bug is examined, I have to use this class from
Hello,
What is your PHP version? Perhaps, the problem has something to do with
"register_globals"?
What exactly is the problem you're having? Any error messages?
- E
PS.
The book is really great--it's part of my library :)
"Steve Jackson" <[EMAIL PROTECTED]> wrote:
> I am developing a shoppi
I also receive this kind of message. What's happening?
- E
"Monty" <[EMAIL PROTECTED]> wrote:
> For some reason I get the following e-mail every time I make a post here
> recently and not sure why:
>
> ---
>
> This message was created automatically by mail delivery software (Exim).
>
> A mess
Hello,
Are you sure you want to do something like this?
This seems like a good candidate for an "SQL injection"...
(Well, I'm not really sure how you're doing it so I could be wrong.)
Just wondering...
- E
"Dan Tappin" <[EMAIL PROTECTED]> wrote:
> I have a simple method of creating easy form
Hello,
"eNetwizard Developers Team" <[EMAIL PROTECTED]> wrote:
>
> Use $_GET["select"] for the switch statement
>
> Some of the people on this list would even recommend you make another
> variable first, such as $userselect = $_GET["select"] and use
> $userselect as your switch statement, thoug
Hello,
I'm afraid that your question is more of a "How can I use Flash MX?"
question.
Maybe you should get a good book about Flash MX or just google for some more
other tutorials...
- E
"Stephen" <[EMAIL PROTECTED]> wrote:
> I'm tyring to follow a DevArticle tutorial on creating a online users
Or,
You can use this:
http://www.php.net/manual/en/function.is-numeric.php
- E
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
> > > Then make sure $id is a number. You can use is_int, or (int), or
> > whatever.
> >
> > It appears that any numeric values passed via the URL (..?param=10001)
> ar
Hello,
Just wondering...
"danny" <[EMAIL PROTECTED] wrote:
> I want my visitor to use the navigation system of my website.
> (and don't want them to leave my website while reading the
> pdf documents).
Why do you have to turn your text/documents into pdf's in the first place?
> I Don't like my
Hello,
"Shane" <[EMAIL PROTECTED]> wrote:
> Any way to plug an entire HTML file into a variable?
>
> I looked into file_get_contents() but that was CVS format only.
>
True. But you can make your own. Something like this: --->
function file_get_contents($filename) {
$fp = @fopen($filename,
True. That's why I said:
> > then you can check whether the value
> > is_numeric() or something.
I think this narrows down what you're checking. So, if you send me "any
value" my script would just reject it. Besides, this is just a hint--there
are many ways to validate. Of course, you know that..
Hello,
Just a few ideas...
"derek fong" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having a major problem getting set_time_limit() to work at all
> with PHP 4.2.3 running as a CGI program under IIS for Windows 2000 (I
> originally posted this message to php-win, but am hoping someone here
> can s
Hello,
"Rick Emery" <[EMAIL PROTECTED]> wrote:
> Lets say you have a statement like:
> $query = "SELECT * FROM mytable WHERE firstname=$firstname";
>
> And if $firstname is set to:
> "xyz"; DELETE FROM mytable
>
> Then this is executed as: SELECT* FROM mytable WHERE
firstname="xyz";DELETE FROM
Hello,
Just a few comments... And no, I'm not Jason :)
"Monty" <[EMAIL PROTECTED]> wrote:
> Hi Jason, I have a follow-up question about mkdir. If the files created by
> mkdir are owned by 'nobody', does that create a security risk for those
> files?
No, not really.
> If so, how does one get aro
Hello,
"Erich Kolb" <[EMAIL PROTECTED]> wrote:
> I am trying to install php-4.2.3-Win32 on MS WinXP using
> apache_2.0.43-win32-x86-no_ssl.
>
> I have followed instructions included in the php package only I have
> changed:
> LoadModule php4_module "C:/php/sapi/php4apache.dll"
> to
> LoadModule ph
Hello,
"Chris Boget" <[EMAIL PROTECTED]> wrote:
> Ok, let me see if I have this right:
>
> When you do:
>
> $var = new myClass();
>
> $var instantiates and holds a copy of myClass. But when
> you do:
>
> $var =& new myClass();
>
> $var instantiates and references that instantiation?
>
>
Hello,
Please check the manual first before posting questions. ;)
It seems like you're dealing with files/directories so you may want to read
up a bit here:
http://www.php.net/manual/en/ref.filesystem.php
"Stephen" <[EMAIL PROTECTED]> wrote:
> Thanks again but one more question. How would yo
Hello,
"Monty" <[EMAIL PROTECTED]> wrote:
> Okay, I really want to understand how to make $_GET and $_POST more secure
> because it means changing a fundamental way my scripts are now working.
>
> So, it sounds like what I need to do in order to make form data more
secure
> is something like this
Hello,
"MET" <[EMAIL PROTECTED]> wrote:
> Where should you point the command --with-mysql to. The binary, header
> files, what? Currently I have MySQL installed at /usr/lib/mysql/. And
> this is a RedHat Linux 8.0.
>
> Suggestions?
Try --with-mysql=/usr
- E
...[snip]...
--
PHP General Ma
Hello,
"Chris Grigor" <[EMAIL PROTECTED]> wrote:
> Hey there all
>
>
> Im sure that someone out there can answer this question..
>
> I have a problem, how can I print each element in an array so that is
> returned into a table?
>
First, make sure that you have your 's in the proper places.
Then
Well, maybe not something written in PHP. Java perhaps...
- E
On Wednesday, October 16, 2002 1:46 AM
Chris Boget wrote:
> I've gone to PHPBuilder and PHPClasses and unless I
> totally missed something like it (a distinct possiblity :p),
> does anyone know of (or have) a WYSIWYG HTML
> editor t
Hello,
On Monday, October 14, 2002 10:44 PM
Maxim Maletsky wrote:
[snip]
> "ALT" key? I don't think so.
>
> The only way to type other language's characters is by switch the
> keyboard layout (ALT-SHIFT, usually) so your keyboard inputs the
> ASCII mapped to your keys. That's the only way. And,
Hello,
Just some ideas...
First, I don't think you can "pop open" a small browser window with PHP--use
Javascript. With Javascript you can define the size of the window AND you
can make it "disappear" (after the main browser window refreshes) by using
onBlur() then window.close() command.
Of co
Hello,
Just for the sake of the argument...
On Monday, October 14, 2002 10:44 AM
Chip Wiegand wrote:
> Sascha Cunz wrote this stuff back on Mon, 14 Oct 2002 01:13:53 +0200:
>
> > This beautifies it (even makes it a bit more secure), but one doesn't
> > need it really; should have worked without
Hello,
The function might be available in the next release so you don't have to
define your own.
http://www.php.net/manual/en/function.file-get-contents.php
But until then...
- E
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> function fil
Hello,
Just remember that fgetcsv() returns an array. So the first column is
$thearray[0];
You can just pass it to the function that generates the image BEFORE you go
to the next line of your csv file.
Or, am I missing something?
- E
On Saturday, October 12, 2002 2:05 AM
Bryan Koschmann wr
Hello,
You can use the fgetcsv() function (for uploaded text files).
http://www.php.net/manual/en/function.fgetcsv.php
- E
On Saturday, October 12, 2002 2:37 AM
YC Nyon wrote:
> I want to convert input data below (either from a webpage form or
> a uploadedtext file) to a set of arrays. The
Hello,
Have you tried http://www.phpclasses.org/ ?
-E
On Friday, October 11, 2002 11:31 PM
Subject: [PHP] Object-relational mapping and PHP
Juhan Kundla wrote:
[snip]
>
> I would rather not reinvent the wheel here, so it would be nice, if
> anybody could share her/his experience or suggest so
folder";
>
> And since we got into this, there are some servers where you don't have
> control over http config, so you shouldn't want to link to directories
> at all - you'd want to specify the exact file to link to, as in
>
> echo "Go to some folder";
>
nstead of this
>
> echo "Go home";
>
> IMHO, the second comes more natural to write, is easier to understand at
> a glance, is less prone to errors and, well, it's shorter!
>
> Bogdan
>
> @ Edwin wrote:
> > Not exactly. Single quotes are fine. I miss
still not give you the "trailing slash" problem. In other words,
it's just a matter of how you write the code... ;)
- E
On Friday, October 11, 2002 1:06 AM
Bogdan Stancescu wrote:
> I'm not sure exactly what you're trying to point out - does XHTML
> require double
Just a thought...
If you're going to write an XHTML compatible code, you wouldn't really have
this problem -->
>echo("Go home");
since you'll probably write something like this:
echo 'Go home';
Of course, I didn't mean that you can't do that with HTML...
Anyway, for the original questi
I think this is more of an HTML problem than a PHP...
Put it inside $here (or $here whichever you need)
and I'm sure the problem will go away.
- E
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'd like to have the record data - $current - *w
I'm not aware of any but I'm sure you'll find this interesting: (if you
haven't been there yet, at least)
http://sourceforge.net/projects/phpsniff/
- E
On Wednesday, October 09, 2002 9:20 AM
Support @ Fourthrealm.com wrote:
> Hey everyone... do you know where I can find a list of the common
No.
http://www.php.net/manual/en/ref.session.php
- E
R. Z. wrote:
> I've just read on MSDN that ASP sessions only work if the client has
> cookies enabled,
>
> Is that true for PHP as well.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/
Perhaps, you can take them off then?
I think you can use str_replace() to replace them with "".
- E
"Ivo Stoykov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I have following problem.
>
> Some data retreived from mysql db I need to send to the user
Yes, I agree. Besides, Justin had a similar idea (with yours).
But, I was trying to help with the "alignment" problem--might even be useful
somewhere else... ;)
- E
On Tuesday, October 8, 2002 1:26 PM
Thoenen, Peter Mr. EPS wrote:
> What you want is:
>
[snip]
>
> What I dont' understand is why
Yes, I agree, this is an html/css question... but you can try this.
Instead of putting your tags inside the tags, why not
put them outside the tags like this:
I think this won't destroy the "alignment".
Just an idea...
- E
On Tuesday, October 8, 2002 11:24 AM
Subject: Re: [
Yes, you can use .htacess for that purpose though you don't need to password
protect the folder. I'm sure if you check the archives you'll find a way to
do it.
Something like this: (Thanks to Justin)
http://marc.theaimsgroup.com/?l=php-general&m=103266066416399&w=2
- E
On Tuesday, October 8, 2
Hello,
Perhaps, a DNS setting problem?
- E
On Tuesday, October 08, 2002 1:25 AM
Negretti, John (CCI-San Diego) wrote:
Hello All,
I have a script which is using mail() to send an e-mail message. It seems
to be working, yet taking as long as 60-65 seconds just to send the e-mail.
The e-mail h
Peter,
On Tuesday, October 8, 2002 12:40 AM
Support @ Fourthrealm.com wrote:
> Edwin,
> I have no interest in getting into a Win2K/Linux debate. There are
> strengths and reasons for using both systems.
>
Of course... Most of the time I code on my Windoze machine. (Besides, I us
Hello,
On Tuesday, October 8, 2002 12:19 AM
Support @ Fourthrealm.com wrote:
> Hi everyone,
> I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even
> slower when accessing a mySQL database. It's a PIII-800 with 256MB
> RAM. It is otherwise a great machine, and fast.
>
> Any s
Hello,
Adriano wrote:
> Hi people,
> @ Edwin wrore:
>
>
>>'Not really sure, but perhaps, with Javascript.
>>
>>But I'd rather recommend you to give up iframes... ;)
>>
>
>
> Can you post an example of Javascript code checking for _parent
'Not really sure, but perhaps, with Javascript.
But I'd rather recommend you to give up iframes... ;)
- E
On Monday, October 7, 2002 1:29 AM
Stephen wrote:
> Hello,
>
> I was wondering if what I want to do is possible. I have a website that uses iframes
>and sometimes the search engines pick
Hello,
Why not just do it in your sql query?
If you're using MySQL perhaps this page would be helpful:
http://www.mysql.com/doc/en/Date_and_time_functions.html
Just an idea...
- E
On Sunday, October 6, 2002 10:01 PM
Davy Obdam wrote:
> Hi people
>
> I have a guestbook, and i need to conv
Actually, there *is* ("mysql_numrows").
I think you've missed this one. ;)
http://www.php.net/manual/en/printwn/aliases.php
- E
On Saturday, October 05, 2002 11:40 PM
Subject: Re: [PHP] Looping?
Marek Kilimajer wrote:
> Just checked the manual and there are no functions named *mysql_numrows
Not that this is relevant but...
"解読する"(kaidoku suru) means "to decipher" or "to decode".
So, perhaps, the person who posted the message was just wondering how will
the ml figure out what the message was. Or, ... (I don't really know...
there's a Japanese ml so the post must be a mistak
Hello,
On Tuesday, October 01, 2002 11:13 PM
Subject: [PHP] $_SESSION only takes 1 character?
Tim Stoop wrote:
> Hi there,
>
> I've got some strange behaviour here (at least, I can't explain it). I'm
> running PHP 4.2.3 on a Mandrake 9.0 machine. I'm using sessions in my
> little app and want to
...I mean lot of "places"... :)
- E
"@ Edwin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Lots of ways. Perhaps,
>
> 1. You can try finding one on the Apache website. ;)
> 2. Try Google. Or,
> 3
Lots of ways. Perhaps,
1. You can try finding one on the Apache website. ;)
2. Try Google. Or,
3. You can try here:
http://httpd.apache.org/userslist.html
- E
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> where can i find it ?
>
>
--
PHP
Hello,
On Monday, September 30, 2002 4:32 PM
Subject: Re: [PHP] Newbie Q: Any difference what the .ext is on include()
files???
[ Rene Brehmer ] wrote:
> I appreciate your advice, but it would not really apply to my structure
> ... because of the amount of files I use, I've got seperate include
>
You mean from this list? Please take a loot at the end of this e-mail...
- E
On Thursday, July 27, 2000 11:36 AM
@ Saif @ wrote:
> Please how can I unsubscribe .
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; be developed for mass distribution. more for a class.
>
>
> "@ Edwin" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Well, I didn't really mean to imply anything about people's honesty and
so
>
Hello,
...just wondering...
Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm not
really familiar with MS SQL but you can count the number of characters
returned by php...)
- E
"Christopher J. Crane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PRO
not at
> first.
>
> and besides. i'd like to give people credit for being more honest than
that.
>
>
> "@ Edwin" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > True. Perhaps.
> >
> > But, I
Why, can't you just use strlen()?
http://www.php.net/manual/en/function.strlen.php
Or, am I missing something?
- E
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>I am looking for a function that will give me the number of characters of
a
Why, can't you just use strlen()?
http://www.php.net/manual/en/function.strlen.php
Or, am I missing something?
- E
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a function that will give me the number of characters of
a
> s
Why, can't you just use strlen()?
http://www.php.net/manual/en/function.strlen.php
Or, am I missing something?
- E
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a function that will give me the number of characters of
a
> s
Why, can't you just use strlen()?
http://www.php.net/manual/en/function.strlen.php
Or, am I missing something?
- E
"Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a function that will give me the number of characters of
a
> s
Good idea!
And your idea about this is also great:
It should work...
I forgot that there was someting like that in HTML... :)
- E
On Thursday, September 26, 2002 12:55 AM
Subject: RE: [PHP] where's waldo
Kevin Porter wrote:
> One more thing... if you store your 'waldo co-ordinates' data i
True. Perhaps.
But, I think, you can actually do something like that WITH php. Say
PHP+Flash or PHP+Javascript...
Of course, if you're able to do something like this just by using
PHP+Javascript (and HTML only), most probably, you can just take a peek at
the code and find out where "waldo" is...
Oops, what I wanted to post was
http://www.php.net/manual/en/function.chmod.php
and not
http://www.php.net/manual/en/function.chown.php
- E
On Tuesday, September 24, 2002 6:00 PM
@ Edwin wrote:
> Jaski,
>
> On Tuesday, September 24, 2002 5:07 PM
> Jaski wrote:
> > No E
Jaski,
On Tuesday, September 24, 2002 5:07 PM
Jaski wrote:
> No Edwin .. I can't do any thing to that file .. not even from my
> ftp client .. can't download can't change permissions ..
>
I think you won't be able to do anything with the file IF you use your ftp
Just a comment...
On Tuesday, September 24, 2002 1:39 PM
Jaski wrote:
> I tried to copy this file using
> move_uploaded_file($userfile, "/place/to/put/uploaded/file");
>
> and here a strange thing happened. The file was successfully
> copied BUT it had permissions like -rw-- which I interpret
(Sorry if I've already sent this.)
I agree. But, I don't really see any problem having *.inc files as *.inc.php
(so that they'll be executed by Apache) esp. IF the config file have only
this: (Even if this is executed nothing shows up...)
I just thought this is worth knowing esp. if there's no
Hi there,
On Sunday, September 22, 2002 12:20 PM
Subject: Re: [PHP] Best Practice
Peter J. Schoenster wrote:
> On 21 Sep 2002 at 12:51, Ashley M. Kirchner wrote:
>
> >
> > I'm working on converting several static (price) pages on our site
> > into dynamic pages, with the data stored in a
And by the way, please check the NOTE: on
http://jp2.php.net/manual/en/function.header.php for the use of header().
Something's missing in the way you used it--perhaps, this is causing the
problem...
- E
Note: HTTP/1.1 requires an absolute URI as argument to Location: including
the scheme, ho
Hello,
On Tuesday, September 10, 2002 1:52 PM
Jean-Christian Imbeault wrote:
> The problem is that the POST variables are coming in EUC-JP (japanese)
> correctly but for some reason IE re-encodes the variable into some other
> charset (SJIS I am guessing) when requesting the new page sent in th
Of course, you restarted Apache?
Also, try leaving this out ---> and just write
LoadModule php4_moduleextramodules/libphp4.so
(Applies to AddModule as well...)
And make sure that the "extramodules" folder does exists!
- E
On Monday, September 09, 2002 11:43 PM
R'twick Niceorgaw wrote:
I think this one worked because
> > if($count ==1){
> > $user_data = mysql_fetch_row($user_res);
> > $user_id = $user_data[0]; // <--- of this
> > if(!session_is_registered("user_id")) session_register("user_id");
> > if(!session_is_registered("username")) s
Hi there,
I don't really see any "serious" problem in your code except that your
opening tag is in the wrong place :).
Since I don't have php/apache running on my XP I cannot really tell if this
is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on
Linux and (4.2.2/2.0.40)
Hi there,
I don't really see any "serious" problem in your code except that your
opening tag is in the wrong place :).
Since I don't have php/apache running on my XP I cannot really tell if this
is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on
Linux and (4.2.2/2.0.40) on
??? I thought you said "my.inc.php" but you're including "my.php".
This one should work:
include_once "../include/blah/my.inc.php"; // filename is my.inc.php
- E
"Nelr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> From the root of a website: /
>
> I had
??? I thought you said "my.inc.php" but you're including "my.php".
This one should work:
include_once "../include/blah/my.inc.php"; // filename is my.inc.php
- E
"Nelr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> From the root of a website: /
>
> I had
??? I thought you said "my.inc.php" but you're including "my.php".
This one should work:
include_once "../include/blah/my.inc.php"; // filename is my.inc.php
- E
"Nelr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> From the root of a website: /
>
> I had
I'm not sure if what you mean is something like this:
Say, you have a table with 2 columns (1) "id" and (2) "contact". And your
table is populated in this way:
id contact
1 a
2 b
3 c
4 d
5 e
And, let's say that your "id" is auto_incremented. Also, the contacts are
shown ORD
Try the "mothership" again and type
php and "safe mode"
Click "Search". The first two results:
http://www.dynamic-webpages.de/php/features.safe-mode.php
http://info.ccone.at/INFO/PHP4/features.safe-mode.html
You can read only ONE so as not to get more confused... :)
- E
PS
Of course, y
I'm not sure if you've already tried the idea I posted earlier. Anyway, I
tried it myself and it works! (At least with this simple example...)
';
switch ($_GET['myvar']){
case 1: $_GET['myvar'] = 2;
case 2: echo "Hello!"; break;
case 3: $_GET['myvar'] = 4;
case 4: e
> break;
>
> case 'b':
> if (do_b()) echo "b was done";
> else $foo='menu';
> break;
>
> case 'menu':
> print_menu();
> break;
>
> case 'logout':
> do_logout();
> break;
>}
>
&
ng else.
>Just trying to figure out if phpdoc is for me, which it seems like its
>not :(
>
>Thanks
:)
>
>
>@ Edwin wrote:
>
> > My "dumb" answer :)
> >
> > Try Google. Type:
> >
> > "procedural code"
> >
> > You
t continues to execute all the code until
>the end of the switch, ignoring any subsequent case
>statements.
>
>In my example, eliminating the break after step2 would
>cause execution of do_step1(), but also do_something_else(),
>which is not desired.
>
>--- "@ Edwin"
Actually, you can--just don't "break;".
Try it.
- E
>
>I'd like to be able to modify the switch variable inside a case
>statement, like this:
>
>switch ($foo) {
> case 'step2':
> do_step2();
> if ($error) $foo='step1'; //repeat step1
> break;
>
> case 'step1':
> do_step1();
>
My "dumb" answer :)
Try Google. Type:
"procedural code"
You might want to check,
"object-oriented"
as well...
I'm sure, you'll find helpful explanations...
- E
>
>And I feel foolish asking...
>What is meant by 'procedural code' ???
>
>--
>Gerard Samuel
>http://www.trini0.org
uemted, but it doesn't say anything about whether or
>not it reads data sequentially from top to bottom or if there's an
>option to read bottom to top or anything in between.
>
>Dave
>
>
>On Thu, 2002-08-29 at 22:37, @ Edwin wrote:
> > Or, is it? :)
>
Or, is it? :)
http://www.php.net/manual/en/function.file.php
- E
>
>Interesting. It's not documented.
>
>
>On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote:
> > Well, this is exactly what function file() does.
> >
> > "David Christensen" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTEC
>
>I am still very new to PHP so things are still a little foreign to me -
what
>exactly is the SUM finction - I tried to locate one on both the PHP and
>MySQL site but found nothing!
http://www.mysql.com/doc/en/Group_by_functions.html#IDX1364
Well, it's close to "nothing" but if you study ho
I'm not sure if this will help but using mb_send_mail() instead of mail()
solved the problems I had with Japanese characters...
However, it might be the mail client itself. Check if they had no problem
before (when they received similar e-mails from other sources).
- E
>
>I have sent an email
Does this fit your idea of a "more elegant solution"?
This is just an enhanced and tested version of the one I posted earlier
(somehow I had time and was curious about it).
$value){ // walk
if ($value != 0){ // make sure the "--- Select ---" is not included
if ($its_set == 1){
>
>Hi,
>I'm using PHP to generate some report for printing.
>But when I print report from IE 5.0 browser, in the bottom of page
>IE prints URL of page.
>Can I remove it ?
Yes. Click on "File" -> "Page settings..." then find "Footer" and you'll
see something like this:
&u&b&d
Take away the "&
Experiment a bit and I'm sure you'll find it easy. One example, change this
portion
$formatted = sprintf("%01.2f", $money);
to
$formatted = sprintf("%01.3f", $money);
then see how it works...
HTH,
- E
>
>I read the manual page on sprintf, but I still don't understand exactly
>how the
There must be a better way how to do it but this is what I would do: (Not
tested--just the "idea"...)
Instead of $var1, $var2... I'd use an array for the drop downs thus,
$var[]
$var[]
$var[]
$var[]
Then, check if any is set, then... anyway, this is how it goes:
// from here
$query
ind out what
those stars mean :>
>I have no idea what the second line is forapache still only responds
to
>127.0.0.1
>Any new ideas?
>
Maybe you should ask the Apache ml...
>Cheers,
>-Ryan
>
>
>
>
>- Original Message -
>From: "@ Edwin" <
Actually, the same thing happens if the ServerName directive was not set.
But anyway, even if the default page doesn't show up,
http://localhost/some.php
would still work...
- E
>
>---
>"Ryan A" <[EMAIL PROTECTED]> wrote in message
>000e01c24e7f$b7bd8820$61d396c1@l2zcaxu7emppqh">news:000e01c
>I want my bgcolor display with one by one like this below
>
>
>
>
>
>
Try this:
/* -- from here -- */
\n";
foreach ($mycolor as $value) {
echo "\n\n\n";
}
echo "\n";
?>
/* -- 'til here -- */
- E
PS
See: http://www.php.net/manual/en/control-struct
There could be a lot of different reasons why. Check the manual again (esp.
the user's comments). I'm sure you'll find a lot of ideas.
http://www.php.net/manual/en/features.file-upload.php
Also, this has been discussed many times recently. I'm sure you'll find a
lot too in the archives. :)
-
You can insert the line at the very end of your httpd.conf file...
I'm sure you can find more info here...
http://www.php.net/manual/en/install.windows.php
- E
>
>Thank you for the reply Farianto.
>
>Exactly where in the
>
>httpd.conf file
>
>should I insert that line?
>
>If you could copy an
I think you can use this:
http://www.php.net/manual/en/function.mysql-num-rows.php
- E
>
>Forgot to add one thing - I don't need to add the new number after
detection
>to the db but rather just print it out
>
>
>"Johnp" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROT
Or, perhaps, you should do: (if register_globals off)
if (!isset($_GET['vw'])){
echo "variable is not set";
}
Of course, you can also do: (if you want to--for some reason)
if ($_GET['vw'] == ""){
write this code
}
- E
PS
> Do all vars in PHP have to be defined first?
No.
>
>M
I'm not sure but...
Check your httpd.conf and see if you're running Apache as "Group -1".
Change this to "nobody" or better yet make a new user/group (like
apache/apache for example) for your Apache and change the lines-
User nobody
Group -1
to
User apache
Group apache
Then, restart
om/columns/kartic2807.php3
>
>I've isolated the problem with MS Word and MS Wordpad; The problem does
not
>occur when pasting from Notepad. I want to make sure that all the text is
>ASCII before converting to MIME encoding. This shoul alleviate the
problems
>that are occur
Just curious... Have you tried it with POSTed variables? As in the case
mentioned?
Just wondering... Anyway, I'll try it myself later...
- E
>
>using register_globals=on and trying to echo out the $5400 errors as
>expected, but php sees the correct entry in the $_GET superglobal array as
>it sh
401 - 500 of 533 matches
Mail list logo