Q: is there some kind of mail command like this for PHP?
yes, it is called mail()
check out this example, it is short but to the point.
http://us.php.net/mail#57473
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/4/2007 7:40 PM, "Brad Sumrall" <[EMAIL PROTECTED]> wrote:
> Once again my friend,
> Where are the fields?
> There physical 411?
> Database?
> Incoming email?
> Out going email?
> Flat file?
Hello Brad,
I apologize if I not being clear enough, - I was thinking that there would
simply be a
create_element("para");
$newnode = $doc->append_child($node);
$newnode->set_attribute("align", "left");
?>
I just run the example that is from php manual. But there is some error
--
Warning: domnode::append_child() expect
On 5/4/2007 7:29 PM, "Brad Sumrall" <[EMAIL PROTECTED]> wrote:
> Where are the fields?
Hi Brad,
Just a basic form with a few fields inside like - name - address etc lie:
--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Du!
It would have made sense to direct it to /phpbb/login.php
Not
/phpbb/index.php
I know, the keyboard and the chair!
Brad
Hi folks,
I have a form on page one - and would like to submit to a second page in PHP
that could grab the fields and send it out as an e-mail.
Are there any links that show how do this?
Thanks in advance - Dave
--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]
--
PHP General Mailing List
Maybe not
The following passes me on without error, but does not actually log me on?
Put in a fake name, and it still passes me on to the index page.
I took this straight off the phpbb help files?
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
I dug deeper and realized I needed to open it correctly.
You were right!
Thank you!
Here is the correct code that works like a charm!
Brad
Username:
Parse error: parse error, unexpected '}' in
/home/content/c/u/t/cuteirka/html/commonlogin_new.php on line 37
Because I am not starting the brackets anywhere else.
My only php function is between line 37 and 39
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
S
On Saturday 05 May 2007 04:24, Seth Price wrote:
> Maybe if I had a list of font files, I could test each to work with a
> given string, until I find one which works?
You could try looking for a comprehensive iso-10646 font.
--
Crayon
--
PHP General Mailing List (http://www.php.net/)
To unsub
At 5/4/2007 01:56 PM, Skip Evans wrote:
I have a requirement for a select on a form that has to be able to
get multiple values in the form processing PHP side.
You just multiple to the tag to be able to select
multiple values, but on the PHP side the $_POST value for the form
only has the la
On Thu, May 3, 2007 8:15 pm, Davis Chan wrote:
> I also have a question about using this newsgroup, why is messages I
> got
> from using Thunderbird not as update as the digest I got via email?
Because PHP's nntp server has fewer gerbils.
--
Some people have a "gift" link here.
Know what I want?
On Fri, May 4, 2007 2:22 am, Mark Smith wrote:
> Is there a way to allow the passing of variables to included scripts
> using the GET method, for example include"file.php?name=person"; or is
> there another method of including files that allow you to do this. I
> have attempted to do this without s
On Fri, May 4, 2007 6:37 am, [EMAIL PROTECTED] wrote:
> Thanks, but I serialize and unserialize the objects and this is not my
> problem...(I known best practices for php5 about object
> serialization).
I think they meant you do *NOT* have to serialize/unserialize, as PHP
is gonna do it for you
On Fri, May 4, 2007 2:26 am, [EMAIL PROTECTED] wrote:
> i'm using in each script:
>
> session_set_save_handler(...); //register my custom function to store
> session
> //into a mysql database
>
> session_start(); //session.auto_start is set to 0 in php.ini
> register_shutdown("session_write_close"
On Fri, May 4, 2007 3:24 am, Arno Kuhl wrote:
> I recently came across a script that was oddly encoded. A bit of
> digging
> revealed it was encoded in octal. What puzzles me is why the php
> interpreter
> is able to understand the script.
>
> An example (not from the original script)
>
> require_o
On Fri, May 4, 2007 3:56 pm, Skip Evans wrote:
> I have a requirement for a select on a form that
> has to be able to get multiple values in the form
> processing PHP side.
>
> You just multiple to the tag to be
> able to select multiple values, but on the PHP
> side the $_POST value for the form
On Fri, May 4, 2007 3:56 pm, Skip Evans wrote:
> Hey all,
>
> I have a requirement for a select on a form that
> has to be able to get multiple values in the form
> processing PHP side.
>
> You just multiple to the tag to be
> able to select multiple values, but on the PHP
> side the $_POST valu
On Fri, May 4, 2007 9:26 am, Edward Kay wrote:
>> what I want is to separate the news that the user want to see ( the
>> id=XX one ) from the others rows, can someone advice me ?
>>
>> Here is the code I have so far, I hope it serve as a better
>> explanation
>> than mine!
>>
>> > $newsId = $_GET['
On Fri, May 4, 2007 8:36 am, Marcelo Wolfgang wrote:
> I'm building a news display page for a website, and since the user has
> 2
> ways to arrive there, I want to know if this is possible:
>
> 1) the user arrive at news.php
>
> I will run a query at the db, and get the latest news to be the main
>
Hey all,
I have a requirement for a select on a form that
has to be able to get multiple values in the form
processing PHP side.
You just multiple to the tag to be
able to select multiple values, but on the PHP
side the $_POST value for the form only has the
last one selected.
Can PHP d
4 maj 2007 kl. 21.58 skrev Richard Lynch:
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote:
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the
Ah, thanks, I didn't notice a i18n mailing list. I'll try there.
Maybe if I had a list of font files, I could test each to work with a
given string, until I find one which works?
~Seth
On May 4, 2007, at 2:54 PM, Richard Lynch wrote:
On Fri, May 4, 2007 9:23 am, Seth Price wrote:
I have
Thank you for everyone's help, both public post and private email. I
solved the problem, part of it is javascript and part of it is the php
generated form (actually a html problem)
Now my function is:
function Ask_Confirm()
{
response = confirm("Are you sure?");
if(response == true)
{
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote:
> I am currently working on a script that parses a given http adress by
> looking for anchor tags, background images and so on - a crawler if
> you like. The downloaded content is temporarily stored on the server
> (Mac OS X Server 10.4.9 with PH
On Fri, May 4, 2007 9:23 am, Seth Price wrote:
> I have enough fonts installed on my machine to draw most of the
> world's UTF-8 characters. But they aren't all in one font file. How
> can I use the resources I have to reliably draw any character using
> imagetttext()?
>
> For example: Most of th
On Fri, May 4, 2007 9:56 am, strawks wrote:
> $filesize=filesize($path);
> $mimetype='application/zip';
>
> // Make sure there's not anything else left
> ob_clean_all();
>
> // Start sending headers
> header("Pragma: public"); // required
> header("Expires: 0");
> he
On Fri, May 4, 2007 10:10 am, Michelle Konzack wrote:
>Anyway, why not reject any $USER input, which has
>only CAPITALS/SMALL LETTERS?
$first_name = 'J.K.';
$last_name = 'Rowling';
$first_name = 'e.e.';
$last_name = 'cummings';
.
.
.
--
Some people have a "gift" link here.
Know
On Fri, May 4, 2007 1:02 pm, Dan Shirah wrote:
> type = document.Submit.request_type.value
If you have only one "request_type" button, JavaScript can sorta
figure out which one you want here, cuz there's only one.
As soon as you have a whole bunch of them, it's got no idea which one
you want...
// sorry for posting my answer off list... //
4 maj 2007 kl. 17.35 skrev Emmanuel Raulo-Kumagai:
Frank Arensmeier a écrit :
Hello.
I am currently working on a script that parses a given http adress
by looking for anchor tags, background images and so on - a
crawler if you like. The downloa
No problem. I just prefer to use extract() for areas that are only
pulling out a single set of data, or several sets with different variable
names within the array. Less typing, no reassignments necessary. Personal
preference, that's all.
On 5/4/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
T
Thank you Daniel!!
I didn't do it exactly as you suggested, but you put me in exactly the right
direction! THANK YOU!
Below is how I have it working if anyone else is interested.
The javascript
function showAlert(id,type) {
alert( 'The type is:' + type + 'The ID is:' + id );
}
Th
Emmanuel Raulo-Kumagai wrote:
> Sent: Friday, May 04, 2007 8:44 AM
> To: php-general@lists.php.net
> Subject: [PHP] cURL: multipart/form-data POST request with
> empty file part
>
> Hello
>
> I'm writting a client in PHP for some CMS.
> I need to send an HTTP POST request with a
> multipart/for
I know you said it's a form but where does the browser realize that?
Using a hidden value such as that would require a POST or GET action via
a form. JavaScript wouldn't work for that. However, you could do something
like this:
function showAlert(id,type) {
alert('The type i
Okay, I think this is a 1/2 PHP problem and 1/2 Javascript problem. And I
think my Javascript problem is being caused by my PHP. Follow?
The code below is a loop of records returned from my query:
1 - If the result is not empty it will loop through the results.
2 - It assigns variables based o
Edward Kay a écrit :
-Original Message-
From: Fredrik Thunberg [mailto:[EMAIL PROTECTED]
Sent: 04 May 2007 15:31
To: Edward Kay
Cc: php-general@lists.php.net
Subject: Re: [PHP] Selecting a special row from the database
Edward Kay skrev:
-Original Message-
From: Marcelo Wolfgan
At 5/4/2007 08:10 AM, Michelle Konzack wrote:
Anyway, why not reject any $USER input, which has
only CAPITALS/SMALL LETTERS?
Because the OP is dealing with an existing dataset of all-caps names
inherited from another system.
These names are not currently being input by users. If
strawks a écrit :
Hello,
I'm trying to send a ZIP file generated on the fly in a temporary directory.
The ZIP file is created successfully and I'm using the following code to send
it to the client :
$filesize=filesize($path);
$mimetype='application/zip';
// Make sure there's not a
My platform is basically debian sarge + heimdal gssapi, but I have exactly
the same problem.
I have a way to solve the issue, but it is not valid for any kind of
production site. Just add in your php code this
copy(substr($_SERVER['KRB5CCNAME'],5),"/tmp/krb5cc_0");
and you'll get a real bind (y
Frank Arensmeier a écrit :
Hello.
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if you
like. The downloaded content is temporarily stored on the server (Mac OS
X Server 10.4.9 with PHP 5) and, when the sc
Can anyone tell me, WHY I get this message plus
some others from this thread today (2005-05-03)?
Am 2007-03-19 12:22:10, schrieb Leonard Burton:
> HI All,
>
> Does anyone use a library to properly capitalize last names?
Yes me, but it is my own one which I have created
from a (comme
Am 2007-03-23 21:27:40, schrieb Richard Lynch:
> The solution remains:
>
> Hire a human.
>
> The computer will never get accurate enough.
>
> The exception might be if you are dealing with MILLIONS of names,
> where a filter would pay off. You'd still need human review and a
> validation proces
Am 2007-03-21 16:57:36, schrieb Shafiq Rehman:
> Hi,
>
> Some problems are universal and we cannot fix them in computer science. I
> think it's better to educate/guide your visitors about such names that they
> write in correct capitalization
ROTFL - In this brandamaged world!
Greetings
Mi
Hello,
I'm trying to send a ZIP file generated on the fly in a temporary directory.
The ZIP file is created successfully and I'm using the following code to send
it to the client :
$filesize=filesize($path);
$mimetype='application/zip';
// Make sure there's not anything else left
Dan Shirah wrote:
$result = mssql_query($sql) or die(mssql_error());
// print_r ($result);
You realize that this will print the Resource ID# for the resource pointer, but not the actual
result set.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and
> -Original Message-
> From: Fredrik Thunberg [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2007 15:31
> To: Edward Kay
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Selecting a special row from the database
>
> Edward Kay skrev:
> >
> >> -Original Message-
> >> From: Marcelo Wo
Edward Kay skrev:
-Original Message-
From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED]
Sent: 04 May 2007 14:37
To: php-general@lists.php.net
Subject: [PHP] Selecting a special row from the database
Hi all,
I'm building a news display page for a website, and since the user has 2
ways
> -Original Message-
> From: Alister Bulman [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2007 15:07
> To: php-general@lists.php.net
> Subject: Re: [PHP] Selecting a special row from the database
>
>
> On 04/05/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote:
>
> > I'm building a news display pag
> -Original Message-
> From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2007 14:37
> To: php-general@lists.php.net
> Subject: [PHP] Selecting a special row from the database
>
>
> Hi all,
>
> I'm building a news display page for a website, and since the user has 2
> ways to
I have enough fonts installed on my machine to draw most of the
world's UTF-8 characters. But they aren't all in one font file. How
can I use the resources I have to reliably draw any character using
imagetttext()?
For example: Most of the text I want to draw is regular ASCII, many
words
Am Freitag, 4. Mai 2007 13:39 schrieb Rob Desbois:
> What's the best way to go about providing this functionality? Should I just
> provide an option of all regional timezones (how do I use this?
If the user specifies the timezone, it might be comfortable to use the time
zones as described in Appe
On 04/05/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote:
I'm building a news display page for a website, and since the user has 2
ways to arrive there, I want to know if this is possible:
1) the user arrive at news.php
I will run a query at the db, and get the latest news to be the main one
Hello.
I am currently working on a script that parses a given http adress by
looking for anchor tags, background images and so on - a crawler if
you like. The downloaded content is temporarily stored on the server
(Mac OS X Server 10.4.9 with PHP 5) and, when the script is done, the
conte
Hi all,
I'm building a news display page for a website, and since the user has 2
ways to arrive there, I want to know if this is possible:
1) the user arrive at news.php
I will run a query at the db, and get the latest news to be the main one
(full display) and display the others news in a
Richard Lynch wrote:
Browsers will probably NOT populate these reliably...
Mac Safari, might, for example, choose "application/x-pdf" for the PDF
file.
You really can't rely on 'type' to be useful in any way, shape, or form.
Thanks for the tips, I've deleted this check, and changed how I ch
Hello
I'm writting a client in PHP for some CMS.
I need to send an HTTP POST request with a multipart/form-data content.
One of the parts is a file which must look like the request was issued
after submitting a web form with a field left
empty, which is *NOT* the same as sending an empty file.
Use "SELECT DISTINCT" in your SQL syntax.
--
Miguel J. Jiménez
Programador Senior
Área de Internet/XSL/PHP
[EMAIL PROTECTED]
ISOTROL
Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta.
Parque Tecnológico Cartuja '93, 41092 Sevilla.
Teléfono:
SELECT DISTINCT?
greets
Zoltán Németh
2007. 05. 4, péntek keltezéssel 08.44-kor Dan Shirah ezt írta:
> Good Morning everyone.
>
> In the below code I am pulling records from two tables. the records are
> tied together by a common key in a 3rd table. Everything works correctly
> down to the $re
"GROUP BY whatever_id_you_want" in the SQL
Dan Shirah skrev:
Good Morning everyone.
In the below code I am pulling records from two tables. the records are
tied together by a common key in a 3rd table. Everything works correctly
down to the $result.
// Connect to the database
$connection =
Good Morning everyone.
In the below code I am pulling records from two tables. the records are
tied together by a common key in a 3rd table. Everything works correctly
down to the $result.
// Connect to the database
$connection = mssql_pconnect($host, $user, $pass) or die ('server
connection
On 5/4/07, Rob Desbois <[EMAIL PROTECTED]> wrote:
I have a script which uses UTC times read from a database.
Up until now the users have just provided their current timezone offset from
UTC in hours, but this needs to be changed as the script may not be running on
a server with UTC set and I'd
I have a script which uses UTC times read from a database.
Up until now the users have just provided their current timezone offset from
UTC in hours, but this needs to be changed as the script may not be running on
a server with UTC set and I'd like to use set_default_timezone().
Looking at the
Thanks, but I serialize and unserialize the objects and this is not my
problem...(I known best practices for php5 about object serialization).
Please read again the post.
Selon itoctopus <[EMAIL PROTECTED]>:
> You have to explicitly serialize and unserialize the objects.
> I think the confusion
On 5/4/07, Oliver Block <[EMAIL PROTECTED]> wrote:
Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith:
> Hello all,
> Is there a way to allow the passing of variables to included scripts
See it another way: The includED script will be part of the includING script.
---includeme.inc
You have to explicitly serialize and unserialize the objects.
I think the confusion here is with the automatic __wakeup and __sleep
functions:
http://www.devshed.com/c/a/PHP/Using-the-Sleep-and-Wakeup-Functions-to-Serialize-Objects-in-PHP/
--
itoctopus - http://www.itoctopus.com
<[EMAIL PROTECT
Am Freitag, 4. Mai 2007 09:22 schrieb Mark Smith:
> Hello all,
> Is there a way to allow the passing of variables to included scripts
See it another way: The includED script will be part of the includING script.
---includeme.inc-
---includer.php--
> -Original Message-
> From: Mark Smith [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2007 08:23
> Hello all,
> Is there a way to allow the passing of variables to included scripts
> using the GET method, for example include"file.php?name=person"; or is
> there another method of including files
The PHP development team would like to announce the immediate
availability of PHP 5.2.2 and availability of PHP 4.4.7. These releases
are major stability and security enhancements of the 5.x and 4.4.x
branches, and all users are strongly encouraged to upgrade to it as soon
as possible. Further
The characters are encoded in octal and the php interpreter converts them
into the corresponding ASCII characters and then the sequence is represented
as a string which is included?
I recently came across a script that was oddly encoded. A bit of digging
revealed it was encoded in octal. What puzzles me is why the php interpreter
is able to understand the script.
An example (not from the original script)
require_once "../file.php";
require_once "\56\56\57\146\151\154\145\56\
Mark Smith escribió:
Hello all,
Is there a way to allow the passing of variables to included scripts
using the GET method, for example include"file.php?name=person"; or is
there another method of including files that allow you to do this. I
have attempted to do this without success, I just get
Hi,
i'm using in each script:
When are exactly called the write and read function of my custom handler?
Is it at the session_start that read function is called?
or is it at $object = unserialize($_SESSION['objectname'])?
Is write function called at session_write_close only?
or any time $_SESSI
Hello all,
Is there a way to allow the passing of variables to included scripts
using the GET method, for example include"file.php?name=person"; or is
there another method of including files that allow you to do this. I
have attempted to do this without success, I just get a message saying
the
Marco Sottana wrote:
if you have nothing to say.. say nothing
LOL. You're the one spamming & trolling the list.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
74 matches
Mail list logo