On Tuesday 11 June 2002 15:02, Mario A. Salinas wrote:
> Let me begin with the direct question to save you time. If you want
> more info read more about the issue by reading 'The Problem:' below.
Let me begin by saying:
"Please do not reply to an existing post when trying to start a new topic"
Hi Folks,
Let me begin with the direct question to save you time. If you want
more info read more about the issue by reading 'The Problem:' below.
The question:
Is there any way to '--enable-track-vars' in my Macintosh laptop
running Mac OS-X 10.1.5 and a version 4.2.1 installation of PHP
On Tuesday 11 June 2002 11:32, johannes reichardt wrote:
> hi list,
>
> i have a question regarding a class for matrix modifications so i dont
> have to re-invent the wheel ;)
>
> i would like to do things like this:
>
> matrix with 5*5 colums/rows
>
> x x x x x
> 0 0 0 0 0
> x x x x x
> x x x x x
Hi Manuel:
On Tue, Jun 11, 2002 at 02:07:38AM -0300, Manuel Lemos wrote:
> On 06/10/2002 02:08 PM, Subhendu Mohapatra wrote:
>
> The bounce address can't be set with headers.
Please elaborate. I've successfully used the From: header to handle
returned mail.
--Dan
--
PHP clas
Hello,
On 06/10/2002 02:08 PM, Subhendu Mohapatra wrote:
> I am sending mails from my site by PHP code ( mail($em, $sub, $temp,
> $headers); )
> and wants to capture bouncers in one email address.( My intention is to
> remove those bounced address ). I have set the from address like this
> $f
str_pad worked!!! Thank you all...
César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
> -Mensaje original-
> De: Clay Loveless [mailto:[EMAIL PROTECTED]]
> Enviado el: Martes, 11 de Junio de 2002 12:35 a.m.
> Para: PHP-General
> Asunto: Re: [PHP] Adding zeros in fro
I used a script from PEAR to adduser/deluser/change password
the problem is the password file ini mode 600
and I run the script from web
I had turn on the
safe_mode = on
safe_mode_gid = on
the running script had a same UID GID with the password file
when I try it There a alot of error...
from re
You can declare the column ZEROFILL when you create the table, or use
ALTER to add it now.
Quote: Another extension is supported by MySQL for optionally specifying
the display width of an integer value in parentheses following the base
keyword for the type (for example, INT(4)). This optional wi
Try this:
echo str_pad($row[main_group],4,"0",STR_PAD_LEFT)."/".$row[sub_group];
-Clay
> From: César L. Aracena <[EMAIL PROTECTED]>
> Date: Tue, 11 Jun 2002 00:11:30 -0300
> To: "PHP General List" <[EMAIL PROTECTED]>
> Subject: [PHP] Adding zeros in front
>
> Hi all,
>
> Does anyone remembers
$num2 = sprintf("%4d", $num);
the "d" might have to be something else, can't remember
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 1:20 PM
To: César L. Aracena; PHP General List
Subject: Re: [PHP] Adding zeros in front
I think certain t
I think certain types of INT fields (not sure which ones) zero fill the
number to the field length... you should read up on the col types, and maybe
change it over. Maybe do a search on "zerofill" / "zero fill".
Anyhoo, to solve your immediate problem, you could check the length of
$row[main_gro
Hi all,
Does anyone remembers how to add zeros in front of a result number given
by a query to MySQL and returned as an array, so it always shows a 4
digit number? I have:
[snip]
echo $row[main_group]."/".$row[sub_group];
[snip]
but throws out:
1/0
2/0
3/0
instead of:
0001/0
0002/0
0003/0
w
I *think* it's because you don't have an { at the beginning of the while()
loop
";
while ($token!="")
{
$token=strtok(" ");
echo $token."";
}
?>
Or, use the example in the manual as a guide:
";
$tok = strtok("");
}
?>
Justin
on 11/06/02 1:58 PM, Anthony Ritter
Thank you.
The output is
t
o
n
y
One thing...the server seem to keep running after the output to the browser
like it's going through an indefinate loop.
Any throughts?
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you're trying to split it on a space (" ")... there are no spaces in "tony".
"my name is tony" would prolly output
my
name
is
tony
You could try splitting on "" (nothing), or use a different function which
places a after each character.
Justin
on 11/06/02 1:34 PM, Anthony Ritter ([EMAI
Trying to test the function strtok()
I thought that the following script would output:
t
o
n
y
but I get
tony
Thanking all in advance.
Tony Ritter
.
";
while ($token!="")
$token=strtok(" ");
echo $token."";
}
?>
--
PHP General Maili
$echo .= "". $name ."";
Notice the . in .=
Equivalent of saying $echo = $echo . "". $name
."";
---John Holmes...
> -Original Message-
> From: Dan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 9:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Arrays
>
> I have figured out
use ".=" instead of "="
$echo .= "". $name ."";
(remember to initialise $echo = "" somewhere first just in case is contains
something from elsewhere)
-Original Message-
From: Dan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 11:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: A
I have figured out how to do it thanks for you guys help..
Just one thing...
'More Info'
, 'contact.php' => 'Contact Us'
, 'apage.php' => 'A Page'
);
foreach ($contact as $link => $name)
{
echo "". $name ."";
}
?>
What I need to do now is in the echo string is make use something l
I've got a question to ask about Zend Accelerator that should go in an
evaluation support ticket, but I can't seem to create one.
All of the docs say "Go to your Pickup Depot and click 'New Ticket'". It
even says that *in* the pickup depot, but the words "new ticket" aren't
linkable, and nowh
sorry now was i my short nickname
its
http://user.tuned-belgium.be/yla%20G
--- --- --- --- --- ---
Connecting Tuners @ http://www.Tuned-Belgium.com
Xbox talk @ http://www.X-power.be
Gamecube @ http://www.cube-power.be
- Original Message -
From: "YLA G
:) :) great help thx mate!!!
now can everyone create a account with a userpage!!
look at MY car: http://user.tuned-belgium.be/yla
look at the beatyyy
greetz
--- --- --- --- --- ---
Connecting Tuners @ http://www.Tuned-Belgium.com
Xbox talk
gone start again.. because a can't get trough this stuff :(
al i want is a forward of
http://user.tuned-belgium.be/NICKNAME
http://tuned-belgium.com/main/modules.php?name=user&op=userinfo&uname=NICKNA
ME
what is the best to do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hey John Holmes,
Got your email on:Monday, June 10, 2002, 5:10:54 PM writing:
:
JH> Why reinvent the wheel?
to learn how to do stuff...knowleadge
JH> http://gallery.jacko.com/modules.php?op=modload&name=News&file=index
JH> or...
JH> http://gallery.sourceforge.net
JH> ---John Holmes...
Take the ' out of $_GET['id'] if you are going to have it within a
string defined by '
Echo 'hello $_GET['id'] world';
How is PHP supposed to know that the two internal ' are not supposed to
be the end of the string?? (FYI: Variables are not parsed within strings
defined by ')
Echo 'hello ' . $
it's because you've got single quotes inside single quotes...
change $_GET['id']
to $_GET[id]
-Original Message-
From: X-power.be [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] URL / slash reduction
the nickname 'junni' was an
Why reinvent the wheel?
http://gallery.jacko.com/modules.php?op=modload&name=News&file=index
or...
http://gallery.sourceforge.net
---John Holmes...
> -Original Message-
> From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 9:48 PM
> To: PHP General List
>
the nickname 'junni' was an example..
i have this now but its not working :(
http://www.tuned-belgium.com/user/?id=/$_GET['id
']');
?>
http://tuned-belgium.com/main/modules.php?name=user&op=userinfo&uname=">
gives:
Parse error: parse error in /usr/home/v1/a0016905/html/user/filter.php on
line
>this url is the one that i want for my users:
>
>http://user.tuned-belgium.be/junni
>
>
>but go's now to
>
>http://www.tuned-belgium.com/user/?id=/junni (slash junni)
>
>but must go to
>
>http://www.tuned-belgium.com/user/?id=junni (without slash)
>
>how can i prevent or filter the slash away?
Hey PHP General List,
i am doin thing that uploads picture on the server(windows in my
comp.) and if anybody can point me how to do fast thumbnails and
when clicking on them it shows full size picture. I want to do it
with one file. not cuting new one.
And one more question. Can anybod
There's probably a single reg.ex. you could use, but I'm too lazy to figure
that one out.
But try this instead (not tested though)
$str = "http://www.tuned-belgium.com/user/?id=/junni";
$tmp = explode("?", $str);
$tmp[1] = str_replace("/", "", $tmp[1];
$str = implode("?", $tmp);
-Original M
Hey Danny:
On Mon, Jun 10, 2002 at 10:09:12PM +0200, Danny Kruitbosch wrote:
>
> Query1: SELECT FIELD1, COUNT(FIELD2) AS TOTAL from TABLE GROUP BY FIELD1
> Query2: SELECT FIELD1, COUNT(FIELD2) AS SUB from TABLE WHERE FIELD2=1
> GROUP BY FIELD1
>
> Now I want to print a table that prints the va
this url is the one that i want for my users:
http://user.tuned-belgium.be/junni
but go's now to
http://www.tuned-belgium.com/user/?id=/junni (slash junni)
but must go to
http://www.tuned-belgium.com/user/?id=junni (without slash)
how can i prevent or filter the slash away?
--
PHP G
Bill:
On Mon, Jun 10, 2002 at 04:16:48PM -0600, Bill Hudspeth wrote:
> I am using the O'Reilly "Programming PHP" manual, and have copied the code
> from Example 7.3, p. 166.
You didn't copy it correctly. See below.
> I have the magic_quotes_gpc set to ON in php.ini
> (though toggling between
Are you restarting Apache (or whatever webserver you're using) between
edits to php.ini? I assume since you also posted this to php-win that
you're using Win32. This would be my first step if you haven't done so
already.
I got corrected on this before, saying that you -don't- have to restart
Get the number of items in the array using the count function and then use a
for statement to loop through them from start to finish. Here's an example:
$Total = count($link);
for ($i = 0;$i < $Total;$i++)
print "$name";
Of course, the link names will all be the same, so you'll probab
hi ,
here is file calendar.php and it displayes calendar and also by you can
diaplay content by selecting from database and displaying in the right month
I hope this helps and if there is any thing else do get back to me.
Vinod
==
\n\n\n".
" Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com
--
PHP General Mailing List
You'll need to have a cgi version of PHP to use in cronjobs and you'll need
to use http://www.php.net/manual/en/function.preg-grep.php
Good luck =)
-Original Message-
From: Jonathan Duncan [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 12:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP
Give us a copy of the code so we can tell what you're talking about.
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] multi-line textfields don't post
Whenever I use a mult-line textfield, the
I'm pretty sure it's just an issue of using HTTPS for encrypted pages and
HTTP for unencrypted. For example:
http://www.example.com
is unencrypted and pulls from port 80 on the web server. Whereas,
https://www.example.com
would be encrypted and come from port 443 on the web
I am trying to display on a web page a daily message from a mailing list
that I am on. What I want is to have a script run on my server each day at
a certain time that reads the mail file that contains the daily email
message, takes the Article Titles and makes them the link text to be used
with
Look at the output buffering section in the manual. Read the user comments.
http://www.php.net/manual/en/ref.outcontrol.php
---John Holmes...
- Original Message -
From: "W. Enserink" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 3:34 PM
Subject: [PHP] storing h
You might consider using output buffering in order to accomplish that goal.
http://www.php.net/manual/en/ref.outcontrol.php
You could buffer the entire page and store the buffer into the DB at the end
of the page load.
-Jared
-Original Message-
From: W. Enserink [mailto:[EMAIL PROTECTE
Also checkout phpbeginner.com it has an article about xslt, xml and php...
www.phpbeginner.com
Thank you,
RAY HUNTER
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 09, 2002 9:21 AM
To: PHP General List (PHP.NET)
Subject: [PHP] Formatting XML Dat
I don't get an error message...but the page doesn't automatically forward to
the redirected url.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out these articles at DevShed
http://www.devshed.com/Server_Side/XML/XMLwithPHP/
olinux
--- Dan Hardiker <[EMAIL PROTECTED]>
wrote:
> > I would like some of the text to be
> > bold, or maybe I would like to insert a
> hyper-link. Unfortunately it
> > does not seem I can do this with ordin
hi all,
i was wondering,
i'm making a php page. this php page is outputting a very lot of html to a
browser.
is it also possible to "capture" this html code and store it in a database?
so later on i can retrieve a full html page without the "dynamic elements in
it"
thx Wilbert
--
On Monday, June 10, 2002 at 8:03:40 PM, you wrote:
> header("Location:http://www.mysite.com/file_exists.php";);
You should have a space after Location:...
header("Location: http://www.mysite.com/file_exists.php";);
If that's not it, please post the error/what happens. We are not mind readers.
What kind of an error are you recieving? Could it be you're sending output
prior to the header function? The alternative solution would be to
include("file_exists.php"); then exit.
-Kevin
- Original Message -
From: "Shane Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday,
By "multi-line" text field do you mean a field? Could be you're
not using it right. Remeber this construct *requires* the closing tag. The
vlaue goes between the two tags.
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June
I'm creating an upload form for users to upload files to my server. but I
don't want them to overwrite existing files if they try to upload using the
same file name...
THE FOLLOWING SCRIPT WORKS PERFECTLY
if (file_exists("uploads/documents/".$file_name)==TRUE) {
die ("File already exists")
Do you mean the data doesn't transfer over to your database?
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Whenever I use a mult-line textfield, the data inside doesn't transfer
> over. But single-line textfields work just fine.
>
> how d
Whenever I use a mult-line textfield, the data inside doesn't transfer
over. But single-line textfields work just fine.
how do i fix this?
On Tuesday 11 June 2002 01:24, Kevin P wrote:
> Hi
> I am trying to feature a calendar on a web site. I would like it to display
> on a page and be able to change to another month when this is requested and
> display items for the general public. I want the client to be able to go
> into the datab
Ok... i'll go for 1.3.24
Thanks,
T. Edison Jr.
--- R'twick Niceorgaw <[EMAIL PROTECTED]> wrote:
> use apache 1.3.24..
> php has experimental support for apache 2.0.x.. so
> don't trust it much
>
> - Original Message -
> From: "Thomas Edison Jr." <[EMAIL PROTECTED]>
> To: <[EMAIL PROT
Glory!
I have Windows XP Home Edition.. and i downloaded the
latest PHP & mySQL. I have Apache 1.3.19 earlier,
which for some reason gives "Service Apache Not
Installed" now even when everything is installed, on
my windows XP.
So i decided to get a new Apache Web Server.
They have 2 versions av
Hi Ed,
Maybe it's just one of those slow days, brain-wise. But I have a 'problem'
with https remaining in that mode even on pages that haven't specifically
requested it. That was not my understanding how it worked. Now, if I have to
call "http" on pages that do not need https, then how would I
"Kevin P" <[EMAIL PROTECTED]> skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> I am trying to feature a calendar on a web site. I would like it to
display
> on a page and be able to change to another month when this is requested
and
> display items for the general public.
I ran into this problem too - but there is a conf directive to handle it now
(even on FreeBSD, which I use) -
http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
Danny
- Original Message -
From: "a.h.s.boy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002
If there isn't one, (have you tried phpclasses.org etc.), I think the
string functions are powerful enough.
What kind of manipulations you need? Is it simple column/row transforms or
doing all kinds of maptrix operations?
> hi list,
>
> i have a question regarding a class for matrix modifications
Isn't it just an issue of whether you call http: or https: ?
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Switching from HTTPS to HTTP using PHP?
After completing most of the coding for my site,
I think this will work. You'll have to test it to confirm:
$A[0][0] = "x";
$A[0][1] = "x";
$A[0][2] = "x";
$A[0][3] = "x";
$A[0][4] = "x";
$A[1][0] = "0";
$A[1][1] = "0";
$A[1][2] = "0";
$A[1][3] = "0";
$A[1][4] = "0";
$B = $C = array();
$B = $A[0];
$C = $A[1];
$A[0] = $C;
$A[1] = $B;
-O
After completing most of the coding for my site, I would like to use "https"
for restricted areas that require login. In short tests, I've discovered
that, yes, I can engage the encrypted mode while calling these pages, but
I've also discovered that it stays in the "https" mode even when it pas
hi list,
i have a question regarding a class for matrix modifications so i dont
have to re-invent the wheel ;)
i would like to do things like this:
matrix with 5*5 colums/rows
x x x x x
0 0 0 0 0
x x x x x
x x x x x
x x x x x
x x x x x
x x x x x
0 0 0 0 0
x x x x x
x x x x x
maybe that
I've built an application framework in PHP that makes heavy use of the
"smart URL" technique for passing variables, which works great with
Apache 1.3.22. I have reports, however, that it breaks under Apache 2.x,
and would like to verify whether or not anyone can confirm this.
I'm using URLs to
Hi Subhendu:
On Mon, Jun 10, 2002 at 10:38:10PM +0530, Subhendu Mohapatra wrote:
> $from="From:[EMAIL PROTECTED]\n;
> $headers = $from."Content-Type: text/html; charset=iso-8859-1\n";
That should have a space in there. Also, it's best to have an \r too.
"From: [EMAIL PROTECTED]\r\n";
--Da
I had this exact need but I was solved partially by my cell phone provider.
I have verizon and verizon actaully assigns each phone an email address if
you have text messenging.
So all i had to do was send an email to that address and it would go to my
phone in about 30 seconds or so.
-Jared
---
I have compiled and installed php4.2.1 on my linux www server that runs
apache. Since we have many virtual hosts and utilize suexec I decided to
install php as a binary and be able to use php as a cgi binary. I am able to
run my php scripts through suexec which is great. The problem is that any
c
Jeff,
You are absolutely correct that there are many forum software choices out
there however, not are identical or even similar.
First there is the design language choice, there are many forums that are
written in PHP, but there are no less forums written in PERL, ASP and
ColdFusion because
Try using a different database and it might be worth while...
Thank you,
RAY HUNTER
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:51 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] FUDforum 2.0 Stable Released
Is it just
Is it just me or the forum area totally overflowing with choices? I often
wonder why people don't pool talents and work on really great products,
instead people break off and make their own system - quite unusual...
Jeff
- Original Message -
From: "Ilia A." <[EMAIL PROTECTED]>
To: <[EMA
Not as far as I know.
But the PHP script may very likely be able to send a message to a SMS
Gateway...
SMS messages doesn't run on TCP/IP (Your cell phone doesn't have a IP
Address).
Kind Regards,
Chris Knipe
MegaLAN Corporate Networking Services
Tel: +27 21 854 7064
Cell: +27 72 434 7582
---
Hello ppl...
i'd like to know if it's possible that a php script sends message to a cell phone...
i please anything about it ...
thnx in advance..
Alexandra Aguiar
1 - 100 of 139 matches
Mail list logo