I used to have similar problem and that was when I was using the php
mail() command..
Have a look at phpmailer
http://phpmailer.sourceforge.net/
This deals witha lot of the peculiarities with mail servers..
Pete
Ron Allen wrote:
Here is my problem. When I send emails locally theough the
increase the time limit
http://uk.php.net/manual/en/function.set-time-limit.php
Imran wrote:
Hi,
i facing a error during uploading a big size file (abt 200 MB). i incred =
upload file size in php.ini and also incred connection time in IIS (web =
server), but i getting again this below written
Its a ternary operator
look at
http://www.phpbuilder.com/board/showthread.php?threadid=10235547
http://www.phpbeginner.com/columns/maxim/ternary
pete
Adrian Greeman wrote:
I am confused by the shorthand if notation.
For example I just saw this PHP snippet on another forum
?
$bkgndClass =
Put a hidden field in the form and give it the same name as the forms
eg
input type=hidden name=form_name value=sign_up_form
I'm pretty sure the form name is not sent to the server - but i may be wrong
pete
Amanda McComb wrote:
If I have multiple forms on a page, and each form has it's own
Slkigh Ammendment to below
?php
header(Location: https://www.google.com;) ;
die;
?
Jake Johnson wrote:
Have you tried...
?php
header(Location: https://www.google.com;) ;
?
Regards,
Jake Johnson
[EMAIL PROTECTED]
--
Plutoid -
Have a look half way down this page
http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-15.html
pete
Jay Fitzgerald wrote:
is this the correct way to register variables via a session?
[code]
session_start ();
$_SESSION['eventid'] = 'arma2';
print_r ($_SESSION);
echo P $_SESSION;
[/code]
[result]
Array (
try
http://uk2.php.net/strip_tags
pete
Matt Palermo wrote:
I want to be able to retrieve and return all character that are not
located in html tags. For example:
font size=\3\ color=\#336699\1234567/font
or
marquee1234567/marquee
I would just like it to be equal to 1234567, but I would need
The one we use is oneorzero helpdesk which is a project at sourceforge.net
Andreas Cahen wrote:
Hello List :)
Is there any usefull ticketing system (Hotline/Support/etc.) written in
PHP?
I have found some on hotscripts.com, but I don't know which one is
really got or not..
Any suggestions?
you could use a $_SESSION variable instead of file
$filename = addusers.txt;
if (isset($users)) {
$temp = $_POST['users'];
$handle = fopen($filename, w+);
fwrite($handle, $temp);
$users = file($filename);
if (ereg(\t, $users[0]) == true) $separator = \t; // om texten är
What I tend to do is to download the installer and run it as this sets
up all the configuration (eg IIS)
I then download the zip file (Which contains a load of extra files eg
PEAR) and copy the whole unzipped directory to overwite the c:\php dir
contents created by the installer.
This might
chech here
http://www.phpfreaks.com/mimetypes.php
and in php add the folowing header
header (Content-type: model/vrml);
Brian V Bonini wrote:
I want to get php to output text/css for one .php file. I tried using
header() and ini_set () but seems no matter what I do the Content-type
remains
Nirmala P wrote:
Hi list,
This time i am pasting my code could any body tell where wrong I am ?
?
function LangItem($field,$lang)
{
$db = mysql_connect(localhost, root);
/*Check For Connection to local host*/
if(!$db) echo(Connect to localhost mysql database failed);
Where does thejavascript fit ?
Nirmala P wrote:
Hi Pete Morganic ,
Thanks for reply. But the code is not solving my problem. May be I did
not epress my problem clearly.
Actually I wanted to store the returned value so that I can write it on
page like
{ test = ?php LangItem(FieldName,LangName
off tangent slightly -
Have u looked at smarty templates
smarty.php.net
Must admit I played with ITX and a few others but smarty wins for me
pete
Torsten Rosenberger wrote:
Hello
i plan to reorganize my CMS code.
The idee is to only use classes for the hole system.
There should be a Core class
from the manual
Example 1. Basic substr() usage
?php
$rest = substr(abcdef, 1);// returns bcdef
$rest = substr(abcdef, 1, 3); // returns bcd
$rest = substr(abcdef, 0, 4); // returns abcd
$rest = substr(abcdef, 0, 8); // returns abcdef
// Accessing via curly braces is another option
$string =
print '?xml version=1.0?';
Steven Apostolou wrote:
Hello,
The folowing code gives an error:
print ?xml version=\1.0\?;
This is probably because I print a questionmark? How can I avoid that an
error is generated?
Besides it's not an error in the way that it gives an errorstring but it
writes
There's loads of email clients here
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Web-based_Email/index.html
Greg Brant wrote:
hi, im the lead developer for a small online magazine / community
we want to set up an e-mail service where our users can create their own
mail
definately do NOT recommend this path-
Just make an include file at the top of each page
pete
Hardik Doshi wrote:
Hi Group,
Currently i am connecting the underlying database
server from every php page. To reduce the connection
overhead i am thinking to store the PEAR DB object
into the registry
what is the cgi error message ?
Scott Fletcher wrote:
Hi!
To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a while.
Then we builted a new database server, SQL-2000 and point the website to the
new server. Then we notice the problem with the CGI error. So, we last
week
see the set_time_limit(); function
http://uk2.php.net/manual/en/function.set-time-limit.php
increase to around a minute or make the mailbox read them back in pages
with 10 at a time for example
Pete
Amer Neely wrote:
I've a script reading a mailbox using
$InBox = imap_open($Host,$User,$Pass);
Anyone know of a class or function that converts numbers to readable text
eg inputing the number would output text as in
120 = one hundred and twenty
3600 = three thousand six hundred
tia
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
? just not even be bothered with Google
I did but didnt find any
Thanks ;-)
pete
Brian McGarvie wrote:
Anyone know of a class or function that converts numbers to readable text
Oh how old... coud you just not even be bothered with Google or any other
search engine?
To save you the trouble:
I use the PEAR db http://pear.php.net/manual/en/package.database.php
This returns arrays - examples here
http://pear.php.net/manual/en/package.database.db.intro-fetch.php
look at the Quick data retreaval down the page
pete
Larry Brown wrote:
Is there any php function to pull a query into an
http://phpmailer.sourceforge.net/
This is what I use and makes life much much easier
Pete
Maria Garcia Suarez wrote:
Hi there!
I'm developing a program that has a kind of mail
client from where users can send mails and get a blind
copy in their e-mail boxes. The program uses mail() in
those
You can use the $_POST variavle in the text area
eg
textarea name=my_field?php echo $_POST['my_field']; ?/textarea
Artoo wrote:
How do you repost data in a textarea field of a form? I've set up a session
variable named old_data and want to repost the data into the textarea of a
form so it can
Have u looked at smarty.php.net ??
It sounds like your reinventing the wheel
Pete
Donatas wrote:
Does anyone know any other way used in template engines for loops but
creating array first and passing it to template class?
This is rather annoying and it makes work slower and code harder to read.
Sorry not to answer your question below however I am intrested in Netware..
Just to satisfisy mu curiosity. What version are u running ? what Web
server and what database ??
I love netware, however most customers dont !!
pete
Ananth Kesari wrote:
Hi,
For some reason, getallheaders() is not
check out the linux sudo command
pete
R evr{v wrote:
Hello.
I am trying to restart my FTP daemon by killing it and then starting it using
the shell_exec() function:
shell_exec('kill '.$pid );
Shell_exec does nothing by this - when i do ps -ef later, i see the daemon
with the same pid still
Why is the font tag evil and depreciated ???
confused pete
Steve Magruder wrote:
Curt Zirzow wrote:
Dont use the font tag.. they are evil... and besides depricated.
And they're deprecated too. :)
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
so which tag should i use .. div span ???
tia
pete
Nelson rodriguez-Pena wrote:
Hi Pete,
Why is the font tag evil and depreciated ???
confused pete
Because it is a presentational element and HTML is headed to structural
content instead of visual formating. Structure is for HTML, presentation
30 matches
Mail list logo