* and then Dre declared
> I'm sorry about the capital letters
> and nop I'm not prepending any files at all
Can I get a look at the file?
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jack Gates wrote:
I replaced this:
$address = getenv("REMOTE_ADDR");
with this
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
and now I am getting exactly what I was trying to get.
This will work fine for networks that provide their own 'REMOTE_ADDR',
but once proxies are in the way, you will
I'm having a problem figuring out how to deal with foreign characters in
text that was copied from an MS Word document and pasted into a form field.
I'm not how sure this is getting stored in the MySQL database, but, when I
run htmlentities() on this text, each foreign character is converted into
Sorry! Chris, I meant to send this to the list.
On Saturday 04 September 2004 10:17 pm, Chris Martin wrote:
> Jack Gates wrote:
> > Every time I post to the list, I get an undeliverable on the address
> > below. Does any one else get this?
> >
> > If this address is on the list can we get it remo
Hello everyone,
I want to build a music site, all copyrights intact, and I want users to be
able to download mp3 or realplayer files using a one-click link. When they
click on a link they will simply be given a typical download window to save
that music file. How do I go about doing that and ho
Jack Gates wrote:
Every time I post to the list, I get an undeliverable on the address below.
Does any one else get this?
If this address is on the list can we get it removed?
To: [EMAIL PROTECTED]
Subject: [PHP] PHP site ?
was undeliverable due to the following reason:
[EMAIL PROTECTED] -
Gerben wrote:
hi there
I have a problem with installing PHP on my winXp with apache server using
the installer. I'm missing the sapi directory ("c:/progra~1/php/sapi/") with
in it the php4apache.dll file which apache misses.
The weird thing is that I've succesfully installed php and apache on thi
--- Matt Wondra <[EMAIL PROTECTED]> wrote:
> I'm trying to include a file from an HTTP Authenticated server
> in PHP. I have a valid username and password. Is there any way
> to remotely login and include the file?
>
> Ex:
>
> include("https://www.url.com/incl1.php";);
When allow_url_fopen is en
I use Drewmweaver's code view as a PHP IDE It allows me to manage my
site / app files as a whole (which dreamweaver does great) and the
built-in IDE (not the wyswyg) has great code hinting and the other
standard features one might look for (syntax colors, line numbers,
etc.)
Since I usually do dev
Justin French wrote:
Can anyone suggest a PHP editor/IDE for OS X other than:
- BBEdit (already using it)
- Zend Studio (it's Java, not OS X native)
What I'm hoping for is:
- some form of auto-complete text for functions/constants/etc,
- integrated testing/debugging
- integration with local install
A while back I decided I wanted a simple interactive interpreter for PHP.
So I wrote a little PHP script that essentially did a read from stdin,
and ran eval on that. Worked for most situations I was in.
I'm trying to add some more features now, namely recalling a list of commands
using the up and
It has to be in SOME file. Probably in your prepend file or one of the files that it
includes.
"Dre" <[EMAIL PROTECTED]> wrote:
believe me the FIRST line in the file is
"M. Sokolewicz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I think you didn't read all instructions we gave. O
Tried installing PEAR. But "pear" is an unknown command after the
install in my DOS box. There's no "pear.bat" file anywhere. There's an
"pear.bat_old" file but no "pear.bat".
Thank you to posters, go PEAR working after much whining.
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
I replaced this:
$address = getenv("REMOTE_ADDR");
with this
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
and now I am getting exactly what I was trying to get.
--
Jack "Rhino" Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site De
Every time I post to the list, I get an undeliverable on the address below.
Does any one else get this?
If this address is on the list can we get it removed?
To: [EMAIL PROTECTED]
Subject: [PHP] PHP site ?
was undeliverable due to the following reason:
[EMAIL PROTECTED] - User doesn't ex
Paul Waring wrote:
Tried installing PEAR. But "pear" is an unknown command after the
install in my DOS box. There's no "pear.bat" file anywhere. There's an
"pear.bat_old" file but no "pear.bat".
Last time I installed PHP on Win32, I didn't have to run any commands
to install PEAR. You just need to
Thanks for all the responses. Now I am satisfied and can leave this one
alone.
--
Jack "Rhino" Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain Registration,
VMware Workstation Software and GSX Server Software
--
PHP Gen
> Tried installing PEAR. But "pear" is an unknown command after the
> install in my DOS box. There's no "pear.bat" file anywhere. There's an
> "pear.bat_old" file but no "pear.bat".
Last time I installed PHP on Win32, I didn't have to run any commands
to install PEAR. You just need to alter your i
you could however always call:
$a->__destruct();
that would also kill $b and $c
Erik franzén wrote:
If you want to delete an object, when you have other references to it,
you must use the & operator, otherwise the object will not be killed for
all references.
I tested without the &-operator, but
> When I use the variable it shows the numbers like 192.168.10.25 (I know this
> is an internal network address, it is just for example.)
Use $_SERVER['REMOTE_HOST'] to get the hostname instead of the IP
address. This will only work if Apache has HostNameLookups enabled.
See:
http://uk.php.net/m
Jack Gates wrote:
How is osCommerce doing this?
Go here to see exactly what I am talking about:
http://wiki.oscommerce.com/docs
I am using the REMOTE_ADDR but it does not provide all the information that
osCommerce is showing.
When I use the variable it shows the numbers like 192.168.10.25 (I kno
How is osCommerce doing this?
Go here to see exactly what I am talking about:
http://wiki.oscommerce.com/docs
I am using the REMOTE_ADDR but it does not provide all the information that
osCommerce is showing.
When I use the variable it shows the numbers like 192.168.10.25 (I know this
is an i
If you want to delete an object, when you have other references to it,
you must use the & operator, otherwise the object will not be killed for
all references.
I tested without the &-operator, but that did not work
The &-operator is still important in PHP5. Look at the folling example
unsetting
On Saturday 04 September 2004 03:42 pm, Torsten Roehr wrote:
> "Matthias Bauw" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > I'm having a problem with a php application;
> >
> > I have two files: one is ccadduser wich adds users to a controlcenter
> > that I am currently desig
"Erik franzén" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can anuyone describe this error?
>
> Compile Error: E:\Source\CMAES\src\include\dom.inc.php line 67 -
> Declaration of CMAES_DOM_Node_List::item() must be compatible with that
> of CMAES_DOM_Node_List_Interface::item()
>
>
"Matthias Bauw" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having a problem with a php application;
>
> I have two files: one is ccadduser wich adds users to a controlcenter
> that I am currently designing for a website.
>
> In that ccaduserfile I call for a function checkper
> greetings
> i'm looking for good/free Knowledge Base/ FAQ system
> any recommendation ?
>
For a simple easy to use and free Knowledge Base/FAQ system I've used
ODFaq and have been quite happy with it.
http://www.oodie.com/project/odfaq/
--
PHP General Mailing List (http://www.php.net/)
To un
I did this a lot when I built my quote program for my previous company. I have all my
code at home, hence no way to give examples that I know work, however what I did was
dump the form to a php page which processed the form and then used the header.location
pieces to dump the user to the page t
thanks a lot
I will try to do this
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Dre <[EMAIL PROTECTED]> wrote:
> > I'm trying to perform a database insertion for a new record from
> > data I receive from a HTML form
> >
> > I send the data to the file containi
--- Dre <[EMAIL PROTECTED]> wrote:
> I'm trying to perform a database insertion for a new record from
> data I receive from a HTML form
>
> I send the data to the file containing the insertion script and
> insert the values using the $_POST['variable_name']
Yikes, that sounds dangerous! Are you r
Hello,
On 09/04/2004 01:27 PM, See Kok Boon wrote:
I would like to write a script to read mails directly from the mail server
and extracting the information, create "custom" auto-responders
automatically. Is this possible?
Can someone explain how the script can communicate with the mail server?
I u
Hello,
On 09/04/2004 04:50 PM, Cbharadwaj wrote:
I want to developing reports using PHP.
These reports i have to develop on MS WORD.
I have a database with multiple records
VAL 1 | VAL 2
-
VAL3 | VAL 4
-
Andrei Verovski wrote:
Hi, Jastin,
Just try Eclipse (www.eclipse.org) and PHP plugin called phpeclipse (available
at sourceforge.net). Works great on ALL platforms, including Linux, OSX and
Win.
On Saturday 04 September 2004 05:26 pm, Justin French wrote:
Can anyone suggest a PHP editor/IDE for
Make some field unique, so it wont work thats an easy solution,
there other ways..
Jason
"Dre" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to perform a database insertion for a new record from data I
> receive from a HTML form
>
> I send the data to the file containing the insertion
Can anuyone describe this error?
Compile Error: E:\Source\CMAES\src\include\dom.inc.php line 67 -
Declaration of CMAES_DOM_Node_List::item() must be compatible with that
of CMAES_DOM_Node_List_Interface::item()
// {{{ interface CMAES_DOM_Node_List
/**
*
* @access public
*/
interface CMAES_DO
Hi,
I'm trying to perform a database insertion for a new record from data I
receive from a HTML form
I send the data to the file containing the insertion script and insert the
values using the $_POST['variable_name']
every thing works fine, and the record get inserted correctly
the problem is w
I'm having a problem with a php application;
I have two files: one is ccadduser wich adds users to a controlcenter
that I am currently designing for a website.
In that ccaduserfile I call for a function checkpermission(); this
function is defined in another file called ccfunctions
When a user do
thanks Jason .. it worked
thanks again
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Saturday 04 September 2004 23:36, Dre wrote:
> > I'm trying to upload a file using a form
>
> > $base_img_dir = "http://localhost/app_images/";;
>
> The destination directory/file
Raditha Dissanayake wrote:
See Kok Boon wrote:
Hi experts,
I would like to write a script to read mails directly from the mail
server
and extracting the information, create "custom" auto-responders
automatically. Is this possible?
Start by reading about the imap functions but you cannot create
> From: "CBharadwaj" <[EMAIL PROTECTED]>
> To: "PHP List" <[EMAIL PROTECTED]>
> Sent: Saturday, September 04, 2004 2:50 PM
> Subject: [PHP] How develop reports in MS WORD?
>
>
> > Dear All,
> >
> > I want to developing reports using PHP.
> > These reports i have to develop on MS WORD.
> >
> > I hav
Is this some kind of spam? hehe. I've never seen anyone so eager to share
their work. ...Must be a trojan or something! :-)
Jim Grill
> hi dear developers,
>
>We developed a module in (php_home/ext/) with name daffodildb ,
This module will provide connectivity to DaffodilDB (A Pure Ja
From: "CBharadwaj" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Saturday, September 04, 2004 2:50 PM
Subject: [PHP] How develop reports in MS WORD?
> Dear All,
>
> I want to developing reports using PHP.
> These reports i have to develop on MS WORD.
>
> I have a database with mult
See Kok Boon wrote:
Hi experts,
I would like to write a script to read mails directly from the mail server
and extracting the information, create "custom" auto-responders
automatically. Is this possible?
Start by reading about the imap functions but you cannot create
autoresponders this way sin
Hi experts,
I would like to write a script to read mails directly from the mail server
and extracting the information, create "custom" auto-responders
automatically. Is this possible?
Can someone explain how the script can communicate with the mail server?
Thanks in advance!
Yours truly,
See Ko
On Saturday 04 September 2004 23:36, Dre wrote:
> I'm trying to upload a file using a form
> $base_img_dir = "http://localhost/app_images/";;
The destination directory/file has to be a path on the local filesystem.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software S
Hi, Jastin,
Just try Eclipse (www.eclipse.org) and PHP plugin called phpeclipse (available
at sourceforge.net). Works great on ALL platforms, including Linux, OSX and
Win.
On Saturday 04 September 2004 05:26 pm, Justin French wrote:
> Can anyone suggest a PHP editor/IDE for OS X other than:
>
>
I'm trying to upload a file using a form
the upload code I'm using is
//==
http://localhost/app_images/";;
include("db.php");
// generate unique id for use in filename
$uniq =uniqid("");
$filename = $base_img_dir.$uniq;
move_uploaded_file(
I'm sorry about the capital letters
and nop I'm not prepending any files at all
"M. Sokolewicz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> jeez.. stop using so many capital letters... it's considered as
> "yelling" or "shouting" when you do that.
>
> Are you prepending any file
"Kioto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all I have create this function to delete directory and file but i
> have no result .
> When i call the function i don't receive any errors by PHP.
> I have test this function with PHP 4.3.6 and Apache for NT version 1.3.1
> o
jeez.. stop using so many capital letters... it's considered as
"yelling" or "shouting" when you do that.
Are you prepending any file? (php.ini/.htaccess file.prepend setting)
Dre wrote:
YES .. THAT WAS THE PROBLEM
EVEN IF UR REPLY CAME A LITTLE LATE .. BUT THANKS ..
THE PHP was not reading my ph
hi there
I have a problem with installing PHP on my winXp with apache server using
the installer. I'm missing the sapi directory ("c:/progra~1/php/sapi/") with
in it the php4apache.dll file which apache misses.
The weird thing is that I've succesfully installed php and apache on this
same machi
YES .. THAT WAS THE PROBLEM
EVEN IF UR REPLY CAME A LITTLE LATE .. BUT THANKS ..
THE PHP was not reading my php.ini and it was using default settings
"Mike Ford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 04 September 2004 10:15, Dre wrote:
>
> > > > Warning: session_start():
Can anyone suggest a PHP editor/IDE for OS X other than:
- BBEdit (already using it)
- Zend Studio (it's Java, not OS X native)
What I'm hoping for is:
- some form of auto-complete text for functions/constants/etc,
- integrated testing/debugging
- integration with local install of PHP
- anything el
On Fri, 3 Sep 2004 21:48:56 +0100, Mark Clarkstone <[EMAIL PROTECTED]> wrote:
> Hi, I'm making an MSN bot in PHP & the only way to receive data is to
> loop over each socket, the only problem is that while its looping its
> stopping the rest of the script from being run at the same time.
> Is there
Hi guys
well I've been trying with named sessions, and nothing, then I did a pop up
window to show me the $_SESSION content and when I reload that window a
ramdom number of times, then the session expires and the $_SESSION array
disappears!!! what can be this due to?? Im using PHP 4.3.3 and if you
someone please unsubscribe this guy.
Manoj Kumar wrote:
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in p
HE with 1 mail we understand...
;=)
On Sat, 4 Sep 2004 12:36:11 GMT, Manoj Kumar <[EMAIL PROTECTED]> wrote:
> hi dear developers,
>
> We developed a module in (php_home/ext/) with name daffodildb , This
> module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . B
Hi all I have create this function to delete directory and file but i
have no result .
When i call the function i don't receive any errors by PHP.
I have test this function with PHP 4.3.6 and Apache for NT version 1.3.1
on Windows Xp Professional
I write this code :
error_reporting(E_ALL);
func
Hi, I'm making an MSN bot in PHP & the only way to receive data is to
loop over each socket, the only problem is that while its looping its
stopping the rest of the script from being run at the same time.
Is there anyway I can Process each socket without stopping the script,
I'm currently using
$
believe me the FIRST line in the file is wrote in message
news:[EMAIL PROTECTED]
> I think you didn't read all instructions we gave. One of them was to
> remove all spaces and/or newlines BEFORE the first file, to save it and try again.
>
> anything before the headers are always sent before the
Manoj Kumar wrote:
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will av
Manoj Kumar wrote:
hi developers,
Could anybody tell me How to include a datbase extention module in hp
source , so that will be available with php source. What is procedure to include
it on php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi dear developers,
We developed a module in (php_home/ext/) with name daffodildb , This module
will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what
is procedure to include a new module in php source(php cvs ) , so it will available
free to
hi developers,
Could anybody tell me How to include a datbase extention module in hp
source , so that will be available with php source. What is procedure to include
it on php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.com
--
PHP Gener
hi developers,
Could anybody tell me How to include a datbase extention module in hp
source , so that will be available with php source. What is procedure to include
it on php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.com
--
PHP Gener
hi developers,
Could anybody tell me How to include a datbase extention module in hp
source , so that will be available with php source. What is procedure to include
it on php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.com
--
PHP Gener
hi developers,
Could anybody tell me How to include a datbase extention module in hp
source , so that will be available with php source. What is procedure to include
it on php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.com
--
PHP Gener
I think you didn't read all instructions we gave. One of them was to
remove all spaces and/or newlines BEFORE the first
anything before the
PHP starts processing
PHP encounters spaces and/or newlines
PHP sends headers to the browser
PHP sends those spaces and/or newlines to the browser
PHP not
Cbharadwaj wrote:
Hi,
I am asked to generate reports on MS WORD.
OFFICE 2000 is installed in mechine.
when I am calling a PHP page containin this code.
$word = new COM("word.application") ;
I am getting following error.
Warning: (null)(): Unable to obtain IDispatch interface for CLSID
{000209FF-00
Hi,
I am asked to generate reports on MS WORD.
OFFICE 2000 is installed in mechine.
when I am calling a PHP page containin this code.
$word = new COM("word.application") ;
I am getting following error.
Warning: (null)(): Unable to obtain IDispatch interface for CLSID
{000209FF---C000-00
On 04 September 2004 10:15, Dre wrote:
> > > Warning: session_start():
> open(/tmp\sess_2984f6d378560d0882f37728dbe1defc,
> > > O_RDWR) failed: No such file or directory (2) in C:\Program
> > > Files\Apache Group\Apache2\htdocs\ELBA\logme_in.php on line 3
> > > the session.save_path parameter in
thank u all ..
I really did all of what u said but nothing worked ! which was
so so strange
The problem was that the php.ini file I have got corrupted or something that
the php.exe couldn't parse all of its values
Any way thanks again ..
Now I have another error with the same file and
* and then M. Sokolewicz declared
> also, please remember you need to restart your webserver to actually
> have PHP re-read the php.ini file. If you don't, then nothing will
> change in run-time, even though the php.ini file might have changed *a lot*
heheheh! that's most probably it!
--
Nick Wilson wrote:
* and then Dre declared
first of all thanks for ur reply
you're most welcome
there are no white spaces before the
See the other reply, that sounds like it.. i was unaware of this...
is there a special format for writing paths in the php.ini file .. as I do
believe that I
hi everybody,
Could anybody tell me How to include a datbase extention module in php
source , so that will be available with php source. What is procedure to include it on
php source ..It's very urget , plz suggest me..
Reagards,
Manoj Kr. Sheoran
www.daffodildb.xom
--
PHP Gen
* and then Dre declared
> first of all thanks for ur reply
you're most welcome
> there are no white spaces before the and I do have ONLY one php.ini file in the whole system drive (I'm sure of
> this)
See the other reply, that sounds like it.. i was unaware of this...
> is there a special
thanks ..I won't use the session_register() again
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Dre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > session_register('uname');
> > $_SESSION['uname'] = $username;
>
> Hi Dre,
>
> Nick already answ
first of all thanks for ur reply
then ..
there are no white spaces before the wrote in message
news:[EMAIL PROTECTED]
>
> * and then Dre declared
> > Warning: session_start():
open(/tmp\sess_2984f6d378560d0882f37728dbe1defc,
> > O_RDWR) failed: No such file or directory (2) in C:\Program Files
if mysql and javascript is on topic for for this 'open source' general
list i guess the same can be said about msword.
CBharadwaj wrote:
Dear All,
I want to developing reports using PHP.
These reports i have to develop on MS WORD.
I have a database with multiple records
VAL 1 | VA
"Dre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> session_register('uname');
> $_SESSION['uname'] = $username;
Hi Dre,
Nick already answered your question so just a short note:
you should not use session_register() with your PHP version anymore, so just
delete the first of the
* and then Dre declared
> Warning: session_start(): open(/tmp\sess_2984f6d378560d0882f37728dbe1defc,
> O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache
> Group\Apache2\htdocs\ELBA\logme_in.php on line 3
Check your php.ini for session.save_path=
Im not sure where the te
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
ht
Hi
I'm trying to make a small login system on my website, I'm using
Apache 2.0.49 for testing locally
and PHP 4.3.4
on MS Windows XP Pro.
the login script is in the file logme_in.php shown below
//
//
Dear All,
I want to developing reports using PHP.
These reports i have to develop on MS WORD.
I have a database with multiple records
VAL 1 | VAL 2
-
VAL3 | VAL 4
VAL 5 | VAL 6
H
89 matches
Mail list logo