On Tue, Aug 07, 2001 at 11:58:51AM -0600, mike cullerton wrote:
>
> i don't use echo either. i use printf. i was just trying to pass along some
> things i learned reading the manual that were related to the topic.
Cool... finaly. You won't believe how many people use echo(). And I
realy don't kno
Hi!
I just came across this weird thing. Bug? You tell me!
print (int)((8.85-8)*100);
I would think the line above would print "85". But for some reason, it
prints "84"?? Can anyone tell me why that is?
--
Intent A/S
Tais M. Hansen
Web Developer
--
PHP General Mailing List (http://www
>I've seen some posts on this, but since this mailing
>list keeps getting bigger- I wanted to put the
>question out again:
>
>What large commercial websites use php?
about two weeks ago there was a thread called "Example high-profile PHP sites"
A few links were provided..
Bye,
B.
--
PHP G
On Tue, Aug 07, 2001 at 09:26:48AM -0700, Mark Maggelet wrote:
>
> This isn't right, empty() won't give an error if $input isn't set.
That's true. Empty() doesn't return an error when $input isn't
defined. I didn't RT(F)M on this one. I always use "(!isset($something)
&& empty($something))" to c
On Wed, Aug 08, 2001 at 10:06:51AM +0200, Renze Munnik wrote:
> (...)
> checks the returnvalue of printf() and stuff (another thread in this
> list).
oops... it's the same thread...
I NEED COFEE!!!
--
* R&zE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
>There was a post earlier very similar to this. If you have a database, you
>could use SELECT LEFT(mycolumn, 100) FROM mytable WHERE ...
>Without a db, you can use the PHP substring function:
>substr()
Except that would return the first 100 characters and not the first 100
words as requested.
On Wed, Aug 08, 2001 at 12:52:42AM +0100, Andreas D. Landmark wrote:
> 1) proxies should cache dynamic content
> 2) proxies should not retrieve from cache if the request is a force-refresh
> 3) proxies should not cache any content which URL includes "?"
>
> Sounds like you've got yourself a poor
On Wed, Aug 08, 2001 at 12:45:32PM +1000, Chris Birmingham wrote:
> I would use
>
> $HTTP_SERVER_VARS["REMOTE_ADDR"]
> or
> $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]
>
> to return the IP address..
>
> I have seen, people using if($ip == $REMOTE_ADDR) { // do whatever }
> but in some configurat
> You can tell it using the variables from the server. Using Apache you
> can access the variables specs at:
>
> http://www.apache-ssl.org/docs.html
>
> With Apache SSL is SSL_CIPHER returns the variable about SSL/TLS
> ciphersuite.
Do you know how I would access that variable from PHP? Is tha
On Tue, Aug 07, 2001 at 11:27:51PM +0500, Vikram Vaswani wrote:
> Hi,
>
> 'nother question: if I have a form which submits data in POST to script
> "a.php", and I now want to pass this POSTed data to "b.php" - how do I do
> this?
>
> I have tried the technique of iterating through $HTTP_POST and
>Try using sessions. Put the values/variables from $HTTP_POST_VARS
>into the session and then U can use 'm again on b.php.
Or.. put the post vars into hidden textfields.. these do get posted to the
next page..
If you run out of luck and have to deal with PHP3.. sessions doesn't seem
to work v
you must use float not int :D
- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "'[Intent A/S] Tais M. Hansen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:01 PM
Subject: RE: [PHP] Bug?
> good point.
>
> ...and try this out:
>
>
> echo (i
On Wed, Aug 08, 2001 at 07:06:13PM +1000, ReDucTor wrote:
> you must use float not int :D
Using float doesn't solve the problem, does it? Point is that when
using int, the damn thing doesn't get it straight. And that's WEIRD.
I mean the result of (8.85-8)*100 is already an integer and not
convert
if you use
echo (float)((8.85-8)*100);
it works because 8.85 go's to 0.85 and times that by 100, and you get 85
which is what you get...
- Original Message -
From: "Renze Munnik" <[EMAIL PROTECTED]>
To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:
Greetings!
Can anybody give me, PHP4 released date?
Looking forward to hearing from you.
Warm Regards,
DT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
What you are looking for isn't a php function, but a module in apache called
mod_rewrite..this is usually installed in most apaches, if not can be done
easily.
so in the stie .htaccess (or indeed in the master conf) you would do
something like
RewriteEngine On
RewriteRule ^/login/[a-zA-z0-9]* /l
i found this
http://www.php.net/manual/en/language.types.double.php#warn.float-precision
it explains the problem
";
echo (float)($q)."";
echo (int)($q)."";
echo var_dump($q)."";
?>
gives out
85
85
84
float(85)
- Original Message -
From: "Darius Ivanauskas" <[EMAIL PROTECTED]>
To: "Max
Another point is to remember that each page request may come from a
different IP address.
For example, where I work in IBM, every out going connection goes from one
of 30 or so boxes, each with their iwn IP, so in the process of browsing a
site each request for a file can come from one of those I
4.0.6 is out, and has been from the 23rd of June 2001..
- Original Message -
From: "Deependra B. Tandukar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:31 PM
Subject: [PHP] PHP 4 released date
> Greetings!
>
> Can anybody give me, PHP4 released date?
>
On Wed, Aug 08, 2001 at 07:18:26PM +1000, ReDucTor wrote:
> if you use
> echo (float)((8.85-8)*100);
> it works because 8.85 go's to 0.85 and times that by 100, and you get 85
> which is what you get...
Maybe you've heard about dynamic pages and stuff...
Say:
$a = 8.85;
$b = 8;
$c = 100;
$res
if (empty($value)) { ... }
On Wed, 1 Aug 2001, Craig Vincent wrote:
>
> > When a field is declared as an integer, not null and is the primary,
> > how would I address it's empty set?
> >
> > ex: if($value == ???)
> > {
> > bla
> > bla
> > bla
> > }
>
in my php scripts I am using forms which are posted to itself, each time fields are
submitted the php scripts checks the syntax before moving onto the next part of the
form, if there is an error the script will tell the user that there is an error and to
use the back button to correct the form,
oops sorry, dont think it was a php problem but a problem with my browser !!
- Original Message -
From: David Ovens
To: php
Sent: Wednesday, August 08, 2001 10:56 AM
Subject: blank form
in my php scripts I am using forms which are posted to itself, each time fields are
s
Hi
When I try to upload files using the example in the PHP documentation, i get
uploaded files with the first two lines being e.g.:
"
Content-type : image/jpeg
"
How can I remove this mime type from the images that I upload (so I can
perform some manipulation of the images)
The code :
echo "";
/
Hi there,
Lately you see a lot of sites that detect the language of the client
browser.
For example if i visit google it's in dutch. I know they detect this using
the browser, but i'm not sure on how it's done.
Can someone shed some light on this?
Thanks,
Jeroen
--
PHP General Mailing List
Hello all,
I'm having a trouble. I'm programming an CMS
for one pc company. So in example i'm doing
a pc category catalog admin. They can add/delete/modify
theese category's. But also they want one feature:
they want to edit all category's in one form.
So i made a form that displays all category'
Hi All,
I was wondering if there exists, either in PHP (I can't find anything) or
something someone has written (again, my searches have been fruitless) to
convert non-english european characters to the english equivalents eg å to a
etc.
TIA, Tom
--
PHP General Mailing List (http://www.php.ne
Hi all,
What tool do you recommend to compose PHP pages?
I am traditionaly an ASP developer and I have always used Ultradev and
Interdev.
What is available??
Cheers
Nic
(Answers by email would be prefered)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
[EMAIL PROTECTED] (Nic Skitt) wrote:
> Hi all,
>
> What tool do you recommend to compose PHP pages?
>
> I am traditionaly an ASP developer and I have always used Ultradev and
> Interdev.
>
> What is available??
some are found here (under editors :):
http://www.alt-php-faq.org/links.html
--
The best way of doing this is to name the fields catid[]
The [] means that they are inserted into an array in the order they appear
on the page, so on the page with deals results you just have to cycle
through the array.
As a side point, there is no way of telling what has been modified and what
You can enumerate the form vars for example
if you have an unkown amount of comments
for($i=0;$i";
}
etc
Bolke
(sorry I'm not going to look at your code, better split HTML creation
and data(-retrieval))
Bolke
-Oorspronkelijk bericht-
Van: vz [mailto:[EMAIL PROTECTED]]
Verzonden: We
Hi everyone :)
imagine this if you will..
ugly form with a text input field that is focussed when the form loads,
erm.. nice.
now, I like to put all my form stuff into associative arrays, makes things
a lot nicer when I am doing things later... but this... means someth
>What tool do you recommend to compose PHP pages?
>
>I am traditionaly an ASP developer and I have always used Ultradev and
>Interdev.
Welcome to the club..
If you take a moment to search the archive.. this question has ben answered
quite a few times in the last month.
Bye,
B.
--
PHP Gen
forgot something
to enumerate them in your script use something like
for ($i=0;$imailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 1:20 PM
Aan: 'vz'; [EMAIL PROTECTED]
Onderwerp: RE: [PHP] How to post unknown amount of data ?
You can enumerate the form vars for example
if you
I knew it was a joke yeah... really... I did ;)
- k
- Original Message -
From: "Ryan Fischer" <[EMAIL PROTECTED]>
To: "kath" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 11:20 PM
Subject: Re: [PHP] close browser
> You wrote:
> > >
This is because you currently only have one field on your form named
arraystuff. The browser only creates an array of elements if there is more
than one of them. arraystuff.focus(), would work at present.
-Stewart
-Original Message-
From: Daniel James [mailto:[EMAIL PROTECTED]]
Sent: 0
Although, I haven't used and don't know it at all.
I think recode extension will do that.
http://www.php.net/manual/en/ref.recode.php
--
Yasuo Ohgaki
"Tom Carter" <[EMAIL PROTECTED]> wrote in message
015601c11ffb$61fedeb0$0a00a8c0@bjorn">news:015601c11ffb$61fedeb0$0a00a8c0@bjorn...
> Hi All,
>
Hello,
I convert the time in seconds to do some calculations, now I want
to convert a number of seconds in a presentable HH:MM:SS format.
In other words, how do you change this 997271630.08651
in 08:14:32 ?
py
p.s. I use this to get the number of seconds.
function getmicrotime() {
$temparray
Hi,
Use getenv() since it is a CGI variable. Look at the manual.
Sean C. McCarthy
SCI, S.L. (www.sci-spain.com)
"Dr. Evil" wrote:
>
> > You can tell it using the variables from the server. Using Apache you
> > can access the variables specs at:
> >
> > http://www.apache-ssl.or
Pierre -
py> In other words, how do you change this 997271630.08651
py> in 08:14:32 ?
you can use date() in conjunction with mktime().
Have a look at the manual there are good examples and users comments there.
Cheers,
Gianluca
[EMAIL PROTECTED]
BcnInédita
EURO RSCG INTERACTION
www.bcnin
Thanks to all who replied, this solution by Chris was bar far the
easiest to implement.
Really appreciate it :)
Chris Lambert wrote:
> $teaser = explode(" ", $article, 26));
> array_pop($teaser);
> $teaser = implode(" ", $teaser);
Justin French
--
PHP General Mailing List (http://www.php.n
I think I saw a code to list the files, subdirectories and the files in the
subdirectories of a simple directory in this list some time ago, but I didn't save it.
Considering the quantitie of messages in this list, It's quite dificult to find this
specific code, so ask the person who did it or
Hi,
The best way would be to create a dir inside inetpub\wwwroot\ and give this
directory execute permission in PWS.
It should start working then. If it doesnt check ur php.ini for settings.
best of luck,
Karthik.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
[EMAIL PROTECTED] (Eduardo Kokubo) wrote:
> I think I saw a code to list the files, subdirectories and the files
> in the subdirectories of a simple directory in this list some time
> ago, but I didn't save it. Considering the quantitie of messages in
> this list, It's quite dificult to find
Yes that is what I mean, but also When I played with my Apache I
saw ALL my information on the screen without any error message.
Actually it maybe that my PHP server was down at that moment
as well, well, I must check it up
Youri
On 7 Aug 2001, at 13:00, Bjorn Van Simaeys wrote:
> Hi,
>
>
I would have had no clue that there was an archive, so it's good to know.
Thanks!
>> What tool do you recommend to compose PHP pages?
>>
>> I am traditionaly an ASP developer and I have always used Ultradev and
>> Interdev.
>
> Welcome to the club..
>
> If you take a moment to search the arch
Yes, I find I have to do this a lot if I have
multiple rows in a form and I want to do anything with
javascript.
I use commands like this:
document.formname["the_checkbox[9]"].checked = true
and if you needed to stick a variable in the index:
theform["the_checkbox["+the_index+"]"].checked = tru
Richard,
Check out http://marc.theaimsgroup.com
The WWW section contains many PHP list archives.
I couldn't live without this resource.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Data Integration Technology Pr
I wish it did.
Still the same problem.
Hello visitor, you have seen this page times.
http://www.militarycity.com/classified/realtors/count.php
Chad
-Original Message-
From: karthik [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 1:08 AM
To: Chad Day
Subject: Re: [PHP] Sessio
I seem to recall that you can call a PHP script with a slash after it then
variables. For instance http://localhost/script.php/your=mom. I can't find it
in the manual, and was wondering if anyone knows how it works.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
I mean he will know all your sensitive information to enter your SQL
server in couple of hours when server will be up again.
Youri
On 7 Aug 2001, at 14:40, Tyler Longren wrote:
> If the SQL server is down how will he hack it? That's like hacking a
> webserver that doesn't exist.
>
> Tyler Lo
If you have Apache and MySQL servers make this experiment -
start Apache but "forget" to start SQL and go to your site
http://localhost/... you will see yourself all the information on the
screen.
Youri
On 7 Aug 2001, at 12:53, Ryan Christensen wrote:
> I'm curious as to how the "hacker" wou
Hi folks
Something I find confusing about using UCD-SNMP with PHP 4.0.6 is that I
can't pass something such as:
enterprises.cisco.workgroup.ciscoStackMIB.portGrp.portTable.portEntry.portName
to snmpwalkoid - it sits around, then complains that this is an invalid
object identifier.
Is it poss
Hello all,
I've been trying to find a good regular expression pattern to find
URLs. I have found some that work fine when the protocol is included ie
http://www.php.net . But I can not find one that will find www.php.net .
Does anyone know where a good database of Regular expressions can be
fo
function TrimString($sString,$iLen=125){
$retstring=strtok($sString," ")." ";
do {
if(!$tmp=strtok(" ")." ") break;
$retstring.=$tmp;
} while(strlen($retstring)<$iLen);
if(strlen($retstring) Hi,
>
> What I'd like to do is take a string (paragraph) of text consisting of say
> 500 wo
$line = htmlentities(stripslashes($line));
$line = nl2br($line);
$line = eregi_replace("\[(link|url)=(.*)\](.*)\[/(link|url)\]","\\3",$line);
$line = eregi_replace("\[color=(.*)](.*)\[/color\]", "\\2", $line);
$line =
eregi_replace("\[(blockquote|indent)\](.*)\[/(blockquote|ind
For future reference using explode and counting the words is not the correct
way to do this. Your array could be huge, and if you have multiple requests
to the page this would be a horrible idea. I believe the correct way to do
this is to use MySQL inherent function SUBSTRING_INDEX(str,delim,cou
Testing..
Check, check, 1 2..2..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On 08-Aug-2001 Jeroen Geusebroek wrote:
> Hi there,
>
> Lately you see a lot of sites that detect the language of the client
> browser.
> For example if i visit google it's in dutch. I know they detect this using
> the browser, but i'm not sure on how it's done.
>
> Can someone shed some light
If you are using MySQL use the function:
SELECT SUBSTRING_INDEX(column_name, ' ', 100) FROM table_name
would return the first 100 words.
This is in the MySQL manual, this was also answered earier on the list.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>From MySQL manual:
h
Hi.
Does anybody know of any issues in PHP 4.0B2 regarding to the handling of
session variables on different networks?
Here is the problem. I have written a user authentication system using
session variables. When the user logs in their name and pass are stored as
an associative array (with othe
At 06:19 8-8-01 -0700, Richard Baskett wrote:
>I would have had no clue that there was an archive, so it's good to know.
>Thanks!
It's on the same page where you subscribed to this list..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Try this
http://$HTTP_HOST";;
$base = './';
$basedir = opendir("$base");
while ($file = readdir($basedir)){
if ($file != '.' && $file != '..' && eregi(".htm","$file"))
{ print("$baseurl/$file\n");
flush();
}
if ($f
I think you think to the GET method :
http://www.mysite.com/script.php?your=mom
At 06:13 08/08/01 -0700, Evan Nemerson wrote:
>I seem to recall that you can call a PHP script with a slash after it then
>variables. For instance http://localhost/script.php/your=mom. I can't find it
>in the manual
On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said:
> I wish it did.
>
> Still the same problem.
>
> session_start();
> global $count;
> session_register ("count");
> $count++;
> ?>
>
> Hello visitor, you have seen this page $HTTP_SESSION_VARS["count"]; ?> times.
You're asking the sess
> -Original Message-
> From: Deependra B. Tandukar [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 4:31 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP 4 released date
>
>
> Can anybody give me, PHP4 released date?
The NEWS file in your PHP directory gives the date of each
Any ideas ?
Regards,
Darius Ivanauskas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Nope. Same problem. I'm seriously thinking there's a bug in the version of
PHP I am running at this point, but I searched php.net and found no mention
of anything ..
Chad
-Original Message-
From: Brian Dunworth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 10:37 AM
To: [E
Thanks, I feel a bit moron ;) it seems like I missed it while reading the
manuel,
sometimes the solution is so obvious that it becomes trivial!
py
- Original Message -
From: "Thomas Schmid" <[EMAIL PROTECTED]>
To: "'pierre-yves'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 8:23
On Wed, Aug 08, 2001 at 04:43:15PM +0200, Darius Ivanauskas wrote:
> Any ideas ?
fatal errors cannot be caught in user-space as of now.
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
someting i've used.
At 03:57 PM 8/8/2001 +1100, Justin French wrote:
>Hi all,
>
>I'd like to split a text block at 25 words, as a teaser for the full
>article. Now I know how to split at a certain character, but i don't
>want a half word or anything, so I want (i guess) to hunt for the 25th
> If( strcmp($voorraad[1],'on') == 0 )
> // it's checked
> else
> // it's not
Alternatively, fix your HTML by using quotes and a value attribute:
Then:
if ($voorraad=='something') {
// checked
}
- Colin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
> -Original Message-
> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 8:51 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] 3rd include
>
>
> Has the "3rd include" bug (where variable definitions are
> "lost" at the 3rd include), been fixed yet?
The obvious
>
>
>
>
>
>
>
>
> and like that the text field won't focus and the parser tells me that
> arraystuff has no properties and that inputfield is undefined.
... should work.
- Colin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
It works pretty much as you described. :)
Make a script like that and run phpinfo() from it and you'll see all the
variations on $PHP_SELF and $HTTP_SERVER_VARS[] that allow you to
retrieve the extra parameters from the URL.
Note that if your page displays images, you'll need to include a tag t
> Does anybody know of any issues in PHP 4.0B2 regarding to the handling of
> session variables on different networks?
That little "B2" in the version number almost guarantees that there will
be problems of some sort.
> Does
> anyone have any suggestions (except for 'Upgrade PHP on the 4.0B2 s
"B. Van Ouwerkerk" <[EMAIL PROTECTED]> wrote in message
> It's on the same page where you subscribed to
> this list..
Actually this is also a newsgroup that don't require subscription:
Server: news.php.net
Group: php.general
Best regards,
Søren Nielsen
--
PHP General Mailing List (http://ww
You might want to have a look on this script:
http://www.digitalgenesis.com/software/dgssearch.html
It can search specified directories/file extensions/databases, or deny
search for the same, and many other options.
--
Julio Nobrega.
2B||!BB - That's the question.
"Steve Wright" <[E
Hi,
I'm having a problem using require with a url. What I'm trying to do is
have a php script on a server that calls a file on another server using
require. The file that is called on the other server contains php
functions that the calling php script uses.
I my attempts so far I get:
Fatal erro
What's on line 51? The error is on line 51 in survey.php. require()
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
isn't on line 51. The error occurs because there's no login() function.
On Wed, 8 Aug 2001 10:08:01 -0600 (Mountain Daylight Time)
<[EMAIL PRO
Hello,
I remember there was a warning in the PHP Manual about
this. This is it:
** Never cast an unknown fraction to integer, as this
can sometimes lead to unexpected results.
** echo (int) ( (0.1+0.7) * 10 ); // echoes 7!
So do your calculations first, and then echo the
results. This way
Hey Renze,
Don't you think that checking too much is useless and
takes a bite out of your performance too? Don't waste
your time.
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Renze Munnik <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 07, 2001 at 09:26:48AM -0700, Mark
> Maggelet wrote:
> >
Hi to all, I need to create web pages containing images which should be
updated periodically, but the image contents may vary as data coming from a
database varies.
What is that?, well the image will contain dynamic objects and static
objects. The dynamic objects can be text (representing databa
Line 51 has a call to login(). The login() function is in functions.php
which lives on a different server. I try to use functions.php by putting
the require statement in survey.php. This works when they both live on the
same server but when I try using require with the url to a remote server
it fa
Hi,
read the manual on the GD-library (www.php.net/image)
it wont do any GIFS anymore, but it'll all the rest
Bolke
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 6:14 PM
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Image Gene
Is that file living on a HTTP server which PARSES the function? Eg do you
get
the source code when directly requesting it from a browser or an empty page
(or whatever)
Bolke
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 6
> Has the "3rd include" bug (where variable definitions ar
> "lost" at the 3rd
> include), been fixed yet?
>
> --Drew Vogel
Drew, I hadn't heard about this one. If you find anything, would you please
post back your results to the list?
TIA
Kirk
--
PHP General Mailing List (http://www.php.ne
Hi David,
This is indeed not a php problem, but a browser
feature. The browser forces a reload whenever you have
a '?' in your code! (unless you use some proxy..).
I would also like to know how to overcome this - if
possible.
Greetz,
Bjorn Van Simaeys
--- David Ovens <[EMAIL PROTECTED]> wr
Yeah the file is on a HTTP server. I don't exactly get the source code
showing though as it is enclosed in php tags and the HTTP server is
running php.
Thanks,
Nigel
On Wed, 8 Aug 2001, Bruin, Bolke de wrote:
> Is that file living on a HTTP server which PARSES the function? Eg do you
> get
> t
Hi,
I noticed in php.ini there was a setion for debugger, I tried enabling this
and connecting to the specified port, but no joy.
Anyone know how to get this working ?
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Could somebody please show me, send me an example or redirect me to a page which shows
how to show a random FLASH movie from a text file which contains different names of
different movies so that when i go on the page it shows lets say, 1 of the 5 movies in
the text document.
Finally and almos
Hi, I'm a real newbie at this stuff and I have a little problem... I read
the manual but the answer to my questions were not clear. What I am trying
do do is track down a user when he or she visits my site. I would like to
store some information about them into mySql...Information like, username,
Use file() to load in the names of the movies from your text file into
an array.
Use rand() to pick one of them from the array.
- Tim
On 08 Aug 2001 17:47:36 -0700, Kyle Smith wrote:
> Could somebody please show me, send me an example or redirect me to a page which
>shows how to show a random F
http://www.phpbuilder.com is loaded with goodies that should be able to
help you.
- Tim
On 08 Aug 2001 12:49:56 -0400, Jeremy Morano wrote:
> Can anyone give me some information or a link other than php.net
> PLEASEthank you.
--
PHP General Mailing List (http://www.php.net/)
Hey Jouri,
I don't agree with this one. I tested it out on my
localhost and got the two error messages I told you I
was going to get:
Warning: Unknown MySQL Server Host...
Warning: MySQL Connection Failed...
No usernames/passwords. I have to say however that I
always include my connect.php fil
I searched the database and did not find anything. I was not sure if the
bug could possibly be entered under a different title, though. It is
discussed in the manual errata for the include() function, so I would
assume the developers at least know of it.
--Drew Vogel
On Wed, 8 Aug 2001, Mark Roe
Maybe you have your cookies turned off in your
browser? Something that is easily forgotten..
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Chad Day <[EMAIL PROTECTED]> wrote:
> Nope. Same problem. I'm seriously thinking there's
> a bug in the version of
> PHP I am running at this poi
I don't see anything in the annotations for include() about losing
variable definitions...the notes that I see that look remotely relevant
are those regarding what PHP considers to be the "current directory"
when doing nested includes, which would cause problems in locating the
include files thems
Hey Colin,
You will need some javascript to handle the checkbox'
onchange event because when the user clicks the
checkbox off and back on, the value will be 'on' - and
your if-condition will not work!
Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
--- Colin Viebrock <[EMAIL PROTECTED]> wro
The debugger is not built into PHP 4, it was a feature in PHP 3.
--Matt
-Original Message-
From: Peter Dowie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 12:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Is there a debugger ???
Hi,
I noticed in php.ini there was a setion
1 - 100 of 182 matches
Mail list logo