Robert Cummings wrote:
On Wed, 2006-03-01 at 22:26, [EMAIL PROTECTED] wrote:
Is there a good reason for why you're clogging the mailing list with
your fancy shmancy HTML emails?
he's trying to cut down on the ammount of reading I do ;-)
Cheers,
Rob.
--
PHP General Mailing List
In phpinfo page SCRIPT_NAME variable is set correctly.
What have effect this variable ? May be include_path setting ?
Rumisek
Chris wrote:
Roman Rumisek wrote:
Hi,
i have configured apache 2.0.50 with mod_php 4.4.2 and
$_SERVER['SCRIPT_NAME'] beginning with /// (three slash).
Where
Remember14a wrote:
$i = 0;
while ($row = mysql_fetch_row($result)) {
$res[$i]['title'] = $row[2];
$res[$i]['url'] = $row[1];
if ($row[3] != null $show_meta_description == 1)
$res[$i]['fulltxt'] = $row[3];
else
$res[$i]['fulltxt'] = $row[4];
$res[$i]['size'] =
I agree, $res = array();
needs to be declared. I tried this at various level in the code of 300 lines, what happenes if error is suppresses, the search output is displayed in different manner.I have posted full code at this link.Can you inform where precisely I must include, so thatneither
On 02/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can you inform where precisely I must include, so that neither error is
displayed or search output is displayed differetly.
Oh, I give up. Where's my Little Book of Calm?...
-robin
Hi all, I am trying to trigger a php script by sending an email to it. The
script commences with
#!/usr/local/bin/php
to run as a general cgi, and then proceeds to access the email by opening
php://stdin. I get all that.
However, I am editing the /etc/aliases file to create an email alias for
Hi!
How do I un-subscribe to this list?
Thank you!
Anthony (Tony) Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
How do I un-subscribe to this list?
Thank you!
Anthony (Tony) Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anthony Rodriguez wrote:
Hi!
How do I un-subscribe to this list?
Thank you!
Anthony (Tony) Rodriguez
([EMAIL PROTECTED])
You open your eyes and look at the footer. Now go out and play with the
other kids.
vv vv vv vv vv vv vv vv vv vv vv vv vv
--
PHP General Mailing List
Dave Goodchild wrote:
However, I am editing the /etc/aliases file to create an email alias for the
script by inserting the following line:
agecon /|/home/agecon/dm/ac_incomingphp
Shouldn't this read...
agecon: | /home/agecon/dm/ac_incomingphp
I'm not an expert at this stuff, but that's
Anthony Rodriguez wrote:
Hi!
How do I un-subscribe to this list?
There are three ways to do this.
1. Read the footer of every e-mail on this list - it contains the
instructions.
2. Read the headers of every e-mail on this list - they contain the
instructions.
3. Send $100,000 in
I have been trolling through hotscripts.com and google all night and
have tried out a couple of promising-looking PHP-based calendar
scripts with no luck, so I'm turning to the collective wisdom of the
list to help me out. I'm looking for a calendar script that I can plug
into a web site that can
Anthony Rodriguez wrote:
Hi!
How do I un-subscribe to this list?
Look at the bottom of *every* email from this list.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Dave Goodchild wrote:
Hi all, I am trying to trigger a php script by sending an email to it. The
script commences with
#!/usr/local/bin/php
to run as a general cgi, and then proceeds to access the email by opening
php://stdin. I get all that.
However, I am editing the /etc/aliases file to
I have a habit of designing pretty much everything myself as far as CMS
and admin areas, but I was wondering if anybody knew where to find Web
icons to make the result look very professional?
I am really not a graphical/layout guy!
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
I have to create some maps from a latitude / longitude points.
Do anyone know how to convert it to plane coordenates? (In order to show
it on a bitmat)
I have already found a function but does not work very well ...
[/snip]
Plain coordinates? You mean as in X, Y coordinates? If so, lat
Hi,
I have to create some maps from a latitude / longitude points.
Do anyone know how to convert it to plane coordenates? (In order to show
it on a bitmat)
I have already found a function but does not work very well ...
Any help will be apreciated.
Thanks in advance
--
PHP General Mailing
I have a habit of designing pretty much everything myself as far as CMS
and admin areas, but I was wondering if anybody knew where to find Web
icons to make the result look very professional?
I am really not a graphical/layout guy!
This is OT but you can always take a look on
Lat and long are all you need for rendering on an X,Y coordinate.
Keep in mind to adjust the ratio of lat and long depending on where you are
on the globe.
Good luck!
--
Anas Mughal
Nicolas Verhaeghe wrote:
I have a habit of designing pretty much everything myself as far as CMS
and admin areas, but I was wondering if anybody knew where to find Web
icons to make the result look very professional?
I am really not a graphical/layout guy!
Anas Mughal wrote:
Lat and long are all you need for rendering on an X,Y coordinate.
Keep in mind to adjust the ratio of lat and long depending on where
you are on the globe.
Good luck!
--
Anas Mughal
any other details? I have tried to convert lat and long to x and y
coordinate but it
It is a little hard to do, in fact there are several different 'projection
systems' in existence. Since the Earth is not flat and it is not even a
perfect sphere, there are many ways to project latitude and longitude
information. You should check a GIS (Geographical Information Systems) for
www.icons-to-make-my-stuff-shiny-and-professional.com
You probably should get somone that is one, or learn it.
If the website above works, then there is one otherwise no.
What a valuable response... oO
Nicolas, you should google for Linux-Themes (KDE etc.), most of the icon
collections
Thorsten Suckow-Homberg wrote:
www.icons-to-make-my-stuff-shiny-and-professional.com
You probably should get somone that is one, or learn it.
If the website above works, then there is one otherwise no.
What a valuable response... oO
Nicolas, you should google for Linux-Themes (KDE etc.),
Yes, but there is a projection issue involved.
The Earth is a sphere. Your screen is flat. What projection are you
using? Mercator? Lambert?
http://en.wikipedia.org/wiki/Map_projection
In this case, I would not spend too much time reinventing the wheel and
borrow or purchase an existing
Thanks, Chris, this does not look too bad!
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 9:03 AM
To: Nicolas Verhaeghe; php-general@lists.php.net
Subject: Re: [PHP] Where can I find nice Web icons for custom admin
interface?
I have a
I should have googled this before posting this here, sorry.
I found a site but if I post the URL someone will accuse me of sham
advertising.
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 9:03 AM
To: Nicolas Verhaeghe;
-Original Message-
From: Dave Goodchild [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 02, 2006 1:07 PM
To: php-general@lists.php.net
Subject: [PHP] Sendmail issue
Hi all, I am trying to trigger a php script by sending an
email to it. The
script commences with
Hi gang:
Is anyone else getting these:
System Administrator [EMAIL PROTECTED]
Undeliverable: whatever
Every time I send something to this list, my email get's posted, but
then I also receive an email from the System Administrator telling
me that my email did not reach:
did not reach the
I have a file called userlist. I'm trying to read the file, and then
echo their name and add @mdah.state.ms.us with it. In the file
userlist, it looks like:
userabc
userdef
userxyz
and I have the following code:
?php
$filename = userlist;
$fp = fopen($filename, r) or die (Couldn't open
[snip]
echo $thedata.@mdah.state.ms.us;
[/snip]
Try echo $thedata.'@mdah.state.ms.us';
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tedd wrote:
Hi gang:
Is anyone else getting these:
System Administrator [EMAIL PROTECTED]
Undeliverable: whatever
Every time I send something to this list, my email get's posted, but
then I also receive an email from the System Administrator telling me
that my email did not reach:
did
Adam Williams wrote:
I have a file called userlist. I'm trying to read the file, and then
echo their name and add @mdah.state.ms.us with it. In the file
userlist, it looks like:
userabc
userdef
userxyz
and I have the following code:
?php
$filename = userlist;
$fp = fopen($filename, r) or
Hi, I just tried that, didn't make a difference, still not getting my
expected output.
[EMAIL PROTECTED] wrote:
[snip]
echo $thedata.@mdah.state.ms.us;
[/snip]
Try echo $thedata.'@mdah.state.ms.us';
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[snip]
Hi, I just tried that, didn't make a difference, still not getting my
expected output.
Try echo $thedata.'@mdah.state.ms.us';
[/snip]
Ooops, my bad, try
echo $thedata .'@mdah.state.ms.us';
And please do not top post.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
John Nichel wrote:
Adam Williams wrote:
I have a file called userlist. I'm trying to read the file, and then
echo their name and add @mdah.state.ms.us with it. In the file
userlist, it looks like:
userabc
userdef
userxyz
and I have the following code:
?php
$filename = userlist;
$fp =
It is a little hard to do, in fact there are several different
'projection systems' in existence. Since the Earth is not flat and
it is not even a perfect sphere, there are many ways to project
latitude and longitude information. You should check a GIS
(Geographical Information Systems) for
John Nichel wrote:
Well, you're not telling fgets how much to read for one, and I'd do
this a different way to begin with...
if ( $file = file ( $filename ) ) {
foreach ( $file as $line ) {
if ( $file != ) {
echo ( $line . @mdah.state.ms.us );
}
}
} else {
Adam Williams wrote:
John Nichel wrote:
Well, you're not telling fgets how much to read for one, and I'd do
this a different way to begin with...
if ( $file = file ( $filename ) ) {
foreach ( $file as $line ) {
if ( $file != ) {
echo ( $line . @mdah.state.ms.us );
got it! i had to have my block of code look like this:
if ( $file = file ( $filename ) ) {
foreach ( $file as $line ) {
if ( $line != ) {
$line = trim($line);
echo ( $line . @mdah.state.ms.us );
echo \n;
}
}
} else {
echo (
John Nichel wrote:
can of worms
Not that we need a list admin to take care of this or anything.
/can of worms
Good job you closed that tag, these can be a nightmare!
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would like to know how to suppress Warning error_log entries dealing
with undefined vars: eg.
Undefined index: del_pxe in /test.php on line 33, referer:
http://website.com/index.php
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
J. Willard Marriott Library
295
Jason Gerfen wrote:
I would like to know how to suppress Warning error_log entries dealing
with undefined vars: eg.
Undefined index: del_pxe in /test.php on line 33, referer:
http://website.com/index.php
There is that pesky manual thing online...
http://us2.php.net/ini_set
Jason Gerfen wrote:
John Nichel wrote:
Jason Gerfen wrote:
I would like to know how to suppress Warning error_log entries
dealing with undefined vars: eg.
Undefined index: del_pxe in /test.php on line 33, referer:
http://website.com/index.php
There is that pesky manual thing online...
On Thu, 2006-03-02 at 13:47, Jason Gerfen wrote:
I would like to know how to suppress Warning error_log entries dealing
with undefined vars: eg.
Undefined index: del_pxe in /test.php on line 33, referer:
http://website.com/index.php
The best way is to write clean code that checks for the
Hi list,
I'm writing some code at the moment, and I'm trying to make it as
detached as possible from the database used behind. So I already found
ADOdb abstraction layer, which I find conienient. But still the fact is
that I need to connect to and select a database at the begining of somes
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
/srv/www/htdocs/test/ldapTest.php on
I can't get APC 3.0.8 to work on anything, at all. On Windows, it
crashes the server, and on Linux, it can't handle objects. For
example:
?php
class abc {
}
$a = new abc;
var_dump($a);
?
Gives:
NULL
Any idea on what is going on?
--
PHP General Mailing List (http://www.php.net/)
To
[snip]
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
steve wrote:
I can't get APC 3.0.8 to work on anything, at all. On Windows, it
crashes the server, and on Linux, it can't handle objects. For
example:
?php
class abc {
}
$a = new abc;
var_dump($a);
?
Gives:
NULL
Any idea on what is going on?
Use the CVS version. I need to push a new
OK, will try. Does this work in the CVS version?
?php
error_reporting(E_ALL);
class A
{
public $_t = 'something';
public function __get($name)
{
$getter='get'.$name;
if(method_exists($this,$getter))
{
steve wrote:
OK, will try. Does this work in the CVS version?
?php
error_reporting(E_ALL);
class A
{
public $_t = 'something';
public function __get($name)
{
$getter='get'.$name;
if(method_exists($this,$getter))
{
:)
On 3/2/06, Rasmus Lerdorf [EMAIL PROTECTED] wrote:
steve wrote:
OK, will try. Does this work in the CVS version?
?php
error_reporting(E_ALL);
class A
{
public $_t = 'something';
public function __get($name)
{
$getter='get'.$name;
Hello I could resolve the problem, I'm rewrote query:
$query = SELECT munici_mun, UPPER(nombre_mun)
FROM MUNI
WHERE departa_dpt = ?
AND munici_mun = 994
AND UPPER(nombre_mun) LIKE ?
then I only change the variable definition like:
Hi there!
What's wrong here??
?php
...
open db...
$sql = SELECT IDPic, picNameSmall FROM tbpics;
$querys = mysql_query($sql);
$dbArray = mysql_fetch_array($querys);
if (intval($frmIDModel)0) {
?
bVisa telefonbilder för ?php echo $dbModelName;?:/bbr
?php
}
else if
[snip]
I have 5 posts in the table, but the images shown are only four! Why?
[/snip]
Are you counting starting with 1 or 0?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK, got it and installed it (checked the output of phpinfo to
confirm), and I get this on both the first load (uncached) and later
loads (cached):
NULL
Test $one-getTest():
With an error in the error log telling me I'm a dope for dereferencing
a null object.
Why does the weird stuff always
steve wrote:
OK, got it and installed it (checked the output of phpinfo to
confirm), and I get this on both the first load (uncached) and later
loads (cached):
NULL
Test $one-getTest():
With an error in the error log telling me I'm a dope for dereferencing
a null object.
Why does the weird
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Thursday, March 02, 2006 11:05 PM
Subject: RE: [PHP] Only 4 of 5...
[snip]
I have 5 posts in the table, but the images shown are only four! Why?
[/snip]
Are you counting starting with
Because of this:
$dbArray = mysql_fetch_array($querys);
This will fill $dbArray with the first row fetched from the table. 4 are
left which you are calling in your loop at the end of your code example.
What's your reason anyway to call mysql_fetch_array() here?
Delete this line and I'd bet
[snip]
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDPic = $dbArray[IDPic];
$dbPicNameSmall = $dbArray[picNameSmall];
?
img src=phonepics/?php echo $idModel;?_?php echo
$dbPicNameSmall;? alt=testbild från mobil border=1 width=120
height=130
?php
[/snip]
Is
[snip]
Aha! It may not be me. The LDAP server is Win2003 and has some known
problems when searching LDAP. I haven't located a solution, but if you
are privy to one or two or ten could you let me know?
[/snip]
Well, I thought that I had escaped the hell of a Windows world when I
accepted this
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Thursday, March 02, 2006 11:15 PM
Subject: RE: [PHP] Only 4 of 5...
[snip]
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDPic = $dbArray[IDPic];
$dbPicNameSmall =
- Original Message -
From: Thorsten Suckow-Homberg [EMAIL PROTECTED]
To: Gustav Wiberg [EMAIL PROTECTED]; PHP General
php-general@lists.php.net
Sent: Thursday, March 02, 2006 11:13 PM
Subject: Re: [PHP] Only 4 of 5...
Because of this:
$dbArray = mysql_fetch_array($querys);
This
Hello all,
I am building a web page and I don't know how to display the errors
that the user may enter. OK this is how I have my web page setup:
I first do a isset check on $submit. And I am not sure about this. I
believe that this variable is set when i click on the submit button.
I don't
[EMAIL PROTECTED] wrote:
[snip]
Aha! It may not be me. The LDAP server is Win2003 and has some known
problems when searching LDAP. I haven't located a solution, but if you
are privy to one or two or ten could you let me know?
[/snip]
Well, I thought that I had escaped the hell of a Windows
On 3/2/06, Paul Goepfert [EMAIL PROTECTED] wrote:
Hello all,
I am building a web page and I don't know how to display the errors
that the user may enter. OK this is how I have my web page setup:
I first do a isset check on $submit. And I am not sure about this. I
believe that this
Roman Rumisek wrote:
In phpinfo page SCRIPT_NAME variable is set correctly.
What have effect this variable ? May be include_path setting ?
That means something in your script is modifying it.
Without seeing code nobody's going to be able to help much more than that.
If it's a lot of code,
Chris wrote:
Roman Rumisek wrote:
In phpinfo page SCRIPT_NAME variable is set correctly.
What have effect this variable ? May be include_path setting ?
That means something in your script is modifying it.
Without seeing code nobody's going to be able to help much more than that.
If it's
You know not what you ask!! I'm going to have to wait a bit before I
do that. Currently using Apache 2, and the config files would need to
be different, etc., so I'll have to choose a webserver I can take down
for a longer time. :(
What I did try was different versions of PHP (All using FastCGI
steve wrote:
You know not what you ask!! I'm going to have to wait a bit before I
do that. Currently using Apache 2, and the config files would need to
be different, etc., so I'll have to choose a webserver I can take down
for a longer time. :(
What I did try was different versions of PHP (All
Gustav Wiberg wrote:
Hi there!
What's wrong here??
?php
...
open db...
$sql = SELECT IDPic, picNameSmall FROM tbpics;
$querys = mysql_query($sql);
$dbArray = mysql_fetch_array($querys);
You're pulling the first row here
if (intval($frmIDModel)0) {
?
bVisa telefonbilder för ?php echo
Hi,
I've some problems with the file()-function:
I call the function with the argument
http://www.azubo.de/api/csv.cfm?PartnerID=17PartnerPass=28O2NGC3result=end,auctionid,url,title,cat,price,bids,currency,image;
and only get an array of empty strings.
With other addresses as argument it works
On Wed, 2006-03-01 at 19:25, Chris wrote:
Raúl Castro Marín wrote:
I got a little question, I just start to use binding adodb but I got a
problem: my primary query on Oracle is:
$query = SELECT munici_mun, UPPER(nombre_mun)
FROM MUNI
WHERE departa_dpt = ? AND
munici_mun = 994;
Julius Hacker wrote:
Hi,
I've some problems with the file()-function:
I call the function with the argument
http://www.azubo.de/api/csv.cfm?PartnerID=17PartnerPass=28O2NGC3result=end,auctionid,url,title,cat,price,bids,currency,image;
and only get an array of empty strings.
With other addresses
Hi Nicolas.
I've collected some pointers over the past few months to royalty free
icons and designers at:
http://del.icio.us/braquin/icons
HTH.
Regards, Grant
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
76 matches
Mail list logo