Put a ";" [no quotes] after such as: echo $PHP_SELF;
Jeff McKeon wrote:
I've just published a new website and something is wrong. I suspect the
PHP.ini on the server but I can't seem to find anything.
The line:
Doesn't seem to work. If I look at the "view source" from the web
browser I
I've got a simple expression " where "xx" is a number from 0 to 99.
I want to replace it with simply . That is, I want to remove the
numbers.
Will "str_replace" do it, or must I use ereg_replace?
I haven't figured out from reading the php manual on regular expression
how to do this simple thi
There are too many problems with your code for anyone to spend the time
going thru them all.
I'd suggest, first constructing a regular html table that looks like you
want it to. Hint, IE6 requires something in TDs [e.g., ] for
borders to show.
When the table looks the way you want it to, va
Inline frames http://www.cs.tut.fi/~jkorpela/html/iframe.html
Jason Martyn wrote:
This is probably under the category of javascript, however I would like ot know if it is possible to be done with php.
Let's say I have a table that is 30 columns wide and so the entire table doesn't fit on the scr
Does file called by "Include_once" stay with the client's session or
just for operations in the page where it is stated?
For example, assume I have one file that contains several functions,
then if use "include_once('functions.php')" on several pages, does the
server reload the file for every
Check that you are using the correct MIME type.
There is a note on this in the User Contributed Notes under the function definition.
Jason Jacobs wrote:
Hi all. I've been struggling with getting images to upload cleanly. I'm using php 4.2.2. When I look at the uploaded file info, it gives
Does appear to be promising. I'll try it. His description is a bit
vague about what zip formats it handles.
Evan Nemerson wrote:
http://dev.maxg.info/projets/projet.ziplib.en.maxg maybe??? haven't tried it
On Tuesday 27 May 2003 12:16 pm, Al wrote:
I doing a little ph
I doing a little photos album application and I'd like my, non-techie,
users to be able to zip together their photos and upload them to a
folder on the site. I've got everything going nicely except the unzipper.
I would not like to teach them to use ftp, even with a browser.
I'm on a virtual
-X To: -X From: -X Subject: |
/home/nepso/nepso-mail/report_gateway.php)
}
This is working so far with Mozilla as the client. The nice thing too
is it by passes the attachment which was another problem I was having
since I do not want those.
Hope this is more clear and thanks Tyler for your time.
t to remove from the inforamtion
So maybe with a preg_match on the boundary and then strip from that
value until the next time you see the value??
Though now to put this in a language php understands??
Thanks
--Al
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use of the aliase file for sendmail. Though using procmail to
strip the above info my be better in the long run?
Thanks,
--Al
Gateway.php
#!/usr/local/bin/php -q
/* $Id: gateway.php,v 1.11 2002/10/28 15:52:27 root Exp $
* Copyright (C) 2002 Justin Mazzi <[EM
Any ideas what settings I need to change to make this simple process happen?
Thanks
--Al
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for me. The following printed: "leadingtexttrailingtext" to the
screen
');
$text = "leadingtext[p]trailingtext";
$words = str_replace ($find, $replace, $text);
print $words;
?>
"Al" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
I have a simple str_replace
I can't find a way to replace \r\n codes with in a text file.
I'm reading a text file that was prepared with windows notepad
The hex code shows OD OA for CR/LF as I expect.
I'd like to replace the OD/LF with s.
I spent hours trying every User Notes in the PHP Manual for this simple
operation.
I have a simple str_replace function that obviously has a syntax
problem. The [p] in the $find array ignores the brackets. Every "p" in
my text is replaced by a . Just for the heck of it, I've tried "
instead of ', and preg_replace(), etc.
$find= array('& ','W&OD', '"&"', chr(146), '[p]');
$
reach their site.
We'll see.
Mirek Novak wrote:
Al wrote:
Are you guys it works for in Europe, or outside the USA?
I can traceroute to their site just fine, both phpEdit.com and
phpEdit.net. And, I can use the IP 212.43.196.19; but it won't open the
... and what about so call
e:
It works fine for me. So does www.phpedit.net
Al wrote:
Did you try the URL you posted?
I tried that one and several others listed for phpEdit.
All say the site is not responding.
Bryan Lipscy wrote:
Did you check google?
http://ozu.arecom-sa.com/~marms/phpedit.net/
-Original Me
Did you try the URL you posted?
I tried that one and several others listed for phpEdit.
All say the site is not responding.
Bryan Lipscy wrote:
Did you check google?
http://ozu.arecom-sa.com/~marms/phpedit.net/
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]]
Sent: Sunday
Their site no longer responds.
Surely, we haven't lost one of the best php editors.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cookies work just fine with NS4x.
Here's one I use:
setcookie ("LastVisit", time(), time()+7776000);
Chad Day wrote:
This is with PHP 4.2 and register_globals off.
I am setting cookies and starting a session in the following fashion:
setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".
ted directories and
would like be certain things will work if we move the site to a new host.
Several references I've found suggest staying away from using
$DOCUMENT_ROOT since it can be different on virtual hosts.
Chris Shiflett wrote:
--- Al <[EMAIL PROTECTED]> wrote:
Why does the
Why does the absolute path work and not document_root?
include ("$DOCUMENT_ROOT/root_functionsT.php");
//error message says function undefined
include ("/www/r/myID/htdocs/root_functions.php");
// Works just fine
echo "$DOCUMENT_ROOT/root_functionsT.php";
// shows /www/r/myID/htdocs/root_functio
I've got a folder with about 100 jpg files and a menu which a link to
each one.
Works fine but looks crude. Obviously, the image shows as a default on
a white background, located in the upper left.
I'd like to spiffy up the appearance with a background color and
centering the image. [e.g. wit
Looks like you are only backing up 2 levels when you need 3.
Why not try something like:
$root= "the absolute path to your root folder";
Then simply:
include ($root . "mainfile.php");
etc.
Daniel Negron/Kbe wrote:
I have this code :
which works great from the root dir where these files
This may be a bit more than you are looking for.
http://sourceforge.net/projects/phpmyedit/
Mike Tuller wrote:
I have been looking for an example of how to create a listing of items
in a table where you have the first item in the list have a link so that
when you click on it, it will open a
Hi all,
I try to print some information (text and image) that I retrieve from an oracle DB,
but I got the image printed as binary junk. When I put the line that print the image
in a html image tag, I got a red square with "X" inside. What can I do to solve this
problem?
This is my code:
-
Hi all,
I use the following:
1) Win XP.
2) Oracle personal eddition 8.1.6.0.0.
3) IIS.
4) php-4.2.3-Win32 runs in cgi mode.
When I retrieve a blob from my DB, I got the following error:
Fatal error: Call to undefined function: load() in
c:\inetpub\wwwroot\php1\ora52.php on line 6
-
How can I insert a file into a binary field in sql server 2000. Do I
need some function in the query like upload or just read the file and
insert it.
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I copy a complete example from a book to upload file and I got this
message error when I browse the file:
Parse error: parse error, unexpected '!', expecting T_VARIABLE or '$'
in c:\inetpub\wwwroot\php5\file_upload.php on line 32
Here is the content of the file (file_upload.php):
I'd like to use some of the Imagemagick functions; but my virtual host
doesn't include it and won't bother to install it.
Is it practical to install Imagemagick php on a virtual host?
Has php. It's not a shell account. FTP is the only basic access.
--
PHP General Mailing List (http://www.p
on't work and the
error log says "not allowed" etc.
I appreciate your help.
Rasmus Lerdorf wrote:
> What does include have to do with DirectoryIndex? And what exactly is
> your problem with include? The only trick is setting the include_path
> which doesn't seem all t
tes at the bottom.
It is incredible that such a basic php function should be so obtuse and
ill defined.
I'm going to give your other suggestion a try tomorrow.
Thanks again
Analysis & Solutions wrote:
> On Sun, Aug 11, 2002 at 12:33:55PM -0400, Al wrote:
>
>>The .htac
that may work?
Thanks.
Analysis & Solutions wrote:
> On Sat, Aug 10, 2002 at 01:12:38PM -0400, Al wrote:
>
>>I'm on a virtual host without a shell account and need execute a UNIX
>>command.
>>
>>ln -s ../afile.php index.php
>
>
> In a PHP scr
I'm on a virtual host without a shell account and need execute a UNIX
command.
ln -s ../afile.php index.php
Is there some way to do this [e.g., with a htaccess file]?
What happens when you execute UNIX commands like the one above? Does it
make a file, change the config?
Thanks
--
I was hoping there was a way to fix it without having to modify my php
scripts [e.g., phpBB2, postlister, etc.]
Manuel Lemos wrote:
> Hello,
>
> On 07/29/2002 01:54 PM, Al wrote:
>
>> Emails sent from my php scripts, using sendmail, all have a goofy
>> "return
Emails sent from my php scripts, using sendmail, all have a goofy
"return-path" variable in the header.
Is there a way I can correct this, or does it require a change to the
sendmail config file that I can't get to?
Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsu
I've picked up PHPed, Zend IDE, and Dreamweaver MX.
- ZendIDE has the best code-completion and editing features out of all
of them, best auto-tabs and auto completes.
- PHPed is ok, better with database and total MySQL development then
Zend IDE.
- Dreamweaver MX has limited PHP support but it
I had a problem where I compiled in too many extensions and apache
thought the module file was too complicated, and thus corrupt and
wouldn't start.
On Tue, 2002-07-02 at 14:09, B i g D o g wrote:
> Sorry bro...doing to many things at once.
>
> Apache 1.3.23
> Linux 7.2
> PHP 4.1.2
>
> Configu
You must do a session_start() before you can use the session ID or the
session array.
On Wed, 2002-07-03 at 12:24, Scott Fletcher wrote:
> Have not been successful in making this work for 2 days now. I'm focusing
> on making the $_SESSION to work on each webpages. The 1st page is the
> login.
Well, since HTTP is stateless you can really say that this event happens
in either of two places:
- The next page accessed by the user with that session ID
- As an event in the backend.
If it's the first, I would recommend just having a lib_session that
verifies a timer or whatever and then redir
I believe you will need to compile two versions, and point two to
different php.ini locations.
Here's a snipet from the manual.
http://www.php.net/manual/en/install.configure.php#install.configure.options.php
Al
--enable-maintainer-mode
Enable make rules and dependencies not useful
ly apparent way I could know *for sure* that independent of
the browser, I knew what the heck was being submitted.
Thoughts?
Thanks,
Al
--
This email was sent with Ximian Evolution.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I spent a good bit of time looking at editors to help me prepare and
modify php scripts. I've found it very time consuming to evaluate them.
In general, I've found you have to download, install and play with them
some just to determine if they fit your needs. And I know from
experience, ofte
I notice that some webhosts offer the apache module and some the cgi.
On the surface, the cgi version appears to be a lot of extra hassle.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got a mail function script that occasionally terminates midway
while sending out about 600 emails.
The symptoms point to the "max_execution_time", which is set for 30
seconds.
The question is how to best handle it.
set_time_limit only seems to apply to the script that contains it. Yet
t
n message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Al,
>
> Interesting. I use Mozilla and I've never had any emails rejected or
> heard of anyone else have it happening. Have you some more information
> or is this an urban legend?
>
> Regards
>
> Chris
>
Sorry if this shows twice. I originally posted it with Mozilla and forgot
that this newsgroup server seems to ignore postings from it. This one is
posted from IE.
I've got a mail function script that occasionally terminates midway while
sending out about 600 emails.
The symptoms point to the "
o the "index.php" a little secure with a
password. I've seen other applications with this technique.
Thanks again,
Al..
"Al" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I hope this posting is not a du
Anyone have a clue why I can't post messages with Mozilla [RC2]?
Goes through all the motions as if the message is sent. Shows in my sent
folder and the terminal icon indicates the message is sent.
Works fine for all other newsgroup servers.
I'm posting this with IE6.
--
PHP General Mailin
I hope this posting is not a duplicate. I originally posted it yesterday,
but it doesn't show on the newsgroup for me.
Apparently you can set a variable as part of a URL statement. For example:
www.company.com/index.php?admin=password.
Where "password" might be a simple variable to test as a
Sir/Madame, i'd like to ask about PHP support for XMLDOM is it stable and where i
could find better explanation for it?
hi, i know this question's been asked before but i can't find the email...how do i do
the delete link that pops up a message box with the information of the deleted entry
using php? like the one in phpmyadmin 2.2.3. thanks. :)
I found some nice mailing list managers at
http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers
/
-Original Message-
From: Anas Mughal [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 5:33 PM
To: Mostafa Al-Mallawani; [EMAIL PROTECTED]
Subject: Re: [PHP
do you mean a mail server?
would the mail server of IIS handle this?
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Monday 28 January 2002 14:23, Mostafa Al-Mallawani wrote:
> > hi, does anyone know how to send mail to 19000 users using t
hi, does anyone know how to send mail to 19000 users using the mail()
function, I need to create a mailing list of this number of users and
looping on 19000 users takes up a heck of a lot of resources...any
solutions? thanks.
into it? Or it is neccessary. I know I have
>>permissions,but I might be wrong. If someone could help me I would
>>appreciate it.
>>
>>Thanks
>>
>>Al
>>case "del":
>> ### The user has comfirmed the deletion
>&
x27;t get Mozilla, Netscape, nor IE to do this. Here's my code:
METHOD="POST">
Attachment #1:
The wrapped lines do have a space in front of them.
Is this an oversight, did I miss something in the docs, or have I done
something really stupid?
-Al
--
PHP General Mail
Try searching for "javascript" and "reference" on Google for online
references. If you want a decent book, get something like "JavaScript:
The Definitive Guide" by David Flanagan, published by O'Reilly.
Regardless, pay attention to flags stating IE or Netsc
hello,
How to open a page in the same window by means of PHP or JavaScript?
Thanks
--
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 PROTECTE
I'm using manual online on php.net and use example of File uploader.
If i changed TEXT file All right!
If i changed Binary file php script answer Error!
in sources code PHP using Binary method...
And temporary subject $source_file is empty!
if i insert in PHP { echo "source: $source_file"; } and
I have one script on PHP for uploading files on ftp server.
This source code downloaded from PHP manual help (upload files)
His work not correctable. If i changed Text files for uploading on ftp
server it's work all right . if i changed Binary files to uploading (for
example logo.gif) it's don't w
701 - 761 of 761 matches
Mail list logo