-aliased text on an image? I'd appreciate any information, classes
and links to guides you can point me to.
Thanks!
Kevin Stone
[EMAIL PROTECTED]
The period is a modifier within the expression (see manual on pattern
syntax link below). You need to escape it with a back slash:
\.
http://www.php.net/manual/en/pcre.pattern.syntax.php
--
Kevin
-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Or... you could use array_count_values() and loop through the array it
produces to find out how many of each duplicate value exists in the
original array.
http://www.php.net/manual/en/function.array-count-values.php
Kevin
-Original Message-
From: Allowee [mailto:[EMAIL PROTECTED]
Payne [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Hi,
I am working on a project and I need to see sample quote for doing
random quotes. These quotes will be put from a database. Can some please
share me some sample code. Thanks.
Chuck
For more solutions go to,
The Refresh directive is a valid header. I've used it for many years and it seems to
be supported by the majority of browsers. However I've never read anything that would
indicate that Refresh works any differently than Location. The only difference is
that Refresh allows you to set a number
Forget the content length and disposition headers. Just set the content type then
output the file..
header(Content-type: application/pdf);
readfile(junk.pdf);
- Kevin
Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I seem to be having problem with sending the PDF
.
- Kevin
Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I can't do readfile() because of lots of bug in IE (Internet Explorer)
Kevin Stone [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Forget the content length and disposition headers. Just set the content
Delete the line with header(Content-disposition: ... ). Just set the content type
and output the file.
-Kevin
Pushpinder Singh Garcha [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Hello Everyone,
I am trying to display a JPG image to a use, who has logged in. Some
research on
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
[EMAIL PROTECTED] (Paul Van Schayck) wrote in
news:[EMAIL PROTECTED]:
First of all you need to check with the website you are going to check
if they really enjoy all bandwith required. And people will not see
their
Paul Van Schayck [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
[EMAIL PROTECTED] (Kevin Stone) wrote
Hello Kevin.
This is just a thought.. I have never employed this method
personally.. but I suppose you could read the page into a string and
use the md5() function
?
header(Content-type: application/pdf);
header(Content-disposition: attachment; filename=filename.pdf );
readfile(filename.pdf);
?
Launching this script will prompt a file download screen if the Acrobat Reader Plugin
is not available on the client browser. Otherwise it will display inside the
Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I have an array of object for files on my site. The objects hold a file's
name, size, extension, etc... I was wondering if anyone knows where I could
find a relatively easy function for sorting the array of these objects
If all domains have access to the same database then there is absolutely nothing
preventing you from using a Cookie. Have a normal login on Domain1.com. Once
authenticated produce a random ID and store it in the database. Store the ID in a
cookie then Redirect the client to the desired
Jennifer Goodie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
can't seem to figure
out how to get the number of days integrated in here for $hh that
are 24.
to days:hours:minutes:seconds... This function works for what it
does, can
someone embelish it to handle days too?
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Augusto Cesar Castoldi mailto:[EMAIL PROTECTED]
on Monday, September 08, 2003 4:16 PM said:
where can I download a database with all countries and
states and cities?
I don't know but I would also be interested in
domain: asiostudios.com
host: Helpelf
ftp_un: asio
ftp_pw: uZGG7ai
registrar: Godaddy
reg_un: 1398706
reg_pw: iktomi
reg-account email: [EMAIL PROTECTED]
email1: [EMAIL PROTECTED]
un: asio
pw: iktomi
email2: [EMAIL PROTECTED]
un: webmaster
pw: turtle
email3: [EMAIL PROTECTED]
un:
- Original Message -
From: skate [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:16 PM
Subject: [PHP] greedy preg
$contents = preg_replace( |item.*?$file.*?/item|si, ,
$contents );
it's being run on an XML file, where each entry is item../item
with
Derrick Fogle [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thoughts on frequent switching in and out of PHP mode:
? switch in, do some code
?Switch out, static HTML
? switch in, do more code
?Switch out, more static HTML
I've found that I prefer programming this way, for the
Anders Thoresson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I'm having problem with a function that I'll use to validate user input
before passing it to MySQL. For strings, I want to make sure that they
aren't to long, so I have written this function:
function
Amanda McComb [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If I am using this code:
mail([EMAIL PROTECTED], test, testbody);
and want to add a From: line, how do I do it?
Also, is this an excepted way of sending mail from a web page?
Thanks,
Amanda
The mail() function has
David Nicholson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at
19:18, lines prefixed by '' were originally written by you.
If I have:
$firstdate = 2003-06-28;
then how can I get $firstdate plus 4 days?
Hank Tt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Given the following querystring generated by, for example, a multi-select
form list (menu), the contents of $_GET['list'] is expected to be an array
holding 3 elements:
http://awebsite.net/formlist.php?list=2list=3list=99
Mehdi Achour [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Patrik Fomin wrote:
hi, i have a textbox, after someone puts text into it, it saves into the
database,
textarea cols=2 rows=2/textarea
when it saves to the database the formattion in the textbox dosent work
Aaron Axelsen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yes, connect.inc.php does the following:
@$connect=mysql_connect(localhost,$dbuser,$dbpass);
if (!$connect) {
echo Could not connect to mysql!;
Zerof [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
You are absolutely right, exit, quits my script, this let me use an
independent script to
handle the headers. if used with conditional calls. .
zerof
-
Comex [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL
Dale Hersh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a question regarding the count function. Here goes:
Lets pretend I have this array called myStuff. If I add two elements to
myStuff and call the count function, I will get a result of 2. My question
is how do I
Minghua Yao [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
On one page, I have:
?php
...
$dbcnx0 = @mysql_connect(localhost, $name, $password);
...
session_start();
$_SESSION['my_con'] = $dbcnx0;
...
?
On another page, I have:
?php
..
Jason Giangrande [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When registered globals is set to off this does not effect the $PHP_SELF
variable right? In other words I should be able to call $PHP_SELF with
out having to do this $_SERVER['PHP_SELF'], right?
Thanks,
Jason
Phillip Blancher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Problem with Count.
! am trying to count the number of items in this table. The table has one
field in it.
The code I am using is:
$dbquerymeal = select COUNT(*) from mealtype;
$resultmeal =
Beauford.2005 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes, I'm still screwing around with this stupid redirection thing, and
either I'm just a total idiot or there are some serious problems with
PHP. I have now tried to do it another way and - yes - you guessed it.
It does
Jon Phipps [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am curious as to how, from within php, you could emulate the javascript
window.close() function. The other thing is how would I blend javascript
and
php, it call javascript functions from php. The javascript will be located
Guillermo Scharffenorth [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I am a beginner programmer and I am trying to do the following:
I have a commercial script (catalog.php) which accepts variables using
the
POST method. This script, however, is not designed to handle
The other methods suggested avoid that entanglement.
Kevin
Beauford.2005 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Maybe I didn't explain enough. What if they come from b.php or c.php.
How do I automatically log what page they tried to access. So hard
coding
Beauford.2005 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am trying to figure out how to redirect a user back to a page but not
having much luck.
For example: I click on a menu item on my site which goes to a.php. This
file includes another file that determines if they
Merlin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello there,
I am running php 4.2.1 on a linux machine. Not sure, but I think there
might
be a bug in there.
While putting data into the db I do get an error in a verry rar case. All
values are escaped by addslashes commands.
Ron Allen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What I would like to do is to make an optional page that can print
information to a specified printer. Can PHP do this?
If so how???
Please help!!!
Look in the manual under 'printer'..
Jay Fitzgerald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When echoing html code that will include variables from a while or if
loop,
which method is best?
Method 1: echo td align=\left\ VALIGN=\top\font
class=\dbtables\$employer/font/td;
OR
Method 2: td align=left
The string you send to eval() must be valid PHP code. So try this..
eval( 'echo '.$data.';');
- Kevin
- Original Message -
From: Shawn McKenzie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 1:15 PM
Subject: [PHP] Re: Eval var from query
eval($data)
returns
name is Shawn.
Hope that makes it more clear.
- Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: PHP-GENERAL [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 1:23 PM
Subject: Re: [PHP] Re: Eval var from query
The string you send to eval() must be valid PHP code. So try
- Original Message -
From: Shawn McKenzie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 1:51 PM
Subject: Re: [PHP] Re: Eval var from query
Thanks Kevin! That works great. It outputs: hi my name is Shawn
Now if I want to assign $data to another var, let's say
Zavaboy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ok, I want to delete only 1 row off of a database table...
Example:
I have a table with columns user and item...
Lets say the table contains the following rows (user | item):
582-668243 | Toothbrush
582-668243 | Toothbrush
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Burhan Khalid [EMAIL PROTECTED] wrote:
Next thing, please add a reply-to header that has the lists mailing
address.
This is a topic of debate, and many people (including myself) would urge
people
to ignore this
- Original Message -
From: Sourabh G [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 11:15 AM
Subject: [PHP] Session Problem
Hi,
I am getting a weird session problem in my site.
Background of the Problem:
--
My site use sessions for user
- Original Message -
From: Phil Powell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:21 PM
Subject: [PHP] Mind exploded on this one!
$booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile',
'hasSelectedProfile',
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Phil Powell [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:33 PM
Subject: Re: [PHP] Mind exploded on this one!
- Original Message -
From: Phil Powell [EMAIL PROTECTED]
To: [EMAIL PROTECTED
- Original Message -
From: Arcadius A. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 12:50 PM
Subject: [PHP] TextArea vs. URLEncode/URLDecode/quotes
(snip)
So, My question is: What's the best way to get the value of a textarea
back
after validation without
- Original Message -
From: ulf sundin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 1:00 PM
Subject: Re: [PHP] session data missing
ok, so now the variable names are registred and stored in the file. But
without values.
check this:
--firstpage.php
- Original Message -
From: Micah Montoy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:01 PM
Subject: [PHP] preg_replace - understanding
I'm trying to understand how the code works within the preg_replace
function
but the manual is just obscure as the examples
There are many great books to help get you started. Infact.. believe it or
not.. for the complete newbie PHP for Dummies is a great chioce. It's
very well written and starts with no assumptions about your skill level.
But if you do happen to have some programming experience try PHP and MySQL
suggests any pre-requisites before starting off with the books?
Someone told me it would be much better if I learn Linux first
Hiren
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Hiren Mehta [EMAIL PROTECTED]; PHP
[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 3:18 AM
I'd just dump all of the results into an array and do something like this:
echo table border=1\n;
for($i=0; $icount($array);)
{
echo \ttr\n;
for($j=0; $j2; $j++)
{
echo \t\ttd.$array[$i]./td\n;
$i++;
}
echo \t/tr\n;
}
echo /table\n;
On odd numbered arrays
I'm a little confused by something. I need to build a reg-ex to scrape for
both plain integers and comma spaced integers in the same place in the same
string at the same time. For example..
$string = Mark's average score was 544.;
preg_match(/average score was ([0-9]+)/, $string, $matches);
- Original Message -
From: Ford, Mike [LSS] [EMAIL PROTECTED]
To: 'Kevin Stone' [EMAIL PROTECTED]; PHP-General
[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 12:19 PM
Subject: RE: [PHP] Reg Ex to search for both Integer and Comma-spaced
Integer
-Original Message-
From: Kevin
- Original Message -
From: Mark Clarkstone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 10:10 AM
Subject: [PHP] Please help can anyone figure whats wrong with this?
if (!$logusername)
echo html
head
title$sitename -- Login --- Error/title
/head
body
- Original Message -
From: Mark McCulligh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 20, 2003 11:44 AM
Subject: Re: [PHP] clearing cache
I can't just create a link on the last page back to the first page.
Because
if the user hits the back button on the browser they end
- Original Message -
From: Logan McKinley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:51 PM
Subject: [PHP] Strange roblems with sessions
what it is meant to do:
take a querystring set it to a session variable (outputs error if neither
this output and have a completely
invisible manual socket POST?
Thanks,
Kevin Stone
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ACK! NEVER MIND!
I'm just blind. I didn't see the echo statement on the fgets() line.
Problem solved.
- Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 2:46 PM
Subject: [PHP] How to avoid Socket Post output?
Hello
in depth?
- Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 2:54 PM
Subject: Re: [PHP] How to avoid Socket Post output?
ACK! NEVER MIND!
I'm just blind. I didn't see the echo statement
- Original Message -
From: David Nicholson [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 3:22 PM
Subject: Re: [PHP] How to avoid Socket Post output?
Hello,
This is a reply to an e-mail that you wrote on Mon, 16 Jun 2003 at 22
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 4:02 PM
Subject: Re: [PHP] How to avoid Socket Post output?
- Original Message -
From: David Nicholson [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]
Cc: [EMAIL
Javascript.. bah humbug. :)
Carl, you can avoid these issues by using output buffering allowing you to
call header() whever you want in your script.
? // example..
ob_start(); // buffer output
echo this is output you'll never see;
header(Location: thankyou.html); // header redirect
- Original Message -
From: Zak Johnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 11:00 AM
Subject: Re: [PHP] Redirects in PHP
On 2003-06-13 10:54-0600, Kevin Stone wrote:
Carl, you can avoid these issues by using output buffering allowing you
to
call
- Original Message -
From: Artoo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:16 AM
Subject: [PHP] uploading files after passing vars between forms
Hey
I'm confused!
Do I use move_uploaded_file() or copy() and what is the first parameter of
both in the
- Original Message -
From: Emma Jane Hogbin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 1:08 PM
Subject: Re: [PHP] sessions, IE and pop-up windows
On Mon, Jun 09, 2003 at 09:26:45PM +0200, winst0n wrote:
Hi, try to write a @session_start(); in ur popup
- Original Message -
From: Emma Jane Hogbin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 2:32 PM
Subject: Re: [PHP] sessions, IE and pop-up windows
On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote:
I'll bet you're using an onLoad command to launch
- Original Message -
From: Emma Jane Hogbin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 4:21 PM
Subject: [PHP] solved Re: [PHP] sessions, IE and pop-up windows
On Mon, Jun 09, 2003 at 03:56:28PM -0600, Kevin Stone wrote:
I still believe what's happening
in a switch() statement to highlight the
form fields that are left blank. This makes for a nice user interface,
esspecially on larger forms.
Read up on sessions..
http://www.php.net/manual/en/ref.session.php
HTH,
Kevin Stone
- Original Message -
From: Daniel J. Rychlik [EMAIL PROTECTED
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 06, 2003 1:13 PM
Subject: [PHP] Question about fopen
I have a file named billed.crm.php and it fopen throws the error no
such file or directory. It seems to have something to do with
- Original Message -
From: Mallen Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:48 AM
Subject: [PHP] Passing page referrer on as variable
I have a login process for an intranet that aims to allow all people to
view the intranet front page, but as soon as
- Original Message -
From: Lee Doolan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 10:49 AM
Subject: [PHP] reserver variable names
I could swear that I once saw a statement to the effect that
certain variable names were reserved in PHP. Something along
the
- Original Message -
From: Guru Geek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 3:15 PM
Subject: [PHP] array count() oddity
Hello,
I have a mysql statement listed below. The table contains about 100
rows of information. Only one row matches the $criteria.
- Original Message -
From: Jon Haworth [EMAIL PROTECTED]
To: Dan Joseph [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 12:19 PM
Subject: RE: [PHP] Opinion on a method
Hi Dan,
I would like to get some opinions here on a method I'm doing
to grab connect
- Original Message -
From: Van Andel, Robbert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 4:00 PM
Subject: [PHP] Session Variables and Posting
Is there a way that I can prevent session variables getting values from
query strings. I want them to receive values
Uh. no that can't be right becuase mysql_query() returns a pointer not an
array. The variable does contain a string refering to the pointer ID but
that's about all the information you're going to disseminate from print_r();
--
Kevin
- Original Message -
From: [EMAIL PROTECTED] [EMAIL
There is no trick to it. Query the database, build a string, send it off.
?
$query = SELECT * FROM mytable;
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result))
{
foreach ($row as $column = $value)
{
$body .= $column : $value\n;
}
$body .= \n;
}
The image is grabbed from their servers.
- Original Message -
From: Aaron Gould [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:36 PM
Subject: Re: [PHP] Humour in programming?
Hehe, I though something was wrong with my
- Original Message -
From: Vinesh Hansjee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:55 AM
Subject: [PHP] Date Problem - Last Day Of Month
Hi there, can anyone tell me how to fix my code so that on the last day of
the month, my code doesn't repeat the
- Original Message -
From: Ren Fournier [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 1:52 PM
Subject: [PHP] str_replace() problem
I am performing a str_replace() on a large string, and everything works
fine, except that two of the elements I'm searching for
- Original Message -
From: Adrian Greeman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 3:04 PM
Subject: [PHP] Files uploads problem
I am a learner in PHP - I have been using Larry Ullman's Peachpit
beginners
book which I have found useful to take me through the
As much as I disaprove of off topic posts... that was hillarious. LOL
- Kevin
- Original Message -
From: Richard Whitney [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:30 PM
Subject: [PHP] Apache vs. IIS
How do you take out the Iraqi Intelligence Service?
Guys I would say looping include()'s is just a bad idea all together. It
can get you into some gritty situations. For example it would be very easy
to end in an infinte loop, or overwrite variables, or just confuse the heck
out of the PHP parser. I recommend you do a header() redirect rather
- Original Message -
From: Lambert Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 8:16 PM
Subject: [PHP] post method with fopen
if it possible to send a post data when using fopen?
--
Lambert Antonio
Re:Site WebWorks and System Solutions
You can open
- Original Message -
From: Sebastian [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 3:45 PM
Subject: [PHP] register globals :|
Is there any work-around to get a scipt that requires globals to be ON
work
when globals is OFF?
Its a small script so it
You need to use preg_match_all() and a more greedy expression that is not
case sensitive..
preg_match_all('/src=(\S*)/i', $html, $matches);
$image_array = $matches[1];
HTH,
Kevin
- Original Message -
From: Dan Rossi [EMAIL PROTECTED]
To: Luis Lebron [EMAIL PROTECTED]; Php-General
- Original Message -
From: Rick Gaine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 1:25 PM
Subject: [PHP] variables??
I'm having a problem with form data being recognized by a php script.
If I send information with a GET the variable data appears in $GET[var]
- Original Message -
From: Liam Gibbs [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 2:10 PM
Subject: [PHP] Default setting garbage
Why is it that when I send call this function:
function GetNextDate($whichfriday, $month = , $frequency = 1, $basedate =
)
- Original Message -
From: Oden Odenius [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 1:44 PM
Subject: [PHP] mail() Bcc:
How can send bcc: with mail()?
--
Programmers are tools for convert coffeine into code... (c) Oden
From, CC and BCC are headers to be
- Original Message -
From: Al [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 1:14 PM
Subject: [PHP] File uploads...
Trying to do what should be rather simple and I have done before.
Maybe I am just overlooking the obvious but this is the error I get...
Warning:
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:51 PM
Subject: Re: [PHP] mail() Bcc:
How can send bcc: with mail()?
From, CC and BCC are headers
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:17 PM
Subject: Re: [PHP] mail() Bcc:
- Original Message -
From: CPT John W. Holmes [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius
[EMAIL
- Original Message -
From: Amanda McComb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 12:11 PM
Subject: [PHP] problem with page loading
Hello!
I am working on a site that I thought was working just fine - I tested it
in Netscape 7 and IE. However, several
- Original Message -
From: shaun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 12:25 PM
Subject: [PHP] php and javascript
Hi,
I'm not sure if this is a PHP or a JavaScript question but I have found
the
following code to enable me to select all of the
echo date(F); // prints March
echo date(F, strtotime(month + 1)); // prints April
- Kevin
- Original Message -
From: Boaz Yahav [EMAIL PROTECTED]
To: shaun [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 1:44 PM
Subject: RE: [PHP] Increase a month
This can help :
This is one of those rare things in programming that can only be done one
way. Absolutely the only way to kill the session when a user leaves your
site is to go through a script and then redirect after the session has been
destroyed. For this to work every outgoing link on your website will have
Why is there a space between = = ? And where is $user_data and
$database_data coming form? First thing I would recommend you do is print
out those variables to make sure they actually contain the information
you're expecting.
- Kevin
- Original Message -
From: Guru Geek [EMAIL
- Original Message -
From: Paul Godard [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 3:53 PM
Subject: [PHP] detecting end of line - php 4.1.2
Hi
I am trying to get php 4.1.2 to read a Mac file (exported from
FileMaker Pro) and split it into different lines
- Original Message -
From: Edward Peloke [EMAIL PROTECTED]
To: [EMAIL PROTECTED] Php. Net [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 11:50 AM
Subject: [PHP] credit card validations..
The owner of the php site I am working on just told me he want to do
credit
card validations on
- Original Message -
From: pei_world [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 4:30 PM
Subject: [PHP] function for $array
I want to use the following function the test the array elements,
if all element is number return true, otherwise false;
but the
1 - 100 of 530 matches
Mail list logo