Hi,
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10a=1b=2c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1b=2c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond%{REQUEST_FILENAME} !-d
RewriteCond
It might be easier to do something like
Files view
ForceType application/x-httpd-php
/Files
Then you could have your url
http://mycompany.com/view/10/?a=1b=2c=3
You can do the same thing with / but the scope ends up pretty big and
creates a lot of extra unnecessary processing.
-Ed
Dear all Gurus,
I have read little manul from www.php.net
I want to create web based firewall with php+iptables . Can any one give
me some documentation or guides or Examples ??I am using redhat linux
..all things are installed.
I have little understood that i need to use shell_exec and exec to
Hi, I realize this isnt specificaly related to php, but most php
developers are familiar with this.
My website uses an index.php file to load all content with a template,
using urls like so:
http://www.foo.com/index.php?page=splash.html
In the same directory, there is a file called
[snip]
On Wed, 11 Aug 2004 18:20:23 -0400, Lukasz Karapuda
[EMAIL PROTECTED] wrote:
Why I chose to reply to your email is because PHP is not usually used
for
the development of more complex functionality like the Web site module
that
we have developed.
I beg to differ. Many large and complex
[snip]
struggling with the following:
I have an URL
www.mycompany.com/index.php?id=10a=1b=2c=3
What I want to do is using mod_rewrite have
www.mycompany.com/10/?a=1b=2c=3
Have tried the following rewrite rules in .htaccess
RewriteEngine on
RewriteCond%{REQUEST_FILENAME} !-d
RewriteCond
Raisinlove a écrit :
Hi, I realize this isnt specificaly related to php, but most php
hi
developers are familiar with this.
My website uses an index.php file to load all content with a template,
using urls like so:
http://www.foo.com/index.php?page=splash.html
In the same directory, there is a
[snip]
My website uses an index.php file to load all content with a template,
using urls like so:
http://www.foo.com/index.php?page=splash.html
In the same directory, there is a file called splash.html, but what I
would like to do is that if the source file is called, the php file
would load
A simple redirection using meta refresh in the html file would work
meta http-equiv=refresh
content=1;url=http://www.foo.com/index.php?page=splash.html;
This isn't what I want since (I should probably have specified) the html
files contain no headers. The header is generated by the php file.
Hi all, that's my first question here, I'm not subscribed.
I'm tring to connect a local DB (Apache+sqlserver2K), but when I execute this
simple example:
?php
$conectID = mssql_connect(,SA,);
mssql_select_db(Northwind);
$result=mssql_query(select * from products,$numero );
while
[snip]
Hi all, that's my first question here, I'm not subscribed.
I'm tring to connect a local DB (Apache+sqlserver2K), but when I execute
this
simple example:
?php
$conectID = mssql_connect(,SA,);
mssql_select_db(Northwind);
$result=mssql_query(select * from products,$numero );
while
[A-Za-z0-9] will only match one character.
Try this :
RewriteEngine on
RewriteRule [A-Za-z0-9]+\.html$ /index.php?page=$1
Ah, good point there. Thanks.
However, I'm still experiencing problems displaying any page contained
within the folder which holds this htaccess file. I get a 403 Forbidden
I'm using a hell of a lot of dates in my databases and wondered if it was
possible to change the date format in my databases from -00-00 to:
00-00-...?
Has anyone else managed to do this or use any workarounds I could use
perhaps...?
I'm just getting a little hacked of having to explode
On Thu, 12 Aug 2004 14:19:07 +0200, in php.general you wrote:
[A-Za-z0-9] will only match one character.
Try this :
RewriteEngine on
RewriteRule [A-Za-z0-9]+\.html$ /index.php?page=$1
$1 would be a backreference, but there are no capturing parenthesis.
RewriteRule ([A-Za-z0-9]+\.html)$
[snip]
I'm using a hell of a lot of dates in my databases and wondered if it
was
possible to change the date format in my databases from -00-00 to:
00-00-...?
Has anyone else managed to do this or use any workarounds I could use
perhaps...?
I'm just getting a little hacked of having to
Hi Harlequin,
Harlequin wrote:
[...]
I'm just getting a little hacked of having to explode the damn things every
time I use them.
You EXPLODE them??
When you want it human readable why not simply
preg_replace(/(\d{4})-(\d{2})-(\d{2})/, $3-$2-$1 [*], $input);
it?
or preg_replace it to something
Why not just write a simple function in php to change your date around for
you? A function in a utility class perhaps?
-Brent
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: Harlequin [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 7:39 AM
Subject:
Stephan Fiedler wrote:
Hi Harlequin,
Harlequin wrote:
[...]
I'm just getting a little hacked of having to explode the damn things
every
time I use them.
You EXPLODE them??
When you want it human readable why not simply
preg_replace(/(\d{4})-(\d{2})-(\d{2})/, $3-$2-$1 [*], $input);
it?
or
On Thu, 12 Aug 2004 20:06, Harlequin wrote:
I'm using a hell of a lot of dates in my databases and wondered if it was
possible to change the date format in my databases from -00-00 to:
00-00-...?
Has anyone else managed to do this or use any workarounds I could use
perhaps...?
Hi,
How can I get a unix timestamp of the current timezone, rather than GMT
as supplied by time()?
---
Justin French
http://indent.com.au
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joel n.solanki wrote:
Dear all Gurus,
I have read little manul from www.php.net
I want to create web based firewall with php+iptables . Can any one give
me some documentation or guides or Examples ??I am using redhat linux
You are really getting into the deep end if you are starting off with
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4 second delay is still there.
The browser hits the page, then there is a delay on 1.4 seconds before
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4 second delay is still there.
The browser hits the page, then there is a delay on 1.4 seconds before
Jay Blanchard wrote:
2. I just almost cannot bring myself to say it, but this relates to PHP
how?
oh boy, you are going to get a heap of hate mail for saying that.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/
On Sun, Aug 08, 2004 at 03:29:18PM -0500, AJL wrote:
On Tue, Aug 03, 2004 at 10:04:11PM -0500, AJL wrote:
I ran into so many problems trying to set this up that I thought I'd
post my notes to hopefully save others some trouble.
I found most of the information I needed at:
On 12 August 2004 14:07, Justin French wrote:
Hi,
How can I get a unix timestamp of the current timezone, rather than
GMT as supplied by time()?
Sorry, but this question makes no sense to me. A timestamp is absolute and
is always in GMT, taking no account of timezones -- that's just the way
$query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2;
while($row2 = mysql_fetch_array($query4)) {
//print array
}
this will print whole array. i just want to print a row at a time and it should be in
the loop because i am printing other things as well. can you tell me how to
On Thursday 12 August 2004 21:06, Justin French wrote:
How can I get a unix timestamp of the current timezone, rather than GMT
as supplied by time()?
What are you trying to solve? The unix timestamp is based off GMT (UTC). All
calculations involving such timestamps will be assuming GMT. Thus
On Thursday 12 August 2004 21:20, Deepak Dhake wrote:
$query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2;
while($row2 = mysql_fetch_array($query4)) {
//print array
}
this will print whole array. i just want to print a row at a time and it
should be in the loop because i
Jay Blanchard wrote:
snip
a. Have you sent this to an Apache list?
2. I just almost cannot bring myself to say it, but this relates to PHP
how?
Didn't you get the memo? To be PC, we now have to answer all questions
releated to php or not. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
Saqib,
We have been able to get Siteminder v5.X to work on Apache 2.0.50 with
PHP 5.0.0.. There really wasn't too much hassling with it, but we
did have to get the Siteminder 5.X hotfix for Linux though.
Let me know what kind of trouble you are running into, and I'll try to
help you out.
-Sam
Okay... I've done this before but can't get it working now. I've got
PHP5 working correctly, but I'm trying to load the MySQL php_mysql.dll
file. I'm using Apache 1.3 on Windows XP.
No matter what I use for extension_dir in php.ini, it can't seem to find
the file. An error dialog will pop up
On Thursday 12 August 2004 21:37, John Nichel wrote:
Jay Blanchard wrote:
snip
a. Have you sent this to an Apache list?
2. I just almost cannot bring myself to say it, but this relates to PHP
how?
Didn't you get the memo? To be PC, we now have to answer all questions
releated to php
John Holmes wrote:
Okay... I've done this before but can't get it working now. I've got
PHP5 working correctly, but I'm trying to load the MySQL php_mysql.dll
file. I'm using Apache 1.3 on Windows XP.
Nevermind... (^((*(*^%%$^% libmysql.dll [EMAIL PROTECTED]@#(## !!! windows
#*[EMAIL
John Holmes wrote:
***
This Email Has Been Virus Swept
***
Okay... I've done this before but can't get it working now. I've got
PHP5 working correctly, but I'm trying to load the MySQL php_mysql.dll
file. I'm
I vote this list be renamed as
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and
Hi.
I'm trying to create a session support where i can keep persistent objects.
I'm using XML to structure the data in the session file.
But i've come into a problem. When i execute the following code the
(--) marked instruction simply breaks the function execution:
$sess =
On Thursday 12 August 2004 22:11, raditha dissanayake wrote:
I vote this list be renamed as
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
Heh, just drop the php and call it the general list :)
Shorter and more to the point.
--
Jason Wong -
On 12/08/2004, at 11:26 PM, Jason Wong wrote:
On Thursday 12 August 2004 21:06, Justin French wrote:
How can I get a unix timestamp of the current timezone, rather than
GMT
as supplied by time()?
What are you trying to solve? The unix timestamp is based off GMT
(UTC). All
calculations involving
[snip]
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
Heh, just drop the php and call it the general list :)
Shorter and more to the point.
[/snip]
And then we can answer questions on dating, sex, marriage, religion, and
politics! Wooohoo!
We now
Hi all,
Is anyone giving much thought to the Y2038 bug/issue in relation to
Unix Timestamps? From what I read, they have a range of 1970-2038 (or
earlier than 1970 on *nix).
The reason I ask is because I always store my dates in timestamps, and
I don't really want to be responsible for any
On Thursday 12 August 2004 22:11, Justin French wrote:
You're absolutely right, it doesn't make sense, and even though it was
less than an hour ago, I can't really remember how I decided I needed
such a thing. It's part of an endless loop of confusion I currently
have with timezones for a
Jason Wong wrote:
On Thursday 12 August 2004 21:37, John Nichel wrote:
Jay Blanchard wrote:
snip
a. Have you sent this to an Apache list?
2. I just almost cannot bring myself to say it, but this relates to PHP
how?
Didn't you get the memo? To be PC, we now have to answer all questions
releated to
Justin French wrote:
Hi all,
Is anyone giving much thought to the Y2038 bug/issue in relation to
Unix Timestamps? From what I read, they have a range of 1970-2038 (or
earlier than 1970 on *nix).
Either you or I misunderstand this issue...
There's this limit because the start point is Jan 1 1970
On a server that is running PHP 4.3.6 I can use a link like this and the
accompanying javascript to get a popup window in my application. After
upgrading to PHP version 4.3.8 this no longer works. For some reason when you
click on this link now, it looks like it creates a new session which of
Is there any function in PHP that changes html in a string from p
align=center to p align=center ? (e.g. adding the double quotes)
Regards,
Sumarlidi Einar Dadason
SED DESIGN
_
Email: [EMAIL PROTECTED]
Website: http://www.sed.is
--
PHP General
[snip]
Is there any function in PHP that changes html in a string from p
align=center to p align=center ? (e.g. adding the double quotes)
[/snip]
Nah, but you could write a function to add quotes to attributes of any
tag that you would like.
--
PHP General Mailing List (http://www.php.net/)
To
Miguel Manso wrote:
Hi.
I'm trying to create a session support where i can keep persistent objects.
I'm using XML to structure the data in the session file.
But i've come into a problem. When i execute the following code the
(--) marked instruction simply breaks the function execution:
$sess
Hello !
I have a problem with __sleep() and __wakeup() with php 5.0.0.
if you have a class like that :
class foo
{
private $var = 'var';
function __construct()
{
...
}
function __sleep()
{
return array('var');
On Thu, 12 Aug 2004 09:12:41 -0500, Jay Blanchard
[EMAIL PROTECTED] wrote:
| And then we can answer questions on dating, sex, marriage, religion, and
| politics! Wooohoo!
We may just as well call it IRC then.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello !
I have a problem with __sleep() and __wakeup() with php 5.0.0.
if you have a class like that :
class foo
{
private $var = 'var';
function __construct()
{
...
}
function __sleep()
{
return array('var');
}
function wakeup()
{
}
}
and
raditha dissanayake wrote:
I vote this list be renamed as
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
We could just move this list to a Yahoo! group, then we can answer
questions for any topic, and have the trolls too. ;)
--
John C. Nichel
ÜberGeek
Hello,
I'm working on some code to authorize and settle directly with Vital.
Some of the inspiration and code samples have come from the Perl module
Business::OnlinePayment::VirtualNet.
Things are working good approximately 99% of the time. However, my
communication is getting Nak'd on
SED wrote:
Is there any function in PHP that changes html in a string from p
align=center to p align=center ? (e.g. adding the double quotes)
no but you can do so with sed.
--
Raditha Dissanayake.
raditha dissanayake wrote:
I vote this list be renamed as
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
We could just move this list to a Yahoo! group, then we can answer
questions for any topic, and have the trolls too. ;)
--
John C. Nichel
str_replace('p align=center', 'p align=center', $string)
However, align argument is deprecated in last version of html.
Use css instead.
Best regards
Fred
raditha dissanayake wrote:
SED wrote:
Is there any function in PHP that changes html in a string from p
align=center to p align=center ? (e.g.
[snip]
Wait, wait...I have it.
php-general-apache-mysql-imap-iis-javascript-HTML-perl-car_repair-side_p
aneling-medical_doctor-tv_repair-shoelace_tying
[/snip]
we-do-not-know-it-all-but-we-stayed-at-a-Holiday-Inn-Express-last-night@
lists.foo
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
2) By not escaping quotes in the data
...
You can do it this way but you must make sure that any strings in your
values array have been escaped before with
[/snip]
There is no quotes in the data. The data coming in is a $_POST array.
$dbmssql-dbinsert($_POST, $table);
However this did
On Thu, 2004-08-12 at 01:31, Joel n.solanki wrote:
Dear all Gurus,
I have read little manul from www.php.net
I want to create web based firewall with php+iptables . Can any one give
me some documentation or guides or Examples ??I am using redhat linux
..all things are installed.
I have
Hello Sam,
Thanks for the response. I don't have much documentation to work with. I
very familiar with mod_LDAP + Apache + PHP, but new to Siteminder. I was
wondering if you point me to some good resources on the web, or if you
have some documentation, that would be helpful as well.
Thanks.
Jay Blanchard wrote:
[snip]
Wait, wait...I have it.
php-general-apache-mysql-imap-iis-javascript-HTML-perl-car_repair-side_p
aneling-medical_doctor-tv_repair-shoelace_tying
[/snip]
we-do-not-know-it-all-but-we-stayed-at-a-Holiday-Inn-Express-last-night@
lists.foo
Laides and gentlemen, I think we
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using a hell of a lot of dates in my databases and wondered if it was
possible to change the date format in my databases from -00-00 to:
00-00-...?
This would make ordering by date impossible - do you really want
Hi, I'm relatively new with php but I have a question about this 'new'
function. If I use file_put_contents(file.txt, whatever) then it, of
course, writes whatever in the file.txt. If I later do the same thing
but put a different word (say other) from whatever then it overwrites
that entry in the
raditha dissanayake wrote:
I vote this list be renamed as
php-general-apache-mysql-imap-iis discussion list.
all those not in favour please flame.
If I give a big donation, can I get my name in there, too??? Imagine all
the people that'll want to post to a John Holmes list!!!
--
---John
* Thus wrote Frdric Hardy:
class foo
{
private $var = 'var';
...
function __sleep()
{
return array('var');
}
}
and php code like this :
$myFoo = new foo();
var_dump(serialize($myFoo));
the 'var' property was not serialized because it is protected
* Thus wrote Corey Hitchcock:
Hi, I'm relatively new with php but I have a question about this 'new'
function. If I use file_put_contents(file.txt, whatever) then it, of
course, writes whatever in the file.txt. If I later do the same thing
but put a different word (say other) from whatever
I'am using php 5.0.0 release.
Try this :
var_dump($test);
var_dump(unserialize(serialize($test)));
You should obtain something like that for fist var_dump :
object test
string test - 'var'
and for the second var_dump :
object test
string test - 'var'
string test - null
* Thus wrote SED:
Is there any function in PHP that changes html in a string from p
align=center to p align=center ? (e.g. adding the double quotes)
You can use tidy to clean up html.
http://php.net/tidy
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
Hi,
Does anyone know if PHP 5.x supports threading or is planning to? This
would be something akin to Java threads.
My system would be Fedora Linux - latest build.
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Imagine all the people that'll want to post to a John Holmes list!!!
People would be wide open for that list.
Sorry.., I couldn't resist... Just had to take the low road...
alex hogan
*
The contents of this
Hi I am trying to track down a method for transferring a database id such as 5 into a
nice formatted order id such as ORD0005 - where the format for the order id is ORD +
5 digits made up of the database id
Thanks
Matt
On Thu, 12 Aug 2004 14:07:52 +0100, Adrian Teasdale [EMAIL PROTECTED] wrote:
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4 second delay is
Imagine all the people that'll want to post to a John Holmes list!!!
People would be wide open for that list.
Sorry.., I couldn't resist... Just had to take the low road...
alex hogan
Damn, that was pretty good. :)
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing
Hi I am trying to track down a method for transferring a database id
such as 5 into a nice formatted order id such as ORD0005 - where the
format for the order id is ORD + 5 digits made up of the database id
See documentation for sprintf().
Try something like:
$formatted =
On Thu, 12 Aug 2004 09:20:44 -0400, Deepak Dhake
[EMAIL PROTECTED] wrote:
$query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2;
while($row2 = mysql_fetch_array($query4)) {
//print array
}
this will print whole array. i just want to print a row at a time and it should be
Justin Patrin wrote:
On Thu, 12 Aug 2004 14:07:52 +0100, Adrian Teasdale [EMAIL PROTECTED] wrote:
Hi there
On one site we have a 1.4 second delay before a page loads. We've added
mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
the speed of page loading, but this 1.4
On Friday 13 August 2004 01:00, Matthew Oatham wrote:
Hi I am trying to track down a method for transferring a database id such
as 5 into a nice formatted order id such as ORD0005 - where the format for
the order id is ORD + 5 digits made up of the database id
str_pad(), please RTFM before you
On Thu, 12 Aug 2004 10:04:00 -0700
[EMAIL PROTECTED] (Justin Patrin) wrote:
On Thu, 12 Aug 2004 09:20:44 -0400, Deepak Dhake
[EMAIL PROTECTED] wrote:
$query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2;
while($row2 = mysql_fetch_array($query4)) {
//print array
}
Jason Wong wrote:
str_pad(), please RTFM before you ask such questions. It's obvious from your
subject that you know it's something to do with strings, so where better than
to look at the chapter on String Functions? Browse through them, checkout the
examples, it's a good way to learn.
But I
I was just wondering if anyone can look an the following code and tell me if
there are any obvious errors. I wrote this in DZsoft PHP editor where it
works perfectly. But then when I run it on my webserver it gave me a fatal
error:
Fatal error: Call to undefined function: str_split() in
Aaron Todd wrote:
I was just wondering if anyone can look an the following code and tell me if
there are any obvious errors. I wrote this in DZsoft PHP editor where it
works perfectly. But then when I run it on my webserver it gave me a fatal
error:
Fatal error: Call to undefined function:
I thought someone might ask me that. I honestly dont know. I have been
looking for a comand that I can run to find out, but I havent found one. I
have SSH access to the server so if you know of a way to get the version
please let me know.
Thanks,
Aaron
John Nichel [EMAIL PROTECTED] wrote in
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
Thanks,
Aaron
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Aaron Todd wrote:
I was just wondering if anyone can look an the following code and tell
me if
there are any
[snip]
I thought someone might ask me that. I honestly dont know. I have been
looking for a comand that I can run to find out, but I havent found one.
I
have SSH access to the server so if you know of a way to get the version
please let me know.
[/snip]
make a page like this
?php
phpinfo();
[snip]
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
[/snip]
Looking at http://www.php.net/str_split I see that it is valid for PHP 5
only
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aaron Todd wrote:
I thought someone might ask me that. I honestly dont know. I have been
looking for a comand that I can run to find out, but I havent found one. I
have SSH access to the server so if you know of a way to get the version
please let me know.
Well, it looks like str_split() was
Aaron Todd wrote:
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
Thanks,
Aaron
According to the manual...
http://us4.php.net/str_split
str_split() is a php5 function.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP
On Thu, 12 Aug 2004 14:11:13 -0400, Aaron Todd [EMAIL PROTECTED] wrote:
HAH...I found it. I have version 4.3.3
Does that version not have this function or something?
http://us3.php.net/manual/en/function.str-split.php
Look at the top. Only PHP5 is listed.
Thanks,
Aaron
John Nichel
[snip]
I thought someone might ask me that. I honestly dont know. I have been
looking for a comand that I can run to find out, but I havent found one.
I have SSH access to the server so if you know of a way to get the
version
please let me know.
[/snip]
From the command line type php -v
It'll
Do you know of a simular function that will split a string in the same way.
I have phone numbers stored in a database in the format ##. I need
to display the number on the page in the format ###-###-. str_split()
worked perfectly for this. Is there another function?
Thanks,
Aaron
[snip]
Do you know of a simular function that will split a string in the same
way.
I have phone numbers stored in a database in the format ##. I
need
to display the number on the page in the format ###-###-.
str_split()
worked perfectly for this. Is there another function?
[/snip]
On Thursday 12 August 2004 10:32 am, James E Hicks III wrote:
On a server that is running PHP 4.3.6 I can use a link like this and the
Please disregard this request for help, as the problem seems to be the nut
behind the wheel.
James
--
PHP General Mailing List (http://www.php.net/)
To
I have a database table with the column described as
address_line_2 varchar(255) NOT NULL default '',
when I do a select I want to see if there is anything in that column if there is text
I will display it in a html table if there is nothing (the table default) I will write
nbsp; However the
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified
that I can in fact access mysql and that I have the necessary database and
that the user, password, and host are setup correctly in db_fns.php. It
seems; however, that I still receive the given error:
Fatal error:
On Friday 13 August 2004 03:27, Aaron Todd wrote:
(B Do you know of a simular function that will split a string in the
(B same way. I have phone numbers stored in a database in the format
(B ##. I need to display the number on the page in the format
(B ###-###-. str_split()
The tip..
copy and paste your error code into google ;-)
Do it for all errors, you'll be amazed @ how many have already been answered
- Original Message -
From: Eric L. Sammons [EMAIL PROTECTED]
Date: Thursday, August 12, 2004 2:44 pm
Subject: [PHP] Fatal error: Call to undefined
[snip]
I have a database table with the column described as
address_line_2 varchar(255) NOT NULL default '',
if($row[address_line_2]==' ') // there is a space between the quotes
[/snip]
address_line_2 varchar(255) NOT NULL default '', --- no space between
quotes
so
if('' ==
= Original Message From Eric L. Sammons [EMAIL PROTECTED] =
= Original Message From Eric L. Sammons [EMAIL PROTECTED] =
did this, all answers came back stating to install php-mysql package. Already
have that installed. Some have stated they recompiled php, I really would
like to
Eric L. Sammons wrote:
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified
that I can in fact access mysql and that I have the necessary database and
that the user, password, and host are setup correctly in db_fns.php. It
seems; however, that I still receive the given
[snip]
did this, all answers came back stating to install php-mysql package.
Already
have that installed. Some have stated they recompiled php, I really
would
like to avoid doing that so I don't affect my Red Hat support
agreements.
[/snip]
have you done phpinfo() to see if it really compiled?
1 - 100 of 136 matches
Mail list logo