Scott Bounds wrote:
Hello all. I seem to be having a terrible tim ewith something that is so
simple it makes me sick. I have a server running FC2. it has Apache
2.x.x on it and it came installed with php-4.x.x. Sorry I don't have
the exact versions but fatigue and frustration has taken
[EMAIL PROTECTED] wrote:
text file problem
read text file to array string. I use function File(). but when I display
data in text file it compress space in each lines such as first record
contain 1_2__3__4__ ( _ = blank )
when store in array string is 1 2 3 4 . I want you tell
http://www.phpclasses.org/mimemessage
Or you can try is, which is one of the best mailer class:
http://phpmailer.sourceforge.net/
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Manuel Lemos:
Hello,
On 11/01/2004 03:58 AM, Kunal Aggarwal wrote:
I am using PHP 4.3.4 version.
Please tell how to unpload a mail function.
Error comes on executing mail function is
mail(): SMTP server response: 550 5.7.1 Unable to relay for
[EMAIL PROTECTED] in
Hello,
On 11/01/2004 03:58 AM, Kunal Aggarwal wrote:
I am using PHP 4.3.4 version.
Please tell how to unpload a mail function.
Error comes on executing mail function is
mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in
C:\Program Files\Apache
Hello,
On 06/18/2004 05:40 AM, Me2resh wrote:
is there a function to detect the path of the directory
i need my file to detect the path it is on it, not the http path but the
path on server
please help me with that
getcwd() or dirname($_SELF);
--
Regards,
Manuel Lemos
PHP Classes - Free ready to
On Fri, 18 Jun 2004 05:46:12 -0300, Manuel Lemos [EMAIL PROTECTED] wrote:
On 06/18/2004 05:40 AM, Me2resh wrote:
is there a function to detect the path of the directory
i need my file to detect the path it is on it, not the http path but the
path on server
please help me with that
An excellent resource for all these questions is the documentation found
at http://www.php.net/docs.php. Below, I've provided some links to the
specfic docs for each question.
1- MD5 with PHP values.
http://www.php.net/md5
2- Random values in PHP.
How to retrieve data from a PHP file? (The value that will
be retrieved of course it is echoed in the PHP file, and it
will be shown in a TextBox in my VB program.. so I want to
retrieve it to my EXE VB program that will put it inside a
TextBox or something like that..)
From within a PHP
Hello Rolf,
On 9 Jan 2004 at 0:51, Rolf Berkenbosch wrote:
I have a big problem with the mail function in a php script.
If I run this script with root access, the mail function is working.
If I try to run it like http://www.i-s-u.nl/test.php it won't work.
What is happening, what can I
any alternative method is also welcome
Joe [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
I have written a php to show file in directories.
The problem is due to is_dir() can't opearate on remote files. What should
I
do in order to fix it.
thx a lot~~~
--
PHP General Mailing List
hi joe,
you want a server-script, that lists a dir on a client?
i think that's impossible. think of if you visit a website written in php
and in background your hdd is scanned? that's simply a security reason.
ciao SVEN
Joe wrote:
any alternative method is also welcome
Joe [EMAIL PROTECTED]
What is remote in your circumstances? FTP, HTTP, ... ?
Joe wrote:
any alternative method is also welcome
Joe [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
I have written a php to show file in directories.
The problem is due to is_dir() can't opearate on remote files. What should
I
do in
I see the point but I just want to list the subfolder under my directory.
Could you please tell me how to distinguish a directory from a file in Unix
thx a lot
Sven [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
hi joe,
you want a server-script, that lists a dir on a client?
i think
HTTP
my department disable the function of listing file
Marek Kilimajer [EMAIL PROTECTED]
???:[EMAIL PROTECTED]
What is remote in your circumstances? FTP, HTTP, ... ?
Joe wrote:
any alternative method is also welcome
Joe [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
I have written
Do you mean you cannot access the filesystem on your own server?
You can find out if /something is a directory by connecting to the web
server and request the file/directory without a trailing slash. If it is
a directory server will respond with 301 Moved Permanently response.
$is_dir=false;
look up two functions in the online manual. strtotime() and date()
strtotime will give you a unix timestamp for just about any date possable,
date will format it the way you need. to get it into a mySQL date field,
basicaly, you do this:
date(y-m-d, strtotime($_POST['date']))
where
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
Oddly, the CGI Error message is intermitted. It come on some of the time
and some of the other time doesn't. What is the problem here.?
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi!
To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a
option value=?=$row['area']??=$row['area']?/option
is the culprit. instead use
option value=?=$row['area']??=$row['area']?/option
what u missed were the double quotes around the value. u HAVE TO do that for
values with space in between .
regards,
-shiva
Nabil [EMAIL PROTECTED] wrote in
That doesn't tell much.
The way you'r using should work.
What happens if it doesn't work?
Thomas
On Sun, 15 Jun 2003 21:46:54 +1000 [EMAIL PROTECTED] (Ben Houlton) wrote:
How do I get a DB table open easily?
So far, I've been using a metod that sometimes works and some times doesn't,
I just
Dale [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I was able to successfully install the php on my win2k server. I am,
however, getting an error any time I try to initialize a variable. This is
the error I am getting:
Notice: Undefined index: adv_auth in
I think that it has started recently, when SF upgraded all their system.
There is an error code that says that it cannot load module 'mm' at line
0, or something like that.
'mm' is a memory-mapping library that needs to be compiled into a module for
the OS and/or PHP to use...
I'm not smart
Read everything at the following sites :-)
www.php.net
www.zend.com
www.phpbuilder.com
In particular read the manuals, tips, tricks, examples, and links to other
sites sections.
Lots of good info there and will point to more sites.
On Tue, 3 Sep 2002, Anh wrote:
Hello everyone,
I would
I truely recommend Beginning PHP4 by Wrox Press (www.wrox.com or p2p.wrox.com) if
you have no experience in programming or PHP. It is, by far, the best $40 you will
ever ever spend. I promise.
regards,
dan
On Tue, 3 Sep 2002 16:46:03 -0700 (PDT)
Philip Hallstrom [EMAIL PROTECTED] wrote:
Hi Dan,
Thank you so much for your advice.
Anh
Dan Ostrowski [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I truely recommend Beginning PHP4 by Wrox Press (www.wrox.com or
p2p.wrox.com) if you have no experience in programming or PHP. It is, by
far, the best
Hi Nick!
First off, *please* read a netiquette guide before posting -- I hate
seeing a conational of mine posting a message like yours (###PLEASE
HELP### and I am waiting for an answer are extremely rude - you're
not paying for support on this mailing list, so you can't demand
anything).
Djurovski Dejan wrote:
What's wron in my script?
I receive message:
*Warning*: Supplied argument is not a valid MySQL result resource in
*c:\inetpub\wwwroot\login.php* on line *12*
I input validate username password!
?php
include(config.php);
if(!empty($username))
{
It couldnt open ./common_db.inc which you referenced in an include()
function on line 2 of /var/www/html/myphp/ex.php
Its a bit like the PHP version of the 404 not found message. Check the path
for typing mistakes etc. You might like to try using ../../dir1/dir2 instead
of ./
Caleb Carvalho
I've attached the debug.log which was created while I was installing PHP
onto my 400MHz Pentium PC, running Linux (and DOS on another partition)
with
a MySQL database and an Apache web server.
Please can you help.
When testing to view a PHP file requesting phpinfo( ) on the Netsacpe
browser,
Sorry Hugh - didn't mean to send it just to you!!
Hi!
Thanks for the help!
It works great, but I've now made the array 2 dimensional:
?php
$index = array (
The Music Behindbr /Les Miseacute;rables = array (About Les
Miseacute;rables),
Introduction = array (About Les Miseacute;rables),
Thanks everyone for the help!!!
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Is the menu part of each page? Or is it a separate file/script that
gets included in each page? Or is the navigation in a separate frame?
If the menu is hard-coded into each page, then there's no reason to use
PHP, because you have to modify each page ANYWAY, so you might as well
just set
OK here's the code in the page:
!-- Start Navigation --
div id=navbar
table class=navtable width=160 cellpadding=4
!-- Navigation Bar Heading --
tr
td class=navheadWelcome/td
/tr
trtd class=navtext id=sela href=Home/a/td/tr
trtd class=navtexta href=Introduction/a/td/tr
trtd class=navtexta
Okay, well you could either put code like this into each td cell like
this:
td class=navtext ?php if (sect == 5) print id=\sel\; ?
That is kind of ugly, however. A more elegant solution would be to make
an array containing the links then do a loop kind of like this (I'm just
typing the code
Martin Hughes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
OK here's the code in the page:
!-- Start Navigation --
div id=navbar
table class=navtable width=160 cellpadding=4
!-- Navigation Bar Heading --
tr
td class=navheadWelcome/td
/tr
trtd
Look at a folder named 'Benchmark' that comes with php's PEAR. It has a
file named Time.php, and it has nice instructions about how to use it.
--
Julio Nobrega.
Because happiness is a warm gun
Bang-bang shoot-shoot
McShen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Hi !
Don't bother with it, anybody!
I recompiled all under php-4.0.4pl1 version and it
works just fine! It seems it was the php version's fault..
thank u all!
Daniel BI
Did anybody have the same error?
I have this simple script:
===
?
session_start() ;
?
FORM
38 matches
Mail list logo