* Thus wrote K.Bogac Bokeer ([EMAIL PROTECTED]):
When $var is 0?
?
$var = 0;
or
$var = '';
$var = array();
$var = false;
// Output: $var: $var not exists
if ( $var )
echo '$var: $var existsbr';
else
Curt
--
I used to think I was indecisive, but now I'm not so
* Thus wrote Scot L. Harris ([EMAIL PROTECTED]):
Not sure this has been discussed previously or if this is new.
It appears that when you send a message to the list there are two
messages sent back to the sender.
One appears to be a user that no longer exists. That user is
[EMAIL
* Thus wrote David T-G ([EMAIL PROTECTED]):
and know that it works as intended, but now I seem completely unable to
get any $_POST (or even $_GET) data into the script. I suspect, from
reading the manual and noting the warnings, that any GET data will be
ignored, and that's fine, but I know
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
/usr/local/mnogosearch), and PHP configures fine. But during PHP's
make, I get all sorts of errors at the end of the compilation:
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
definition of `mysql_port'
Just a guess but
* Thus wrote David T-G ([EMAIL PROTECTED]):
Curt, et al --
...and then Curt Zirzow said...
%
% * Thus wrote David T-G ([EMAIL PROTECTED]):
%
% My code is as simple as
%
%#!/usr/local/bin/php
%
% What does '/usr/local/bin/php -v' show?
Doesn't seem to scary to me
* Thus wrote David T-G ([EMAIL PROTECTED]):
Gabe --
...and then Gabe said...
%
% Does anyone know of a simple/efficient way to determine the path to a
% script on the URL?
Gee, it sounds like you want the dirname() of the SCRIPT_URL. You're on
the right track :-)
Or dirname() of
* Thus wrote David T-G ([EMAIL PROTECTED]):
Peter --
...and then Peter Risdon said...
%
% David T-G wrote:
%
% bash-2.05a$ /usr/local/bin/php -v
% PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52)
%
% You probably need the cgi version - not the command line one you
% actually have.
* Thus wrote Chris W ([EMAIL PROTECTED]):
I just moved my site to a new install of SUSE 9.1 and get the error..
Call to undefined function: mail() when ever I try to send a message.
What is the easiest way to fix this since suse used postfix instead of
sendmail.
This happens when php is
* Thus wrote Jough P ([EMAIL PROTECTED]):
Greetings, when compiling PHP with the 'with-mysql' option I get an
warning against using the built-in mysql support. So, I tried
'--with-mysql=/path/to/mysql.so and got the following error:
Cannot find MySQL header files under...
The with option
* Thus wrote The Digital E ([EMAIL PROTECTED]):
Hey everyone, don't know about you, but I'm sick of spam and so I've
reported the spammers to their ISP ipowerweb.com
I've sent them the headers and traceroute results and their abuse team
is investigating, it would be more powerful if a bunch
* Thus wrote Stephen Lake ([EMAIL PROTECTED]):
Can anyone tell me what size the buffer in IE has to be before it outputs
data?
The calculation is as follows:
[Total Virtual Memory] - [Non-table enclosed data] +
[sizeof(input.buffer)] / [random.crash()]
Curt
--
I used to think I was
* Thus wrote Ryan A ([EMAIL PROTECTED]):
From: Ryan A [EMAIL PROTECTED]
A bit confused, I downloaded a function and it says it takes a date
objectwhat exactly is a date object?
This is exactly what is written The function takes a date object as
its
only parameter.
No
* Thus wrote The Digital E ([EMAIL PROTECTED]):
$query=UPDATE $table_name SET company_name='$company',
first_name='$first_name', last_name='$last_name', address='$address',
city='$city', state_province='$state', postal_code='$postal',
office_phone='$office', fax_phone='$fax',
* Thus wrote Steve Edberg ([EMAIL PROTECTED]):
At 2:01 AM -0300 5/28/04, [EMAIL PROTECTED] wrote:
However, most of what you can do with them can be done more simply
with arrays. In your example above, use
myPage.php?dataPoint[]=10dataPoint[]=20dataPoint[]=30
I'd also suggest to
* Thus wrote Matt MacLeod ([EMAIL PROTECTED]):
...
$headers .= Reply-To: [EMAIL PROTECTED];
$nonhtml = strip_tags($emailsend);
// This is the important part!
// This content type identifies the content of the message.
// The boundary delimits the plain text and html sections.
// The value
* Thus wrote Chris Jernigan ([EMAIL PROTECTED]):
Hi everyone,
What's the problem? I have one week to do this. Oh, and did I mention that I
know VERY little about PHP / mySQL. I know NOTHING about ColdFusion or
MSSQL. And to top it off, the site in question contains over 300 .cfm files!
* Thus wrote Louie Miranda ([EMAIL PROTECTED]):
I got what you mean, but can we do this on the whole directory instead by
files?
Like for example the whole / directory and /subdirectory/ so i wont be doing
that editing every files?
If you want a specific directory to be executed you're
* Thus wrote Bert Slagter ([EMAIL PROTECTED]):
Hi,
I tried to use my own error handler to handle all non-fatal errors. But
to my surprise it seems to be impossible to handle E_STRICT level
notices. I don't know whether this is by design, not yet implemented or
a know bug that I
* Thus wrote strategies ([EMAIL PROTECTED]):
Hi,
I know this is a perennial problem but believe me i have googled and
tried various solutions
I've encounter many bb isps doing proxy caching that i cant get around.
That is i want to completely avoid caching.
I have tried all the header stuff
* Thus wrote nabil ([EMAIL PROTECTED]):
Hiya,
How can i draw a new tr AFTER FIVE td in the following loop
(i want to echo the records in 5 columns width tables whatever the number of
records will be fetched)
..
echo 'table';
while ($myrow = mysql_fetch_array($sql))
{
echo
* Thus wrote Philip ([EMAIL PROTECTED]):
Any Ideas?
Well, I'd have to say that dogs make better pets than cats do,
mainly because they provide much more companionship than cats...
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List
* Thus wrote Albert Padley ([EMAIL PROTECTED]):
input type=\checkbox\ name=\del[]\ value=\ . $row['id'] . \
The processing code is:
if (count($del) 0){
for ($i=0;$icount($del);$i++){
$query = DELETE FROM ref_events_reg WHERE id = '$del[$i]';
}
}
I think
* Thus wrote Louie Miranda ([EMAIL PROTECTED]):
I have seen similar sites that runs php. but without the extension.
like: example.com/hello/great?ID=19
How can i do this? Run the php even without the .php extension
if you add a .htaccess file in the /hello/ directory with something
like
* Thus wrote Miguel J. Jimnez ([EMAIL PROTECTED]):
How much long can be the session name? What is the limit? 10, 40, 255
alphanumeric chars? or what?
Thanks...
You're limit will most likey be the cookie length (if you're using
cookies).
That would be about:
4KB - ~82 Bytes
Curt
--
I
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
From: [EMAIL PROTECTED]
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead of 253.07.
Why?
* Thus wrote Martin Geisler ([EMAIL PROTECTED]):
My PHP manual (from a Debian package) has the following note on the
page for round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
From: Justin Patrin [EMAIL PROTECTED]
IMHO it's just better to use concatenation and single quotes for your
string. PHP doesn't have to parse your strings for variables that way
and it makes it obvious what parts are variables.
To each
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
wow. that's the weirdest looking php i've ever seen. is that a beta or
* Thus wrote Maarten Weyn ([EMAIL PROTECTED]):
it works back after a reboot
What works how after what is booted when?
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Justin Kozuch ([EMAIL PROTECTED]):
Hi All,
...
Here is the code that I have on the login form, called index.php
?php require_once('Connections/verspeeten.php'); ?
?php
Breaking in and out of php is pointless, and can cause potential
problems with session_start(), headers
* Thus wrote Justin Hendrickson ([EMAIL PROTECTED]):
FreeBSD and phpize have never cooperated with me. The phpize script
requires a number of files, like automake, autoconf, libtool, ect,
however FreeBSD installs these files as automake14, autoconf253 and
libtool14. Has anyone out there
* Thus wrote Greg Donald ([EMAIL PROTECTED]):
On Fri, 2004-05-21 at 08:37, Richard Davey wrote:
Absolutely - and one of the best features of constants is their scope
- being global in nature you can use them ANYWHERE which is very handy
indeed!
ANYWHERE except in code you plan to eval().
* Thus wrote Richard Davey ([EMAIL PROTECTED]):
Hi all,
Does anyone know how to get curl to accept the ssl cert *regardless*
of how ballsed-up it is?
I've nver tried it but perhaps:
CURLOPT_SSL_VERIFYPEER 0
and/or
CURLOPT_SSL_VERIFYHOST 0
Curt
--
I used to think I was indecisive, but
* Thus wrote Michael R. Wayne ([EMAIL PROTECTED]):
I've posted several times mentioning that I am completely unable
to cause sessions to persist. Over the intervening time, I have
replicated this problem to a different machine, with the same
results. Here's a recap of the problem.
I am
* Thus wrote Bob Lockie ([EMAIL PROTECTED]):
On 05/21/04 16:08 Michael R. Wayne spoke:
On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote:
Hi
All my web sites suddenly stopped working after my ISP installed the
newer php 4.3.6 released. The problem is when calling the
* Thus wrote AMC ([EMAIL PROTECTED]):
Hi,
I'm using an include file to store the connection string to a mysql db.
Whenever I try to reference that a string to open a connection I get the
error 'empy connection string' . When I write the string to the page using
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
I am building a SIMPLE socket client that makes ONE connection to ONE
server, and waits for data (socket_read)... and when no data comes for
a few seconds, does something else, then waits for data again. HOW
SHOULD I APPROACH THIS?! PLEASE
* Thus wrote Aaron Axelsen ([EMAIL PROTECTED]):
Greetings,
I compiled and installed mysql from source, and now I am trying to recompile
php agaisnt the new version of MySQL (was previous running 3.23.53). Here
is the configure string I used:
./configure
* Thus wrote Aaron Axelsen ([EMAIL PROTECTED]):
I was trying to upgrade over the older one, which is why the paths are the
same. I want to stick with the stable realease
Overwritting versions like that might not work very well, file
names have changed accross the versions. I usually update my
* Thus wrote Oliver Hankeln ([EMAIL PROTECTED]):
Jay Blanchard wrote:
[snip]
Tipp: Do not use preg_match() if you only want to check if one string
is contained in another string. Use strpos() or strstr() instead as they
will be faster.
[/snip]
This brings up a good point. Just
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]):
[snip]
strpos() : 0.19018315076828
preg_match() : 0.26157474517822
in_array() : 0.26403407096863
[/snip]
Very interesting...thanks!
So if we're not going to search though a string 10,000 times you'll
save ~0.07139159440994 seconds. or
* Thus wrote Amon ([EMAIL PROTECTED]):
Curt Zirzow thanks for your reply also. But that has nothing to do with
reference. If you use reference or not.. it still would not result in an
error (hee... I want an error :P)
function foo($v) {}
foo($asdf['qwer']);
PHP Notice: Undefined variable
* Thus wrote Dave Avent ([EMAIL PROTECTED]):
Hi All,
Does anyone know if there is a WDDX Class for PHP. I have googled and
checked phpclasses.org. I am unable to recompile my webserver so I cannot
include wddx support that way, so if anyone can help me with any suggestions
I would be very
* Thus wrote Amon ([EMAIL PROTECTED]):
functionX($_POST[test_arr])
$arr_test = $_POST[test_arr];
Knowing that $_POST[test_arr]) does not exist.. this code will not result
in a error.
Is this a bug,error,etc? Should this not also produce a novice error?
Taks a look at the definition of
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
My local setup is Win98SE, Apache 2.0.49 and PHP 4.3.6. The remote server
is Linux 2.4.20, Apache 1.3.29, and PHP 4.3.3.
Matt's version of the script is at:
http://www.samspublishing.com/articles/article.asp?p=29587seqNum=7
If
* Thus wrote Student ([EMAIL PROTECTED]):
Hi i was hoping if someone can help;
I want to trim the following text
[i:abcdef]
but the inside text is different at time eg abcdef, bcdefg, etc etc
how can i trim [i:(some text here)] so that i can replace them with nothing.
eg these are to
* Thus wrote Tim Van Wassenhove ([EMAIL PROTECTED]):
In article [EMAIL PROTECTED], Greg wrote:
Am I the only one annoying by this loss of performance ?
Because this is a huge loss in that case !
I understand there might be a significant difference in performance, and
i understand nobody
* Thus wrote Torsten Roehr ([EMAIL PROTECTED]):
Hi,
does anyone know a way of how to get the name of the class within a static
function? I can't use __CLASS__ as my PHP version is 4.2.3 and I can't
upgrade.
My code (simplified):
class Base {
function Factory() {
* Thus wrote Ronald The Newbie Allen ([EMAIL PROTECTED]):
While I am sure that you are right. I went to the webpages that you
identified and did not see anything on' and . I tried the code that typed
up and it said that Date_and_Time wher and undefinded index and also that
the headers could
* Thus wrote Merlin ([EMAIL PROTECTED]):
Hi there,
I am running the newest php 4.x branch on a suse 9.0 apache 1.3x system
Hardware: 1G ram
It apears to me that the system anyhow has a memory leak. While running
top on linux it shows the free memory declining steadily. After about 48h
* Thus wrote T. H. Grejc ([EMAIL PROTECTED]):
Hallo,
I know of a few ways of doing this but I am not sure that any is right.
I want to consult with you what is the best way of doing this:
...
I would like to select all 'b' from Table_1 WHERE a = '2' and then to
select all 'd' from
* Thus wrote Ronald The Newbie Allen ([EMAIL PROTECTED]):
what I currently have is
echo META HTTP-EQUIV=\refresh\ content=\0;
URL=./Conference_Calls.php?Date_and_Time=.$_POST[$Date_and_Time].;
Have you looked at what this is actually outputing?
Tried several things from the string and
* Thus wrote Ryan A ([EMAIL PROTECTED]):
Hey Rob
snip
In linux under Netscape 7 and Opera 7.2 it reloaded the page :/ That
said looking at the URL when the mouse is over the link:
http://www.blocket.se/new?caller=ogl_sl=0rm_id=2595475city=0
The rm_id is being set as a GET variable
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote:
http://www.php.net/manual/en/ref.sockets.ph
Yes, I've read that page... many times. It has not helped me. That is
why I am posting my problem here, in that hopes that someone can
* Thus wrote CF High ([EMAIL PROTECTED]):
$username = strip_illegals($_POST['email']);
$plain_pass = rand();
$password = md5($plain_pass);
I then insert their login info into our member's table.
Unexpectedly, when users attempt to login no matching record is found.
Are you sending them
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
MESSAGE RECEIVED
PHP Warning: socket_read() unable to read from socket [35]: Resource
temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on
line 61
This error [35] will occur if the socket isn't ready yet. Its an EAGAIN
* Thus wrote Justin French ([EMAIL PROTECTED]):
Hi all,
Can someone point me in the direction of a function/library/tutorial on
normalising and formatting user-inputted names so that they have the
correct capitalisation etc?
This will work for MOST situations I'm aware of:
?
$name =
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
--- Curt Zirzow [EMAIL PROTECTED] wrote:
By default php streams the STDIN to a file so your just dealing
with buffer sized ~2K-4K. enabling this option makes php put the
contents into memory, thus leaving open the possiblity of someone
* Thus wrote Rudy Metzger ([EMAIL PROTECTED]):
Dear all,
I have a problem with 'referencing' static attributes. I have the
following class tree.
// --- CLASS A -
class A
{
protected static $myInstance;
}
// --- CLASS B --
* Thus wrote Mike Mapsnac ([EMAIL PROTECTED]):
I have script that basically process a file. If something found in the
file, the script send email.
Today I tried to add another option, that gives sound and send email.
The script works ok when I run from shell. But when I add the code to
* Thus wrote Oliver Hankeln ([EMAIL PROTECTED]):
Hi!
I get memory exceded errors and want to find out why. So I am looking
for a way to determine how much memory is currently beeing used by my
script. Is this possible?
getPID + reading from /proc dosent work because php is an apache
* Thus wrote Sam ([EMAIL PROTECTED]):
What do you do with this?
Submit.x=22Submit.y=13
if($_GET['Submit.x'] 0) ???
$_GET['Submit_x'];
php converts .x to _x to be compatible accross browser versions.
Is there some smarter way of dealing with an image as a submit button?
input
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
Hi,
I have two questions involving Constants.
1. I want to refer to a refer to a Constant by its value (which is
unique), and return its name. E.g.,:
define (SEND_DS,1);
define (SEND_DS_ACK,2);
define (RESEND_DS,3);
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
Hi,
I have this code (below) that waits for particular data to come over
the socket (ENX), at which point it breaks out of the loop and does
other things. Presently, it will loop forever, until it receives
ENXa good startbut I also need it
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
Thanks for the help, but I now get the error PHP Warning:
socket_set_option() expects exactly 4 parameters, 3 given in
/Users/test/cr.php on line 51 when I run the script. Also, it still
seems to just wait on that while line, instead of
* Thus wrote Michal Migurski ([EMAIL PROTECTED]):
Anyone have any clue why this is the case? Is there a performance
reason that raw post data must be explicitly enabled, or is it more of
a protective measure for overly permissive beginner scripts?
If it was always enabled, it sure
* Thus wrote Pete ([EMAIL PROTECTED]):
Unfortunately I don't have it on my local php installation.
How can I get it ? I just looked at www.php.net but wasn't able to find
anything useful.
http://php.net/gd
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
Check the value of always_populate_raw_post_data in php.ini on both
servers.
Thats such a funny name.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
* Thus wrote Mike Mapsnac ([EMAIL PROTECTED]):
Hello
I' m writing php script that will request page and save it locally. The
page URL will be parameter (example:
http://www.pagetoget.com/thispage.html). How php can request such page and
save it locally on the file?
$ch = curl_init();
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
* Thus wrote Mike Mapsnac ([EMAIL PROTECTED]):
Hello
I' m writing php script that will request page and save it locally. The
page URL will be parameter (example:
http://www.pagetoget.com/thispage.html). How php can request such page
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
Hi,
I'm developing a PHP program that must send data, over a socket
connection, to a server. The server requires the data in a particular
format, e.g.:
FORMAT:
3-byte delimiter - Message Length (N = 4 bytes) - Message Type (4
bytes) -
* Thus wrote David Yee ([EMAIL PROTECTED]):
Hi- what's the best way to automatically check for parse errors after
editing a php script with vi or vim? I suppose that php -l name_of_script
can be ran after exiting, but I wouldn't want that command to be ran after
running vim everytime. Or
* Thus wrote Fidencio Monroy ([EMAIL PROTECTED]):
Does PHP 5 documentation exist?
I have not found it in php.net.
There isn't any php5 documentation that is seperated from php4.
There is a possibility that this will happen in the future. To see
a some information about whats different about
* Thus wrote hitek ([EMAIL PROTECTED]):
Greetings list,
I have been given a list of products, and I need some help building a
regular expression to split the category from the sub category.
Example:
CamerasDigital_CannonXLRshot -Original entry in list
Cameras Digital Cannon XLRshot
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
When reading from a Socket Server, my Socket Client retrieves data that
includes ASCII and binary data:
while(($buf = socket_read($socket,128,PHP_BINARY_READ)) !== false) {
$data .= $buf;
if(preg_match(/ENX/, $data)) break;
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
//I would Assume that that was packed with something like this:
$string = 'The system is up and running.';
$pck = pack('a3iia*a3', 'STX', strlen($string), 38, $string, 'ENX');
echo $pck, \n;
IIRC
* Thus wrote Dave Carrera ([EMAIL PROTECTED]):
$text2 = preg_replace(/script[^]+.*?\/script/is,,$text2);
Leaves output with language=javascript blah blah
I tested that and it strips the script tags with language too. I
do know that it will not strip script tags that have no attributes:
* Thus wrote Verdon Vaillancourt ([EMAIL PROTECTED]):
Hi :)
This is the original statement that works...
foreach ($this-_content as $item) {
if ($item['type'] == 'item'){
..
ok. good so far.
This is my attempt to count items and put a stop in the foreach so it only
returns 5
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
Hi,
i'm designing a web application and i want to protect my web page from
printing and if possible want to protect source code too.
You can prevent the average joe from printing by putting some css
in your document:
@media print { body {
* Thus wrote Torsten Roehr ([EMAIL PROTECTED]):
Sorry, I mixed up the for and the foreach syntaxes. Here my (hopefully
correct) loop proposal:
for ($i; $i 5; $i++) {
for($i=0; ...)
I wouldn't suggest this method, it is making the assumption that
the indexes are numeric and sequenced from
* Thus wrote Harish ([EMAIL PROTECTED]):
Hi
I am using Linux, Apache, MySql, PHP. In the below mentioned code example when the
counter data that is displayed on the screen going to a indefinite loop. The file
that is read has got sufficient permissions.
* Thus wrote Jason Morehouse ([EMAIL PROTECTED]):
Has anyone tried using curl to fetch a web page and cookies?
?
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, 'http://www.php.net');
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch,
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
I've had a couple people report that the script wasn't finding the paths
correctly, though, so I'm asking if people could test this out on their
server and see if it detects the paths or not.
works fine with freebsd/apache-1.3.x/php5rc1
* Thus wrote Ninti Systems ([EMAIL PROTECTED]):
I read somewhere that memory limitations could cause this, but still, it
only happens sometimes and not others. We are on a crowded shared server
I think.
A quick sample of sizes of images does back this thoery up. Most
pictures I sampled, the
* Thus wrote Diana Castillo ([EMAIL PROTECTED]):
we are recieving Ñ as #209;
¿what type of code is that?
Thats an html entity code.
Is there a function in php to convert it?
echo chr(substr('#209;', 2, 3));
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP
* Thus wrote Tim Traver ([EMAIL PROTECTED]):
Just in case anyone wants to know the solution, I found one on the apache
list...
Apparently, from within an apache module, one can use the function
zend_alter_ini_entry(open_basedir, 13, path, strlen(path), 4, 16);
I am curious as why you
* Thus wrote Aaron Wolski ([EMAIL PROTECTED]):
Now... what about installing for Linux?
Any ideas? :)
./configure --help | grep GD
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
* Thus wrote Tim Traver ([EMAIL PROTECTED]):
Uhhh...I shouldn't have to do that...
and admin on this list should be able to remove those two offending
addresses, right ?
Yes and no.
In most cases it's possible.
But I could set up and email account to recieve posted messages and
then send
* Thus wrote Aidan Lister ([EMAIL PROTECTED]):
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Aidan Lister ([EMAIL PROTECTED]):
...
Please don't reply if you really, really don't know what you are talking
about.
What kind of requirement
* Thus wrote Aidan Lister ([EMAIL PROTECTED]):
I found some more information about it here:
http://bugs.php.net/bug.php?id=24687
It looks like you should assign an object to a variable before returning it.
[31 Dec 2003 11:46am CET] [EMAIL PROTECTED]
This bug has been fixed in CVS.
Either
* Thus wrote Erik Gjertsen ([EMAIL PROTECTED]):
head
title/title
um, your title of you page goes here.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Thus wrote Nik ([EMAIL PROTECTED]):
Include a content from another URL into the current output. I have done
something like
this:
-- code start
?php
include 'http://myotherurl.com:8080';
?
-- code end
You want to use readfile() instead.
http://php.net/readfile
Curt
--
I
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]):
[snip]
# login.php??
[/snip]
If that is in fact line 1 then the # sign is the problem. Use either //
or /* */ style comments.
btw, # is a valid comment.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General
* Thus wrote Todd Cary ([EMAIL PROTECTED]):
I need to go to another page and I use the
header(location: . $the_url_to_the_page);
Is it possible to use this method with POST so that the info does not
show in the URL?
No.
You can use session's to pass data without the user knowing about
* Thus wrote Aidan Lister ([EMAIL PROTECTED]):
How _should_ this be done? In terms of best practice.
?php
function foobar ()
{
return new SomeObject;
}
?
Or:
?php
function barfoo ()
{
$tempvar = new SomeObject;
return $tempvar
}
?
I'm not exactly sure what your
* Thus wrote Stephen Allen ([EMAIL PROTECTED]):
On Thu, May 06, 2004 at 01:15:17AM +0200 or thereabouts, Richard Harb wrote:
... and onsite would be where ?
Amman, Jordan I think. I wouldn't want to be a Caucasian over there working, at this
point in time.
I'd be more weary that the OP was
* Thus wrote Paul Chvostek ([EMAIL PROTECTED]):
On Thu, May 06, 2004 at 11:26:34AM -0400, Rob Ellis wrote:
$text = ereg_replace(!--[^]*--,,$text);
you can make the .* less greedy...
$text = preg_replace('/!--.*?--/', '', $text);
Interestingly, from a shell:
$
* Thus wrote Rob Adams ([EMAIL PROTECTED]):
Php Email List [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
$smiley = :);
include_once(evil_laugh.php);
echo $laugh $smiley;
//Echo'd: Muuuhahahahahah :)
You're syntax is a little off here. You need to use:
echo $laugh .
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]):
John Nichel wrote:
[EMAIL PROTECTED] wrote:
Sadly, I get nothing...
the other server I'm talking to is owned by our company, it's a
Lotus Domino server... so in theory, they'll be able to enable this
variable to be passed?
I can never
* Thus wrote Aaron Wolski ([EMAIL PROTECTED]):
I guess my question is.. what exactly do I do? Lol. I look at my
phpinfo() and I see that PHP was not compiled with GD.
I look at my compile line in phpinfo and this is what I have:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
901 - 1000 of 1998 matches
Mail list logo