Hi List,
Hi have the following (below) session code at the top of each page.. The
'print_r' (development feature only) confirms that on one particular page I
do log out as the session var = (). but, on testing that page via the URL I
still get to see the page and all its contents - session
On Aug 12, 2013, at 4:27 AM, Clifford Shuker clifford.shu...@ntlworld.com
wrote:
Hi have the following (below) session code at the top of each page.. The
'print_r' (development feature only) confirms that on one particular page I
do log out as the session var = (). but, on testing that page
[snip]
y u no help me !! i have white page withg my php codes in my page !
help please !! asap please i put codes in my file and is white
[/snip]
You put code in your e-mail? Or code in your web page? If it is your web page
you need to start a new thread and post the code that you used
, 2010 21:20
Subject: [PHP] PDO working via Apache but not at the command line?
To: p...@lists.php.net, php-general@lists.php.net
I have the following very simple script that uses PDO/FreeTDS to connect
to a mssql server. I have PHP Version 5.3.3 running on Linux under
Apache. When I view
On 10/18/2010 02:17 PM, a...@ashleysheridan.co.uk wrote:
It's most likely because both cli and web modules are using different
php.ini config files. See what the output of a phpinfo() call in both
browser and command line.
I didn't even think about it parsing different php.ini files. Checking
Things to check:
- Environment: what env vars are set or not set in your Apache vs. CLI
- Owner: are you running as the same user as your web server?
- Do you or the web server have some kind of rc file that might
impact how things run?
Suggestion:
Use sudo -u webserverusername -s to run a
On 10/18/2010 06:27 PM, Wez Furlong wrote:
Things to check:
- Environment: what env vars are set or not set in your Apache vs. CLI
- Owner: are you running as the same user as your web server?
- Do you or the web server have some kind of rc file that might impact
how things run?
Wez you're
Sounds like the error message SQLSTATE[HY000] Unable to connect:
Adaptive Server is unavailable or does not exist (severity 9) could
be more informative, but I think this is returned by FreeTDS, not PDO.
On Mon, Oct 18, 2010 at 7:35 PM, Scott Baker bak...@canbytel.com wrote:
On 10/18/2010 06:27
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote:
From: hack988 hack988 hack...@dev.htwap.com
Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo
To: Fred Silsbee fredsils...@yahoo.com
Cc: php-general@lists.php.net
Date: Monday, August 31, 2009, 6:35 AM
Please
: Re: [PHP] windows 5.2.10 PHP not working with phpinfo
To: Fred Silsbee fredsils...@yahoo.com
Cc: php-general@lists.php.net
Date: Monday, August 31, 2009, 6:35 AM
Please set
log_error=on,error_reporting=E_ALL,error_log=syslog in
php.ini and then,see error detail in syslog.
2009/8/31 Fred
/09, hack988 hack988 hack...@dev.htwap.com wrote:
From: hack988 hack988 hack...@dev.htwap.com
Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo
To: Fred Silsbee fredsils...@yahoo.com
Cc: php-general@lists.php.net
Date: Wednesday, September 2, 2009, 6:03 AM
Use Event Viewer and log
On Mon, 2009-08-31 at 02:11 +0200, Ralph Deffke wrote:
use wamp 2 !!
http://www.wampserver.com/
no easier way under windows
ralph_def...@yahoo.de
Fred Silsbee fredsils...@yahoo.com wrote in message
news:43633.64942...@web59909.mail.ac4.yahoo.com...
I got 5.3 working but found out
thanks! I am new to this science! where is syslog? XP Prof event log?
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote:
From: hack988 hack988 hack...@dev.htwap.com
Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo
To: Fred Silsbee fredsils...@yahoo.com
Cc: php
I looked high and low but no syslog
I am currently working under XP Prof SP3
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote:
From: hack988 hack988 hack...@dev.htwap.com
Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo
To: Fred Silsbee fredsils...@yahoo.com
Cc
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in
php.ini and then,see error detail in syslog.
2009/8/31 Fred Silsbee fredsils...@yahoo.com:
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I had to return to 5.2.8 but I found no
hack988 hack988 wrote:
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in
php.ini and then,see error detail in syslog.
2009/8/31 Fred Silsbee fredsils...@yahoo.com:
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I had to
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I had to return to 5.2.8 but I found no 5.2.8
so I am trying 5.2.10
_problem:
under IE8:
http://72.47.28.128:8080/phpinfo.php
with:
?php
use wamp 2 !!
http://www.wampserver.com/
no easier way under windows
ralph_def...@yahoo.de
Fred Silsbee fredsils...@yahoo.com wrote in message
news:43633.64942...@web59909.mail.ac4.yahoo.com...
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I
what options are there to do the following:
1. receive request from client (including post data)
2. do some work, update the db, prepare output for client
3. send output and finish up with the client
4. do some more work that might take considerable time, updating the db some
more
it would be
]
Sent: Wednesday, May 27, 2009 6:27 AM
To: php-general@lists.php.net
Subject: [PHP] continue working after finishing up with the http client
what options are there to do the following:
1. receive request from client (including post data)
2. do some work, update the db, prepare output for client
3
the http
transition and then continuing on to do the cache update work?
-Original Message-
From: Tom Worster [mailto:f...@thefsb.org]
Sent: Wednesday, May 27, 2009 6:27 AM
To: php-general@lists.php.net
Subject: [PHP] continue working after finishing up with the http client
what
2009/5/27 Tom Worster f...@thefsb.org:
without getting into whether or not this cache design makes sense, my
question in this example is: what options are there for ending the http
transition and then continuing on to do the cache update work?
You either continue processing then-and-there
...@thefsb.org]
Sent: Wednesday, May 27, 2009 7:14 AM
To: bruce; php-general@lists.php.net
Subject: Re: [PHP] continue working after finishing up with the http
client
On 5/27/09 9:50 AM, bruce bedoug...@earthlink.net wrote:
exacly what are you trying to accomplish? is this in a web app? has the
user
hit
[mailto:f...@thefsb.org]
Sent: Wednesday, May 27, 2009 7:14 AM
To: bruce; php-general@lists.php.net
Subject: Re: [PHP] continue working after finishing up with the http
client
On 5/27/09 9:50 AM, bruce bedoug...@earthlink.net wrote:
exacly what are you trying to accomplish
On 5/27/09 10:33 AM, David Otton phpm...@jawbone.freeserve.co.uk wrote:
2009/5/27 Tom Worster f...@thefsb.org:
without getting into whether or not this cache design makes sense, my
question in this example is: what options are there for ending the http
transition and then continuing on to
Is there a straightforward way (or, heck, any way) of placing mixed
html/text content into xpath-specified nodes using any of PHP's XML
tools?
So far, I've tried SimpleXML and the DOM and things aren't coming out well.
SimpleXML:
/* $filename contains path to valid XML file, $xpathxpr
Weston C wrote:
Is there a straightforward way (or, heck, any way) of placing mixed
html/text content into xpath-specified nodes using any of PHP's XML
tools?
So far, I've tried SimpleXML and the DOM and things aren't coming out well.
Not sure if it is of any use to you, I don't use XPath at
On Thu, Mar 12, 2009 at 12:47 AM, Clancy clanc...@cybec.com.au wrote:
On Wed, 11 Mar 2009 13:03:19 -0500, halip...@gmail.com (haliphax) wrote:
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Clancy wrote:
It is my understanding that when you open a page the PHP
Clancy wrote:
It is my understanding that when you open a page the PHP server looks for
index.php in the
site root directory, and loads it. As a result the working directory of the
page will be
the root directory of the site. I have always worked on this assumption, and
it has
always
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Clancy wrote:
It is my understanding that when you open a page the PHP server looks for
index.php in the
site root directory, and loads it. As a result the working directory of the
page will be
the root directory
On Wed, 11 Mar 2009 13:03:19 -0500, halip...@gmail.com (haliphax) wrote:
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Clancy wrote:
It is my understanding that when you open a page the PHP server looks for
index.php in the
site root directory, and loads it. As
On Thu, Mar 12, 2009 at 11:47 AM, Clancy clanc...@cybec.com.au wrote:
Something Stewart said the other day made me realise that there was a
fundamental error in
the way I was thinking about this question. I had been thinking that
opendir (.) opened
the root directory, and that paths such as
On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi all,
I am busy trying to figure out how to get the last working day in a month.
I was wondering if there was a script already written, but this is what I
imagine should work:
Get the current day and see if it's the
Hi all,
I am busy trying to figure out how to get the last working day in a month.
I was wondering if there was a script already written, but this is what I
imagine should work:
Get the current day and see if it's the last day of the month. If its true
check if it's a Saturday or Sunday if
-Original Message-
From: Andrew Ballard [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2008 8:32 AM
To: Angelo Zanetti
Cc: php-general@lists.php.net
Subject: Re: [PHP] Last working day of a month
Importance: Low
On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL
Angelo Zanetti schreef:
Hi all,
I am busy trying to figure out how to get the last working day in a month.
I was wondering if there was a script already written, but this is what I
imagine should work:
Get the current day and see if it's the last day of the month. If its true
check if
you need a process with a few simple steps.
1. find the last day of the month, this is quite easy ... google
gives answers
as does the manual. e.g.:
http://lutrov.com/blog/php-last-day-of-the-month-calculation/
2. determine if this is a week day. if yes go to step three else
'roll the
We recently moved to a new server. Our code that would send out emails is no
longer sending emails.
There are no messages in the httpd logs associated with running the email.php
files.
The email scripts worked on the old server. Is there a special setting in
php.ini for sending emails in php or
Marc Fromm wrote:
We recently moved to a new server. Our code that would send out emails is no
longer sending emails.
There are no messages in the httpd logs associated with running the email.php
files.
The email scripts worked on the old server. Is there a special setting in
php.ini for
:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:55 PM
To: Marc Fromm
Cc: php-general@lists.php.net
Subject: Re: [PHP] send emails in php not working
Marc Fromm wrote:
We recently moved to a new server. Our code that would send out emails is no
longer sending emails.
There are no messages
Marc Fromm wrote:
You need a local mail server.
Sendmail 8.13.8-2.el5 is installed on the new server and the old server
(sendmail-8.13.8-1.fc5).
echo 'test' | mail -s 'test' [EMAIL PROTECTED]
The above line sends on email on the old server but not the new server.
Is sendmail running (ps
Colin Guthrie wrote:
snip /
I know I definitely want to do XSLT stuff and for that I need to use
DomDocument (I'm sure there are other ways but this works fine for me so
far!).
Fairly unknown tidbit: you can pass SimpleXML objects to the XSL
extension. XSL will use the document from it.
Rob wrote:
Fairly unknown tidbit: you can pass SimpleXML objects to the XSL
extension. XSL will use the document from it.
Nice to know... /me will have to experiment!
if ($xml instanceof SimpleXMLElement)
{
$rv = new DOMDocument('1.0', 'utf-8');
$node =
Rob wrote:
It had to have been for some other reason as the return type for the
above example is a DOMDocument. A raw DOMNode is *NEVER* returned from
the DOM extension. It is simply a base class for most of the DOM
classes, such as DOMDocument.
I think I just didn't do the -ownerDocument or
Colin Guthrie wrote:
Rob wrote:
if ($xml instanceof SimpleXMLElement)
{
/* No copying, just use the existing XML tree directly */
$node = dom_import_simplexml($xml);
return $node-ownerDocument;
}
Yeah I had that initially too but that did not produce a DOMDocument
Object but a
Robert Cummings wrote:
I still use PHP4 so I wrote my own XML handling class that wraps the
xml_xxx() series of functions. Haven't had a problem with it. Makes
working with XML very easy since it uses a path string syntax to
focus/access nodes and attributes:
Cheers for that.
I know I
After changing my php folder from e:\php to f:\php php does not work anymore
in my webserver. I found out regsvr32 phpisapi.dll gives an error. I
remember having a similar problem but am not sure what and how.
Anyone know how to fix?
--
PHP General Mailing List (http://www.php.net/)
To
Greetings,
I am a very novice user of PHP. I have run PHP 4 on my Powerbook for about
three years. When I installed Mac OS 10.3.9, PHP does not work. I forgot how
to get it running again.
Can anyone help me with this?
Thanks,
--
Steve Marquez
On May 31, 2007, at 5:43 PM, Richard Lynch wrote:
On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Here is the code I am using to display the results of the search:
echo ('table border=1');
echo
Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Here is the code I am using to display the results
On Thu, 2007-05-31 at 15:25 -0400, Jason Pruim wrote:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Here is the code I am using to display the
Your problem is this:
$result_row[] = mysql_query($query) or die(mysql_error());
...you are assigning a query to a variable. What you need to do is
something like this:
$result = mysql_query($query) or die(mysql_error());
while ($result_row = mysql_fetch_array($result)) {
.
}
On May 31, 2007, at 3:27 PM, Davi wrote:
Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Here is
Em Quinta 31 Maio 2007 16:38, Jason Pruim escreveu:
while($result_row = mysql_fetch_array($result) {
Worked perfectly after adding a closing ) Thanks for the tip!
Forgive me for that!!! #'_'#
I *always* forget the closing )... =P
--
Davi Vidal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote:
Hi Everyone, I am attempting to setup a search field on a database
application I'm dinking around with and running into problems that
I'm hoping someone might be able to shed some light on.
Here is the code I am using to display the results
OOPS!... typo
Please replace implements with extends:
class Child extends Parent
Sorry about that
Jeff Taylor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey all, got a slight problem, where for some reasons my variables dont
seem
to be getting stored in the child class:
I forgot to mention that I have some __construct operations in the parent
class, and I want to add to those (and overwrite sometimes) in the child
class __construct
i.e Parent class __construct
$this-foo = 'Bar';
$this-foo2 = '10';
Child class __construct
# [EMAIL PROTECTED] / 2007-03-20 19:14:17 +1030:
Jeff Taylor [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
Hey all, got a slight problem, where for some reasons my variables
dont seem to be getting stored in the child class:
e.g
class Parent
{
$private type;
Jeff Taylor wrote:
Hey all, got a slight problem, where for some reasons my variables dont seem
to be getting stored in the child class:
e.g
class Parent
{
$private type;
public function __construct()
{
}
public function GetType()
{
return $this-type;
}
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are
Benjamin Adams wrote:
I'm trying to parse a config file, example of the config is:
[fred]
id=8782
section=s1
years=4
download1=mirror1
[frank]
id=8372
section=s3
years=4
download1=mirror12
download2=mirror2
.
.
.
I want to parse this so I can only call frank or freds data and move id,
On Tue, 2006-02-21 at 00:14 +0100, Jens Kleikamp wrote:
Benjamin Adams wrote:
I'm trying to parse a config file, example of the config is:
[fred]
id=8782
section=s1
years=4
download1=mirror1
[frank]
id=8372
section=s3
years=4
download1=mirror12
download2=mirror2
.
Hello,
I am in the process of integrating my site with UPS' Online Tools.
Specifically Address Validation, and Rates and Service.
The problem I'm seeing is that it's quite slow. I'm doing all my tests
on the test server and thought that querying the test server would be
the reason for the
Robert Sossomon wrote:
I need to work with 3 different arrays where I get the value of the same
key for all 3 (probably a term for this one).
The three arrays are:
field[]
type[]
char[]
and each will be assigned via another form.
What will happen is at the end of the form I want to be able to
!--SNIP --
$fields = $_POST[field];
foreach ($fields as $field)
{
$currentType = next($type);
$currentChar = next($char);
// Do the stuff
}
Thanks!! I knew I was missing something simple in doing this!
Robert
--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development
Because of the problems working with the email version of the php lists,
I'm forced to use the newgroup interface.
Up until recently I could happily get up in the morning and 'Download
Now' in Mozilla so I can scan messages quickly locally.
Since xmas the 'Download Now' simply gets the first
With excel, export your exel file to CSV (by doing save as...) then you can
import your CSV file to mysql using the phpmyadmin import interface
On Tuesday 02 November 2004 04:11 am, Sejati Opreker wrote:
Yes, I'm planning to work with MySQL, but the problem
accour from the first time, 'cause
[snip]
With excel, export your exel file to CSV (by doing save as...) then you
can
import your CSV file to mysql using the phpmyadmin import interface
[/snip]
http://search.cpan.org/src/JMCNAMARA/Spreadsheet-WriteExcel-0.37/WriteEx
cel/doc/WriteExcel.html
There is a PHP version
--
PHP General
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it to Excel 'coz I need it to report it
in Excel format,
if you are on windows you could use a com object.
if you have access to perl, you could use
Matt M. wrote:
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it to Excel 'coz I need it to report it
in Excel format,
if you are on windows you could use a com object.
if you have access to perl, you could use
I think the easiest way is to store your data in MySQL and then create a DSN
via MyODBC and connect to your spreadsheet.
Matt M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it
Yes, I'm planning to work with MySQL, but the problem
accour from the first time, 'cause the source is in
Excel file, is MySQL able to read the CVS format ?,
and can you please show me some PHP script that make
outputs the contents of report to a CSV from MySQL ?
--- Ben Ramsey [EMAIL PROTECTED]
Hi,
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it to Excel 'coz I need it to report it
in Excel format,
Thx
___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
On Monday 01 November 2004 02:58 am, Sejati Opreker wrote:
Hi,
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it to Excel 'coz I need it to report it
in Excel format,
With exel, export your exel file to CSV (by doing save as...) then you
On Monday 01 November 2004 02:58 am, Sejati Opreker wrote:
Hi,
Can PHP work with Excel files as database ?
If not, how can I conver it to MySQL format and
reconvert it to Excel 'coz I need it to report it
in Excel format,
Thx
With exel, export your exel file to CSV (by doing save as...)
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2 installed on
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2
--- John Holmes [EMAIL PROTECTED] wrote:
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of
its
dependencies including PHP and (I think) mod_php.
PHP
doesn't seem to be working though, as I always end
up
looking at
On Sunday 15 August 2004 07:45, Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a
, but
everything except PHP is working great. This is the
absolute last thing standing in the way of going live.
When I see the raw code I am hitting apache2 as apache
is not running.
The only reason I need PHP is squirrelmail. Is
mod_php necessary in this situation?
- Grant
, but
everything except PHP is working great. This is the
absolute last thing standing in the way of going live.
That's a good idea. Like I said unless you know what you're doing having both
apaches installed is not a very good idea.
When I see the raw code I am hitting apache2 as apache
is not running
Hi there,
I am trying to install following cron job:
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php
The script works, if I run this php /home... line manually it works out, but
it does not automaticaly at 6 am as supposed.
I do also see in /var/log/messages that the cron job
[snip]
I am trying to install following cron job:
0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php
The script works, if I run this php /home... line manually it works
out, but
it does not automaticaly at 6 am as supposed.
I do also see in /var/log/messages that the cron job
On Thursday 20 May 2004 11:35 am, Jay Blanchard wrote:
At the command line type which php and it will return the full path to
php. Modify your line in the crontab with the full path...
0 6 * * * /usr/local/bin/php
/home/www/project/app_cron/follow_up_new_members.php
I always put the
It looks like that cron line is making it so that the command runs as the
user php...
so, you should check if that user has permission to run the script.
Tim.
At 08:33 AM 5/20/2004, Merlin wrote:
Hi there,
I am trying to install following cron job:
0 6 * * * php
Make sure you have the dll or so loaded.
mssql_connect(IP#, username, password);
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Hello,
How can we connect to MS-SQL Server ?
What tools ( where can we download ) must be installed ?
Thank a lots.
PS : the php programs under
Chris De Vidal [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can anyone recommend some template engines? Or tips on using PHP to parse
an HTML doc, replacing it with real data?
You could also try TemplateTamer, and I would be glad to help you out if
with it if needed.
rush
--
The php installer doesn't do everything for a windows installation.
You'll need to edit php.ini httpd.config for apache, as described in
the installation guide.
Raditha Dissanayake wrote:
Yes sounds like you have not read the installation guide.
Mark Mark wrote:
I am running Apache 1.3.29
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work.
Then, I install the php installer and and copied the windows binary files. I followed
the instruction to run as a module and I even uninstalled the php files and tried to
run PHP as just a CGI binary, both
Yes sounds like you have not read the installation guide.
Mark Mark wrote:
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even
Did you try file(); ?
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
Tony [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
hi,
i have problem with writing a reading to file
i want to write emails in files. like this
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL
I'm new to php,
and i tried file() no luck
$lines = file('$filename');
foreach ($lines as $line_num = $line) {
print (option value=\$line\$line/option);
}
thanx for the help
Dvdmandt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Did you try file(); ?
--
// DvDmanDT
MSN:
I use to do this:
$lines=file($filename);
$num_lines=count($lines);
for($i=0;$i$num_lines;$i++)echo 'option
value='.$lines[$i].''.$lines[$i].'/option';
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
Tony [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
I'm new to
tony wrote:
I'm new to php,
and i tried file() no luck
$lines = file('$filename');
foreach ($lines as $line_num = $line) {
print (option value=\$line\$line/option);
}
$lines = file ( $filename );
$size = sizeof ( $lines );
for ( $i = 0; $i $size; $i++ ) {
echo ( 'option value=' .
Hi,
A bit confused here... this is my programs logic:
if(multipleProducts==1)
{include multiple_products_looping_code.php;}
else {include single_products_code.php;}
I am doing the above because some of the code is pretty big and it makes
life simlier
if I just add the code when I need it.
Only
From: Ryan A [EMAIL PROTECTED]
Do I have to start and end the included files with ?php ? ?
Yes. One day you'll learn to spend the two seconds trying this instead of
asking the list. I'll be so proud of you then! ;)
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
Hey,
Thanks for the very informative reply but I did try itproblem is, it
seems to work with and without...thats why the confusion.
I have one program like the one i outlined and the second one, like this:
some html code goes here
some output stuff goes here
something ? php stuff?
something
From: Ryan A [EMAIL PROTECTED]
Thanks for the very informative reply but I did try itproblem is, it
seems to work with and without...thats why the confusion.
I have one program like the one i outlined and the second one, like this:
some html code goes here
some output stuff goes here
1 - 100 of 176 matches
Mail list logo