This was a problem with the version of PHP that I had installed.
PHP-4.0.4pl1. Apparently there is a bug that causes this to be written
to the front of the file.
Solution? Upgrade.
David McInnis
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25,
Can someone point me to a webset that example how to do cookies? I try to do
what the mannual said but, when I go to my temp dir, there no cookie file. I
know it working because my file would print a phrasing error.
Thanks,
| Chuck Payne |
| Magi Desi
Very nice. I was going to suggest:
But uhhh, your way is much nicer :]
- Original Message -
From: "Richard Archer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 4:04 AM
Subject: Re: [PHP] Regular Expression Challenge
> At 11:30 AM +1000 26/3/02, Cameron Ju
On Tuesday 26 March 2002 10:41, Randy Johnson wrote:
> ok i read all the file into an array,
>
> now do i search each line in the array .
Yes. Based on the fragment of file that you've given, here's some psuedo-code.
initialise 3 arrays, $top, $middle, $bottom;
$found_middle = 0; $found_bottom;
Your popup window should be an normal PHP page calling your images in the
database. You can then setup your form to call the popup windows via
javascript using the window.open() method.
/dkm
- Original Message -
From: "Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday,
I am putting certin code within comment tags, so it isn't seen...
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 11:00 PM
Subject: Re: [PHP] Re: Non-Cache in forms?
> On 25 Mar 2002 at 0:29, [EM
How do I know if my web hosting server installed PEAR correctly?
I'm trying to create a Search Engine from the PHP Developer's Cookbook,
and so far, here's what I know:
PHP has the PEAR installed ('--with-pear' according phpinfo.php)
And having telnetted into my server, was able to find the PEA
At 11:30 AM +1000 26/3/02, Cameron Just wrote:
>I was not sure as to whether regexp could do recursive matching and now I
>know.
This is crazy! There used to be clue on this list!
\n";
}
}
?>
Output:
$tok[0] = wed
$tok[1] = thurs
$tok[2] = 9:35
$tok[3] = 14:56
$tok[4] = 18:35
$tok[5]
On 25 Mar 2002 at 0:29, [EMAIL PROTECTED] wrote:
> yes, but i send them back to the previous page
> and it shows the form...
>
> What would be a way around this?
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, March 24, 2002 11:
You can do recursive matching using the (?R) syntax in preg functions (Perl
Compatible Regular Expression).
- Original Message -
From: "Christopher William Wesley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Cameron Just" <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 1:01 AM
Subj
On Mon, 25 Mar 2002 08:54:27 -0700, [EMAIL PROTECTED] (Johny? ?rk)
wrote:
>Do you have register_globals turned on or off in php.ini? What values are $a
>and $b being set to?
>
>Kirk
>
>> -Original Message-
>> From: bob [mailto:[EMAIL PROTECTED]]
>> Sent: Sunday, March 24, 2002 4:21 PM
>>
On Mon, 25 Mar 2002 18:18:33 -, [EMAIL PROTECTED] (Chad Gilmer)
wrote:
>Hi There,
>
>I am a beginner to PHP and I am tring to use session variables on my site.
>
>I am trying to use Session Variables in PHP on the iPLANIT.tv site
>
>When I use the following code:
>
> $ses_counter++;
>
> sessi
Tom,
I sort of do the same here,... think you'll find that index.html is the
'default index' for a directory when a page isn't specified on your web
server and that she's going to http://www.domain.com
Hope this helps.
Jim.
"Tom Hilton" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED
Chris:
On Mon, Mar 25, 2002 at 08:38:16AM -0500, Chris Hilbert wrote:
> I was wondering if anyone would know how I could go about checking two XML
> files for differences, similar to the "diff" command in *nix. I'm having a
> heck of a time getting a function written to achieve this task.
Which
Hey Steven:
On Mon, Mar 25, 2002 at 09:40:01AM -0800, Steven Walker wrote:
> I have PHP automated emails sent from my website. Does anybody know a
> good way to filter returned mail? What I want to do is extract the bad
> email addresses from returned mail and delete them from my database.
Ar
Hi Chris:
On Mon, Mar 25, 2002 at 02:05:30PM -0700, Chris wrote:
> Can anyone help me with the command I need for a RAW FTP file upload?
> I can create connections and they empty file, but I have no idea how to get
> the data into the file and I have tried everything.
Have you tried first creati
ok i read all the file into an array,
now do i search each line in the array .
based on my example i do not know how to proceed
after reading it into the array
case "$1" in
start)
100.123.456.789
321.654.987.231
123.45.456.789
123.456.789.12
;;
- Original Message -
From: "R
Hi all,
I am trying to build a regex to check if an array of allowed html tags
were closed. For example:
Wrong:
text
Should give me something like: Tag was not closed.
Here's what I came up so far:
$tags_to_check = Array('a','b','i','p');
foreach ($tags_to_check as $tag_check) {
i
You read all of it
On Mon, 25 Mar 2002, Randy Johnson wrote:
> How do I know what part of it to read in the array?
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Randy Johnson" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, March 25, 2002 9:03 P
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will find examples of shopping carts ? (which book ?)
thanks..
--
Sapilas@/dev/pinkeye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
How do I know what part of it to read in the array?
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Randy Johnson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 9:03 PM
Subject: Re: [PHP] File Edit
> You read the entire file into memory (an
You read the entire file into memory (an array using file() perhaps) and
then edit it in memory and write the entire new file back out.
-Rasmus
On Mon, 25 Mar 2002, Randy Johnson wrote:
> Hello,
>
>
> I want to be able to edit part of a file. via a text box using php how do i read a
>file an
Hello,
I want to be able to edit part of a file. via a text box using php how do i read a
file and get the part i want to read and edit it and then write it back to that file
here is an example:
.
case "$1" in
start)
100.123.456.789
321.654.987.231
123.45.456.789
123.456.789.12
;;
Hi,
Genenally you can use 'localhost' as the hostname username 'root' and the
password is blank.
I beleive this is a default user when mysql is installed.
The details about how to connect are in the database 'mysql' and the
table 'user'. You should probably add a new user specifically for your p
I have no idea what you meant to ask... but instead of an ip address I
would use the hostname 'localhost' which most servers are setup by
default to understand as 127.0.0.1 (loopback). And you can add an entry
to /etc/hosts or C:\windows\hosts or c:\winnt\(?system(?32?)\?)hosts
But that's just me
Hi, can anyone help me with this problem.
I'm trying to connect to a MySQL database on my computer, I don't have a
hostname for it, so I just insert the IP, something like this.
...
mysql_cos?
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
I would check the mail logs on the smtp server ?(if you have access)
or... try this and see if ANY mail is bveing sent to you (assumes a unix
server with sendmail (or compatible) binary installed)
$fp=fopen('./tmp', 'w');
fputs($fp, 'Subject: '.$reportsubject.chr(10));
fputs($fp, $
Brilliant. (Sort of)
Thats the answer I needed thankyou.
I was not sure as to whether regexp could do recursive matching and now I
know.
Thankyou for your help.
> You won't be able to do that with a regexp alone. Recursively matching
> isn't possible. You'll need a little help from some addit
Just gave it up for GoLive6 :)
The php model never worked well.
I even purchased impAKT and Nextensio.
The 1.1 version somewhat worked, the 1.2 was DOA.
Most of those features are in the GL6.
Samples illustrate edit in lists and list and edit areas on same page.
Sessions not as easy.
MacOSX N
You won't be able to do that with a regexp alone. Recursively matching
isn't possible. You'll need a little help from some additional code.
\n" . $matches[2] . "\n" );
while( list( $key, $val ) = each( $times ) ){
print( trim( ${val} ) . "\n" );
}
?>
That seems
I did started MySQL server first.
"Avdija A . Ahmedhodzic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
> says...
> > Hi,
> > I installed PHPTriad under Windows XP and I keep gettting the
> > following error
Just a follow up - I've been doing some debugging of my own code and here
are the three different errors to do with undefined varariables:
Undefined variable - variable not set/declared
Undefined offset- numeric index doesn't exist
Undefined index - alphanumeric index doesn't exist
(I m
There is a pretty good tutorial on a simular topic on Site Point... it deals
with restricting SOME pages of a website, and would be reasonably easy to
adapt to work with a permissions table -- although I'd keep the user_id in a
session, and check if *THIS USER* has permission for *THIS PAGE*, rath
Your message of Mon, 25 Mar 2002 09:39:06 -0700:
> The error message refers to the "KundeRemark" in $val["KundeRemark"], not
> "$KundeRemark" which you are trying to assign the result to. The former is
> (if it existed) an index, the latter is a variable.
>
Oh, yeah, I see. Stupid me. Thanks!
Your message of Mon, 25 Mar 2002 09:42:11 -0800 (PST):
Ah, I see, thanks for the quick response. Reminds me, that I should
possibly switch off global registering, anyway ...
Ahm, comparing (count($HTTP_GET_VARS)) with my expression below
(!$HTTP_POST_VARS)
shouldn't then
(!$HTTP_GET_VARS)
do
Sure, it just passes it off to the MTA. If the MTA drops the ball later
on we don't know about it. Check your logs.
On Mon, 25 Mar 2002, Kevin Stone wrote:
> Anyone run into this problem before? I've got a simple email parser
> that I've set up for our clients to access from their websites.
Anyone run into this problem before? I've got a simple email parser
that I've set up for our clients to access from their websites. It just
uses the simple mail() function to send the parsed HTML to their
account. The mail() function is returning TRUE but the email no email
is being received.
In that case, I don't think I understand what you're asking.
Are you saying that the file stored on the server's filesystem after a
multipart/form-data POSTing has the MIME type added to its content?
Because our servers handle thousands of such transactions daily and it's
certainly not happeni
I have no such statements in my code. This is looking like a known
issue in PHP. I gather that is taken care of in later releases.
David McInnis
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 3:47 PM
To: David McInnis
Cc: [EMAIL PROTECTED
Maybe I'm missing something, but if you mean that you want to add some new
functionality into your PHP module e.g. for the GD image library, then you create the
libphp.so all over again (don't you?)
--t.
On Mon, 25 Mar 2002, Charmaine Tian wrote:
> Hi there,
>
> I have my own extension and
No luck on any of those suggestions people but thanks anyway :(
I had a feeling it was a bit too complex for a regexp.
> Oh, I didnt read the bit at the bottom about the times appearing any
> number of times. Off the top of my head I think this should work...
>
> PREG:
>
> "/'([a-z]+)-([a-z]+
On Mon, 25 Mar 2002, Brad Harriger wrote:
> I'm trying to debug a program written by someone else. There are two
> files that I'm having problems with. File A uses require_once to call
> file B. Near the beginning of File B is a Header("Location:") that
> calls File A. Can anyone tell me i
Hi there,
I have my own extension and I need to compile it with PHP. I was able to use
the automatic build system to compile it as a static module (--with-mymodule
or --enable-mymodule). However, I cannot find any documentation on how to
compile it as a shared module. Can anybody enlgihten me how
On Mon, 25 Mar 2002, David McInnis wrote:
> When I save a file that has been uploaded through PHP it prepends (adds
> to the beginning of the file) the mime type. This renders the file
> unusable when it is downloaded as MS Word cannot open the file and tries
> to install some kind of converter.
On Mon, 25 Mar 2002, Mantas Kriauciunas wrote:
> Well it didn't work with $_session["logged"]
$_session is not the same thing as $_SESSION
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 25 Mar 2002, Jack wrote:
> Can someone pls tell me is php will be able to grep text from MS Word and
> then save that word file into MYSQL database? Which means is MYSQL will be
> able to store files into it's table?
You can pipe the Word document through a program like catdoc
(http://ww
ini_set ('include_path', '/new/path').
Change '/new/path' to (usually) your website root.
Beleza?
;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
"Alberto Wagner" <[EMAIL PROTECTED]> wrote in message
LI41WQTNUO1TTQHGHBGEGBBAWVWUB0E.3ca4d9dd@alberto">news:
The problem is that exec() is looking for an immediate output and since I am
calling a command line program it doesn't return fast enough for it (I
think). The popen or fopen looks like it would work, but I don't understand
how to execute the command. Ie.
-Original Message-
From: R
I have some image urls that I have stored in a mysql database. I want to be
able to display the images in a popup window using javascript. But I haven't
been able to figure out how to get the get the info to mysql so that the
image loads when the popup window appears. Below is an example of
exec() can capture ALL output from a command if you supply an array as the
second argument to it
-Original Message-
From: Darren Gamble [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 3:58 PM
To: 'Walker, Roy'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] Regular Expressions? Help!
Go
The following is directed to the PHP development team.
I would like to suggest a capability be added to PHP's class implementation.
Specifically, provide the capability to segregate class data and methods
into private methods and data from those that are available for direct
invocation from the o
Hi
php compiled fine but when i restarted the webserver I recieved this error
msg.
conf_init: Error running init function load-modules: dlopen of
/SuperPages/ns-home/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal:
relocation error: file /usr/local/lib/libsablot.so.0: symbol
__pure_virtual: refe
$KundeRemark = stripslashes($val["KundeRemark"]);
^^^
\ This is fine, you're assigning TO this \ It's this bit
that's undefined
as you said:
> which is a field from a SQL result which currently doesn't exist...
so, in a way,
Can anyone help me with the command I need for a RAW FTP file upload?
I can create connections and they empty file, but I have no idea how to get
the data into the file and I have tried everything.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Good day,
exec() isn't very good at capturing output. It will only return the last
line of output, which is designed mostly to capture error conditions.
You would be best off using popen() and attaching a pipe to the output, and
then just read from the pipe. More information can be found about
Have you got the url?
John Fishworld wrote:
> I've seen various tutorials on sessions where they specify the session id
> instead of just using one
> generated by php !
>
> Why ?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey PHP General List,
Well it didn't work with $_session["logged"]
and now i found one more interesting thing. it works if i do like
this:
.
$row = mysql_fetch_row($result);
$session["uzeriz"]=$uzr_name;
$session["logged"]=1;
.
then i pass:
.
draw_admin_menu($session["uzeriz"]);
...
At 25.03.2002 14:26, you wrote:
>
>Perhaps it is how I am calling the $lines in a while loop.? I have tried
>`$cmd`, exec(), exec($cmd, $ouput) (to capture the output as an array),
>system(), shell_exec(). None of them let me capture the STDOUT from the
>program. There has to be a way to do th
Do this.
Execute the command at the command line and re-direct output to a file: xxx.
Open file xxx with an editor, such as vi. Is there a blank line, or line
with JUST a carriage-return (\n) as the last line?
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday
There is only an upload_tmp_dir. Not sure where you think this second
tmpdir is coming from. Once the upload is finished the file is written to
the upload_tmpdir and you then have to do something with the file from
there.
-Rasmus
On Mon, 25 Mar 2002, Gerhard Hoogterp wrote:
> On Sunday 24 Mar
No. I think there is a carriage return (\n), but there is not a blank line
at the end.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 3:07 PM
To: 'Walker, Roy'; '[EMAIL PROTECTED]'
Subject:RE: [PHP] Regular Expressions? Help
When the exec'd program executes from the command line, does it output a
blank line as its last line?
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Regular Expressions? Help!
I just realize
At 25.03.2002 15:10, you wrote:
>
>
>hi.. is there any way to use the php oracle function to check to see if
>there are any records in the selected set before calling ora_fetch?
>ora_exec doesn't error if ther are no records, and ora_num_rows doesn't
>return the numbe of rows in the set.,
>
>than
Sorry. Yes. It looks exactly like it should. And I see the ouput from the
command like it should on the screen, I just can't capture it in the script.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:59 PM
To: 'Walker, Roy'; '[EMAIL
Again, I ask:
Does $mycmd contain the command you expect to see
$mycmd = "$prog $cmdline $trimline &";
print $mycmd;
$output = exec($mycmd);
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:56 PM
To: 'Rick Emery'; '[EMAIL PROTECTED]'
Sub
Hey PHP General List,
Well thanks for helping but still i get nothing and i have no idea
why. I changed the line as you said to:
if( $session["logged"]==1 )
{
draw_admin_menu($uzeriz);
}
and took out that while.
It shows the box but the $uzeriz that i pass doesn't show up :/
maybe anybody se
I'm trying to debug a program written by someone else. There are two
files that I'm having problems with. File A uses require_once to call
file B. Near the beginning of File B is a Header("Location:") that
calls File A. Can anyone tell me if the part of file B that comes
after the Header(
The cmd is running running correctly as I see the output on the screen (this
is being run from a command line). The command output is seen on the screen
and nothing gets set to $output.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:50
exec() works for me.
Remember, though, it returns only the LAST line. Have you tried the
following to ensure it's constructing the command you think it is:
$mycmd = "$prog $cmdline $trimline &";
print $mycmd;
$output = exec($mycmd);
-Original Message-
From: Walker, Roy [mailto:[EMAIL P
Hi
One of the ways to get PHP support is from IRC channels that exist for
this purpose (you can see them listed on http://www.php.net).
If you don't have a way to connect to the IRC servers for any reason, or
just prefer a web based client, try the ActiveX client (assuming you are
using IE)
on
Perhaps it is how I am calling the $lines in a while loop.? I have tried
`$cmd`, exec(), exec($cmd, $ouput) (to capture the output as an array),
system(), shell_exec(). None of them let me capture the STDOUT from the
program. There has to be a way to do this. Anyone?
Thanx
-Original Me
hi.. is there any way to use the php oracle function to check to see if
there are any records in the selected set before calling ora_fetch?
ora_exec doesn't error if ther are no records, and ora_num_rows doesn't
return the numbe of rows in the set.,
thanks!
matt
--
PHP General Mailing List (h
exec()
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Regular Expressions? Help!
I just realized why nothing I was trying for the regular expressions wasn't
working. The command I am runnin
On Monday, March 25, 2002, at 02:52 PM, tom hilton wrote:
> This is working fine for most users, but one user is telling me that
> even
> though she is following the link from the index page, she's still
> getting
> the error message, and are being bounced back to the index page. She
> is
Have you checked that your user is indeed coming from
"http://www.somedomain.com/index.html";? There are lots of other ways
to load your homepage:
"http://xxx.xxx.xxx.xxx/index.html"; (ip address, not domain)
"http://www.somedomain.com/";
"http://www.somedomain.com";
"http://xxx.xxx.xxx.xxx";
"h
I just realized why nothing I was trying for the regular expressions wasn't
working. The command I am running is a C program on the command line of a
Linux box. I can't capture the output, it just gets output onto the screen.
I just echo'd $output after the command was run and it was empty. Any
There will be a specific number of variables returned. I just wanted to set
all the output to a string and just run through it to grab the variables.
Thanx
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 1:28 PM
To: 'Walker, Roy'; '[
Is it possible to create a transaction the involves multiple pages using PHP
and oracle. For example, can I log onto oracle using OCIPLogon on one page
named master, insert information, go to the next page named detail, insert
information and commit both transactions at the same time?
--
PHP Ge
Hi, I am using the $HTTP_REFERER variable to ensure that users of a website
are getting to a certain page through a link from the index.html page, and
not going straight to the page through a bookmark.
$page=$HTTP_REFERER;
if ($page!="http://www.somedomain.com/index.html";)
{
echo "Please log
When I save a file that has been uploaded through PHP it prepends (adds
to the beginning of the file) the mime type. This renders the file
unusable when it is downloaded as MS Word cannot open the file and tries
to install some kind of converter.
Any ideas for me?
David McInnis
--
PHP Genera
On Sunday 24 March 2002 23:14, Rasmus Lerdorf wrote:
> You'll probably need PHP 4.2 for uploads that big to work well. Before
> 4.2 uploads were buffered in ram, so no, you have no way to recover a
> broken upload.
But what, in that case, is the use or purpose of upload_tmp_dir ?? Moving
fro
With there be a specifc number of variables returne? Or can the number of
variables vary?
-Original Message-
From: Walker, Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 1:26 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Regular Expressions? Help!
I am trying to do a match fo
I am trying to do a match for an expression and it to a variable from the
output of a command:
How can look through $output to set the information returned as different
variables the output would look like:
variable1:"some information" variable2:"some information"
I want to set each variable
it means you've already output some HTML or a blank line
-Original Message-
From: Chad Gilmer [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 12:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Session Variables
Hi There,
I am a beginner to PHP and I am tring to use session variable
Hi There,
I am a beginner to PHP and I am tring to use session variables on my site.
I am trying to use Session Variables in PHP on the iPLANIT.tv site
When I use the following code:
I get the following error
Warning: Cannot send session cookie - headers already sent by (output
started at /
http://www.google.com/search?q=php+debugger&sourceid=opera&num=0&ie=utf-8&oe
=utf-8
Google good! ;-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Mor
"^[ A-Za-z---]*$"
On Mon, 25 Mar 2002, John Fishworld wrote:
> How can I change this to accept spaces as well ?
>
> (ereg("^[A-Za-zÀ-ÖØ-öø-ÿ]*$", $str))
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing Li
Depends on whether you have GD without GIF enabled already built into your
PHP already. Check with phpinfo(). If you don't you have build a shared
gd extension against a version of GD that has GD support and add that
dynamically without recompiling PHP. If you do have GD in there already
you ha
Hi,
Can anybody tell me if it is possible to use a debugger with PHP? And what
is the name of it?
Regards,
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Because 'j' was probably added somewhere in between the two versions...
On Mon, 25 Mar 2002, geoff wrote:
> Any ideas why date ("j") doesn't appear to work when I use it on my ISP
> that has a Unix Server, but on my Windows ISP , it works fine ? The other
> date() functions Y,m,d etc all wo
You have to add an extra tag into the form tag (method="post"), it should
read as follows:
("
"David Orn Johannsson" <[EMAIL PROTECTED]> wrote in message
003001c1d418$7126b3f0$6500640a@gandalf">news:003001c1d418$7126b3f0$6500640a@gandalf...
Can I some how prevent the browser from displayin
index
if(count($HTTP_GET_VARS))
On Mon, 25 Mar 2002, Kai Schaetzl wrote:
> I transferred an application from Linux/Apache to .NET/IIS6 and it
> appeared to be working fine, first. A bit later I found that it
> wouldn't switch to most functions derived from a GET variable. The
> reason being that $quer
Hi!
I wonder if there's such a thing as a counterpart in PHP for MimeExplode in
PERL?
MimeExplode takes a email and splits the attachments and text so that you
can save it automatically to a certain dir
by using .forward files.
Or something alike to it in PHP. I've been looking at IMAP functions
Hi,
I have PHP automated emails sent from my website. Does anybody know a
good way to filter returned mail? What I want to do is extract the bad
email addresses from returned mail and delete them from my database.
For now I have the return path sent to me, and I manually weed the bad
ones out
Are you referring to the userid on the machine where your web application
runs (your server) or the userid of the user who connects to your website
with his browser? I suspect you mean the latter and would be very
interested in how this could be done as well.
Warren Vail
Tools, Metrics & Quality
Good day.
What is this message that you get, that you don't want?
A cursory glance of the code reveals two "else" statements attached to the
same "if" statement. You should address that.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue
I transferred an application from Linux/Apache to .NET/IIS6 and it
appeared to be working fine, first. A bit later I found that it
wouldn't switch to most functions derived from a GET variable. The
reason being that $query seems to be empty, so it always defaults to
this action:
$query = gete
change to:
list( $policy_num, $policy_year, $application_reference ) = explode( "--",
$policy );
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 11:22 AM
To: PHP General
Subject: [PHP] list(), each()
Ok, I've got to be doing something wrong
Check out Ciao EmailList Manager:
http://www.technobreeze.com/php/emaillist/
-Dan
--- "Michael A. Peters" <[EMAIL PROTECTED]> wrote:
> Anyone know of a free app that allows users to submit-
>
> name, nickname, e-mail addy
>
> app sends a url confirm to e-mail addy.
> upon confirm, the info g
> Why do you put each(explode()) ? Just list() = explode() is what you
> want.
I did that because I thought they were complimentary functions? Just about
every example I've seen of list() uses each(). Just using explode() makes it
work. Obviously I'm going to have to go back and read more abo
1 - 100 of 162 matches
Mail list logo