I try to have the php ldap functions working with SSL ,
but when the code is executed the apache child die !!!
is there anyone with that working
regards
--
__
Matthieu LE CORRE
SERVICE
Is "::" used only when referencing on parent class or it has some other funcionality
??? Whaere can I find more documentattion on this topic ???
-
Milan Mlynarcik
Web Programmer
Charmed Technology Slovakia
Nam. sv. Egidia 16/37
058 01
Hi!
Well I need help with something. I have a form which
has a ction to a file called actio.php
Now When I hit the submit button. It goes to the file
and it performs a certain action as seen below:
action.php: is as follows:
?php
if(isset($userfile))
{
echo "$userfile is set";
global
Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from [EMAIL PROTECTED] Tue, 6 Mar 2001 01:29:52 -0500
Frankly, I don't know how people would otherwise handle connections
to MySQL since the attempts could, potentially, block forever.
I guess because the
On Tue, Mar 06, 2001 at 09:27:55AM +0100, Matthieu Le Corre wrote:
I try to have the php ldap functions working with SSL ,
but when the code is executed the apache child die !!!
is there anyone with that working
Works fine for me. I know one other person with the same problem as you.
He also
Addressed to: Darren Ward [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from Darren Ward [EMAIL PROTECTED] Tue, 6 Mar 2001 18:17:11
+1100
Hi Guys,
Newbie to the list and the world of PHP.
I'm having a LOT of trouble getting PHP to work.
The PHP and Apache installs
Thanks to all who replied, that works fine although only as extenmsion php
and not php3 but I'll sort that out.
A second follow up question is where I should place the ini file to change
environment variables?
What I've read doesn't work :(
Darren
-Original Message-
From: [EMAIL
Addressed to: Rick St Jean [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from Rick St Jean [EMAIL PROTECTED] Tue, 06 Mar 2001
01:47:05 -0500
A good way to do what you are asking is a combination of the last two
suggestions...
if( count( $Area )) {# Don't do
Hum the ldapsearch work fine !!!
with the command : ldapsearch -x -H "ldaps://x..xx:636"
I have got a possitive response from server !
and I don't use SASL ...
really don't know why is don't work with php !!!
my box : RH7 KDE2
Apache 1.3.17
php 4.04 pl1
php-general Digest 6 Mar 2001 09:50:23 - Issue 550
Topics (messages 42677 through 42729):
Get text between a href="" /a
42677 by: Keith Mayo
42679 by: Henrik Hansen
speeding a site with lots of includes
42678 by: Eduardo Dominguez
42698 by: Chris Lee
Re:
On Tue, Mar 06, 2001 at 10:54:24AM +0100, Matthieu Le Corre wrote:
Hum the ldapsearch work fine !!!
with the command : ldapsearch -x -H "ldaps://x..xx:636"
I have got a possitive response from server !
and I don't use SASL ...
I got some info from the other guy. He also used RH7
I have a chat software working on www.jumatateata.ro
The problem is that all the time I get mysql sessions opened and I don't
understand.
I used mysql_connect (at the beggining of every script) and mysql_close in
the end.
The ISP told me that still remain mysql sessions opened.
Then I used
i don't use SASL
so when i use ldapsearch without -x
I get "ldap_sasl_interactive_bind_s: Unknown authentication method"
but it doesnt crash !
when i use php ldap functions with ssl
php doesn't crash but juste an Apache child crash !
so you think that if i compile openldap without SASL i will
On Tue, Mar 06, 2001 at 11:22:55AM +0100, Matthieu Le Corre wrote:
i don't use SASL
so when i use ldapsearch without -x
I get "ldap_sasl_interactive_bind_s: Unknown authentication method"
but it doesnt crash !
Okay, the other guy had a crash there. For me it works without -x and
I don't use
I've looked into bug tracking software at hotscripts: mantis
http://mantisbt.sourceforge.net/mantis/main_page.php3
is promising but has too many bugs itself still (I fixed three in the past
20 minutes of playing with it, it's still in beta, but I can't afford the
estimated x days of debugging
Le Mardi 6 Mars 2001 11:35, vous avez crit :
I'm not sure of anything, but what I would have done to debug it, is to
use gdb either on the Apache process or on a stand-alone PHP. I prefer
debugging with a stand-alon binary myself. Then run PHP with your script
and see what happens. If you
stasTue Mar 6 03:38:56 2001 EDT
Modified files:
/php4/main php_ini.c
Log:
Don't insert empty path if PHPRC is empty
Index: php4/main/php_ini.c
diff -u php4/main/php_ini.c:1.53 php4/main/php_ini.c:1.54
--- php4/main/php_ini.c:1.53Sun Feb 25
There's been some discussion on the OpenLDAP lists as well, and there
seems to be a fix around. See
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=889
Stig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello all,
is there any solution when working with variables that have blank spaces, because when
read the variavel to a select, it only appears the first word (e.g. having: "aaa bbb
ccc", it only appears "aaa").
T.Y.All
Best Regards
Miguel Loureiro [EMAIL PROTECTED]
Look the message:
Warning: Rename failed (Invalid cross-device link) in
/usr/local/etc/httpd/htdocs/intranet/upload.php on line 26
What i'm doing wrong???
My code:
html
head
script
function nomearq()
{
teste.nome.value=teste.arquivo.value;
}
/script
body bgcolor="#E6"
?php
if
I am trying to build a form which can be geberated dynamically
by the user selecting the number of fields up to a max of 10.
just now i am using
if ($fields ==1){
echo "input type=text name=test";
}
elseif ($fields ==2){
echo "input type=text name=test";
echo "input type=text name=test";
}
Hi George!
george wrote:
I am trying to build a form which can be geberated dynamically
by the user selecting the number of fields up to a max of 10.
just now i am using
if ($fields ==1){
echo "input type=text name=test";
}
elseif ($fields ==2){
echo "input type=text name=test";
echo
I have a form which is submitted by a POST action.
After submitting, the same page (updated though) returns
with the form. (It's a messageboard)
Now when someone refreshes/reloads the page they get the
question if they want to resubmit the form.
I don't want that. You get double posts this
Javascript? (I know it's generally horrible, but it's good for this sort of
thing)
Stick this in your head.../head:
script language="JavaScript" type="text/javascript"!--Begin
var submitcount=0;
function jsCheck() {
if (submitcount == 0) {
submitcount++;
I found this one. Perhaps it's interesting for someone. Maybe it's even a
bug. Or maybe i ignored some specifications. However:
This query:
foo-script.php?param=value#anchorname
will lead to 'value#anchorname' for $HTTP_GET_VARS['param']
Better is this one:
On Monday 05 March 2001 23:09, you wrote:
I need some help with a program, I need to get every
instance of text between a href = GET TEXT HERE
/a and save the results in a variable. Does anyone
have some example code of how to do it along with how
to put the results into just one variable?
ok, what i wanted to do was:
1. submit a variable ('param') to the following page
and independently
2. on the following page jump to an anchor ('anchorname')
of course, if you want to submit the variable: 'value#anchorname' to the
following page the first approach ist the one
On Monday 05 March 2001 23:20, you wrote:
An app I am currently developing has grown a lot. It currently
handles aproximately 12 includes, more or less 13 thousand lines
of code.
By doing some benchmarks, i realized that the bottleneck is the
include() payload.
Are you sure it's the
That's not really what I want
http://pub.alxnet.com/guestbook?id=200
(this one works)
does it without.
On my page I am using a child window to reload the parent window
, so your solution can't be used unfortunately.
Bolke
-Oorspronkelijk bericht-
Van: Jon Haworth [mailto:[EMAIL
Thanks,
works a treat
george
--
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 Monday 05 March 2001 23:44, you wrote:
I am looking for some big name sites using PHP.
I will be doing a presentation next month and would like to show a list
of sites that are using PHP.
Well, sourceforge.net is pretty big (and complex).
Well, I've had the same problems with an "Send SMS" routine and it caused
the message to get sent twice or more if the user refreshed.
I fixed this by adding the following logic:
If there are post-data, put this into a session variable (an array of
key=val) and reload the page.
if there are no
chregu Tue Mar 6 05:25:45 2001 EDT
Modified files:
/php4/pear/Cache/Container file.php
Log:
deleteDir deletes now the created "group"-Directories as well.
Hope it works on windows as well...
Index: php4/pear/Cache/Container/file.php
diff -u
I am trying to let a user build a form, so
on the first page they decide on the number of fields , when they submit
that number it names them field1 2 3 etc,now I then want them to name the
fields but the problem is because the number of fields varies how do I pass
all the variables onto the
Hello all,
I'm lookign at having to do a user registration setup, and I would imagine
the best way to do that would be a databse. The server has mySQL setup on
it, but I have no experience with it.
Can anyone point me to some good basic primers? Soemthing that just creates
a db that holds
I am trying to let a user build a form, so on the first page they
decide on the number of fields , when they submit that number
it names them field1 2 3 etc,now I then want them to name the
fields but the problem is because the number of fields varies how
do I pass all the variables onto
Many people recommend bugzilla from netscape.
Rick
At 10:49 AM 3/6/01 +, Peter Van Dijck wrote:
I've looked into bug tracking software at hotscripts: mantis
http://mantisbt.sourceforge.net/mantis/main_page.php3
is promising but has too many bugs itself still (I fixed three in the past
20
Hi,
I use a product database for 2 sites, one of which adds sales tax and rounds
to the nearest .10 and on the other site there is no tax and also no
rounding.
I am unable to figure out why a price of 1000.00 is being displayed as 1.00
and any price over 1000 does the same thing. 100.00 works
Use a for loop with
?
for ($i=1; $i = $fields ;$i++)
{
print("input type=text name=test");
}
?
Or you can use a while loop with a counter... same thing.
At 12:17 PM 3/6/01 +, you wrote:
I am trying to build a form which can be geberated dynamically
by the user selecting
zeevTue Mar 6 07:00:08 2001 EDT
Modified files:
/php4/sapi/apache mod_php4.c
Log:
Avoid writing to error_log in case of aborted connections.
Index: php4/sapi/apache/mod_php4.c
diff -u php4/sapi/apache/mod_php4.c:1.89 php4/sapi/apache/mod_php4.c:1.90
code snipits allways help :) but a guess would be that your not putting the var in ''
echo "
select name='somename'
option value='$value'$value
/select
";
please email if this is not the problem.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph.
try this, your code example has some design flaws.
?php
include_once('session.egn');
if (isset($HTTP_POST_VARS['submit']))
if ( isset($HTTP_SESSION_VARS['done']) AND $HTTP_SESSION_VARS['done'] == $PHP_SELF)
{
echo "a br\n";
echo "You can only press submit once br\n";
Is there a comma in one thousand, e.g., 1,000.00? round() will truncate
everything to the right of a comma.
Kirk
-Original Message-
From: Martin E. Koss [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 7:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Rounding to strange results
joostersTue Mar 6 07:09:15 2001 EDT
Modified files:
/php4/sapi/isapiphp4isapi.c
Log:
Thread hashtable was being initialized with a size of 1! Changed to 128 as
a more sensible number.
# Also could change the 'expected resources' parameter from 1,
You can write a function that get the %(mod) of 1000 then subtracts it
from the number.
Rick
At 08:43 AM 3/6/01 -0700, Johnson, Kirk wrote:
Is there a comma in one thousand, e.g., 1,000.00? round() will truncate
everything to the right of a comma.
Kirk
-Original Message-
From:
How can I tell reliably if someone has cookies turned off?
--
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]
zeevTue Mar 6 07:10:53 2001 EDT
Modified files:
/php4/sapi/apache mod_php4.c
Log:
Avoid using ret uninitialized
Index: php4/sapi/apache/mod_php4.c
diff -u php4/sapi/apache/mod_php4.c:1.90 php4/sapi/apache/mod_php4.c:1.91
---
COOLL it work
oki guys
to work : apply the patch openldap source
recompil openldap
don't forget to copy librairie from /usr/local/lib to /usr/lib !
recompil php
recompil apache
and it works !!!
it's beeen hard but it works !!!
thank for all
Le Mardi 6 Mars 2001 12:51, vous
sbergmann Tue Mar 6 07:27:30 2001 EDT
Modified files:
/php4/pear Cache.php
/php4/pear/CacheContainer.php Graphics.php Output.php
/php4/pear/Cache/Container db.php file.php phplib.php
Log:
Whitespace only.
Index: php4/pear/Cache.php
diff
first i'd set up phpmyadmin.
http://www.phpwizard.net/projects/phpMyAdmin/
it' great and really easy to use for you mysqldb.
once you've done that.there's a useful tutorial on webmonkey for what u
need.
http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming
g'luck
- Original
Does any body know how to use php to generate html file? That is when a user
input for a webpage title, webpage background color or image in a php page,
and then we can generate a html file which contains the properties of user's
input such as background color.
--
PHP General Mailing List
Based on what I read, I believe the answer to this question
is "No", but am hoping for confirmation because someone
might have been able to find a way to make this work.
Is it possible to use the auto prepend/append directives to
prepend/append particular files only to files with a particular
zeevTue Mar 6 07:54:49 2001 EDT
Modified files:
/php4/ext/standard output.c php_output.h
Log:
Initial work on internal output handlers - should be much quicker
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.43
Robert, can you (or anyone else) describe further the problem with Netscape
and $PHP_SELF? This sounds a little worrisome to me!
TIA
Kirk
-Original Message-
From: Robert Fischler, Ph.D. ABD [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject:
$PHP_SELF is set by the web server - not the browser. Problems in
Netscape are almost always caused by incomplete syntax in the HTML
code you've output. Netscape is more strict about this than IE.
Billy
Robert, can you (or anyone else) describe further the problem with Netscape
and
Go to www.thickbook.com where Julie Meloni has a tutorial on form with
custom error messages, or something similar. Anyway, it uses a form,
buttons, input fields, and generation of custom error messages and
re-display of the form.
All the principles you need are there.
Miles Thompson
At
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I tell reliably if someone has cookies turned off?
Set a cookie on your site (perhaps the homepage?) and use code like this:
if (!empty($UserHasCookies)) {
echo 'Whew - you do have cookies';
}
zeevTue Mar 6 08:25:14 2001 EDT
Modified files:
/php4/ext/standard output.c php_output.h
Log:
Fix internal output buffering
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.44 php4/ext/standard/output.c:1.45
---
On 6 Mar 2001 08:13:00 -0800, Boget, Chris [EMAIL PROTECTED] wrote:
Is it possible to use the auto prepend/append directives to
prepend/append particular files only to files with a particular
extension?
I don't believe you can do this directly with PHP but you probably can with
Apache:
Is there a way to set the timeout value for an ODBC connection, lets say for
script trying to query a table which is locked? Right now, the default
timeout value is well over1 minute, and I don't think I can change it
anywhere else (meaning: I don't the the Network Administrator is going to
Can I do any "subtraction" with times and/or dates on php or mysql?
I have two times (HH:MM:SS). And I want to know if there is a diference of
5 min between the times.
Is there any function that do this? Or I have to program this?
regards,
Augusto Cesar Castoldi
--
PHP General Mailing
Thanks Chris
george
--
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]
Just convert the time to unixtime and - 5*60 (5 mins).
On Tue, 6 Mar 2001, Augusto Cesar Castoldi wrote:
Can I do any "subtraction" with times and/or dates on php or mysql?
I have two times (HH:MM:SS). And I want to know if there is a diference of
5 min between the times.
Is there
Something else to consider is that if someone is kinda smart they can place
the
variable into the url. So, if it is important you may want to put a
checksum or token in there.
Rick
At 08:52 AM 3/6/01 -0800, you wrote:
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I
Hi All,
First, a general thanks for the helpfulness of everyone in the PHP
community over the years.
Question:
I am using PHP under Windows for the first time, and I'm getting an
error message when trying to create images (any kind) using GD.
The error is:
imagepng: unable to open temporary
Karl,
ODBC drivers typically have a timeout configuration. Decreasing that may
solve your problem.
Best regards,
Andrew
---
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
On
Hello,
I've got a script that recurses to build a path name (it's more
complex than that). The script uses static variables to do this.
Based on certain conditions, the script might cause a redirect. I find
that when the script redirects, the value of the static variable is
not reset, and I get
Hi Augusto,
This is a quick hack (nobody freak out please!) that will hopefully
explain this question and your other recent thread. Without further ado,
play with this :
?php
$seconds = array ('day'= 60*60*24,
'week' = 60*60*24*7,
'month' =
you can check the HTTP_COOKIE_VARS array after setting a cookie to see
if anything is placed in there.
Rick
At 08:52 AM 3/6/01 -0800, Chris Adams wrote:
On 6 Mar 2001 07:53:46 -0800, kevin1 [EMAIL PROTECTED] wrote:
How can I tell reliably if someone has cookies turned off?
Set a cookie on
zeevTue Mar 6 08:28:51 2001 EDT
Modified files:
/php4/ext/standard output.c php_output.h
Log:
More internal output buffering fixes
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.45 php4/ext/standard/output.c:1.46
---
sas Tue Mar 6 08:51:53 2001 EDT
Modified files:
/php4 configure.in
/php4/build build2.mk
Log:
Replace AM_PROG_LEX with a separated call to AC_PROG_LEX and AC_DECL_YYTEXT.
The latter is only called, if lex was found, so that PHP configures now
I think you're looking for passthru (or perhaps system or exec). If your php
is like this:
?php passthru ("/tmp/hello.pl yay") ?
and hello.pl is like this:
#!/usr/bin/perl
print 'Args:'.join(' ', @ARGV);
Your web page will read:
Args:yay
You'll probably need to change the method of input
On Tue, Mar 06, 2001 at 08:12:52AM -, Emiliano Heyns wrote:
emile Tue Mar 6 00:12:52 2001 EDT
Modified files:
/php4/ext/midgard sitegroup.c
Log:
Bug #123
I assume this fixed _Midgard_ bug #123, not _PHP_ bug #123. Could you
please distinguish
Hi there,
$ob-date is '2000/03/06'.
$d = ereg_replace('([0-9]*)-([0-9]*)-([0-9]*)',
'\2/\3/\1', $ob-date);
$d is now '03/06/2000'.
$foo = getdate(strtotime($d)+86400);
Here I have to add an entire day to the value of strtotime($d) to get
the expected results for below.
I really suck with Regular expression but what if you did a replacement on
1, and replaced it with 1
2, and replaced it with 2
3, and replaced it with 3
Kind of a cheap workaround.
??
Rick
At 01:07 PM 3/6/01 -0500, Brian C. Doyle wrote:
Hello all,
I need to remove a comma from inside of 2
hey,
i wanted to know if there's a fork function in php,
cause i don't see it in the manual.
I basically wanna call a C program from PHP.
Now the problem is that the C program will be running
for longs periods like maybe half or even an hour. So
i would basically want to just execute the
davidg Tue Mar 6 09:56:17 2001 EDT
Modified files:
/php4/ext/midgard mgd_internal.h midgard.c
Log:
added ability to break tree walking
Index: php4/ext/midgard/mgd_internal.h
diff -u php4/ext/midgard/mgd_internal.h:1.8 php4/ext/midgard/mgd_internal.h:1.9
Try putting
Files "*.html"
php_value auto_prepend_file "foo.php"
/Files
in your httpd.conf file. Once you put this in the conf file
for Apache, restart Apache and see if the changes take place.
That should do what you want it to.
Unfortunately, no.
Here is what we have in our
what about
preg_replace("(\d),(\d)", "$1$2",$your_string);
to replace every occurence of a comma surrounded by digits?
This works with 4.04, prior to that the "replace" string would by
"\\1\\2".
Doug
| -Original Message-
| From: Brian C. Doyle [mailto:[EMAIL PROTECTED]]
| Sent:
List,
I current use something like this to send some one who clicks on my links to
the actual web page.
$row = @mysql_fetch_array($result);
$url = $row["url"];
$ID = $row["ID"];
header("Location: $url");
header("");
And then the hitcounter for that particular ID is incremented,
Hi Natasha,
Well the probably easiest shitty way to do it is:
exec("theprogram 1 /some/file 21 ");
would exec()ute theprogram and will put it's output in
/some/file and stderr's output also in the /some/file,
and at last signifies the backgroundness of the
program.
however as you mentioned
Now the problem is that the C program will be running
for longs periods like maybe half or even an hour. So
i would basically want to just execute the program and
return control to the script immediately so that the c
program continues it's work.
it's easy with forking. but i dont see it
zeevTue Mar 6 10:29:00 2001 EDT
Modified files:
/php4/ext/standard output.c
Log:
Fixes to internal output buffering
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.46 php4/ext/standard/output.c:1.47
---
zeevTue Mar 6 11:38:33 2001 EDT
Modified files:
/php4/ext/standard output.c
Log:
Fix freeing of buffers
Index: php4/ext/standard/output.c
diff -u php4/ext/standard/output.c:1.47 php4/ext/standard/output.c:1.48
--- php4/ext/standard/output.c:1.47
anyone have any code snippits or urls you could share on the imap functions? Ive got
it to list all pop/imap/nttp folders on a server with a username/password, I can view
pop/imap msgs, no attachemtns yet, and can not list nntp headers for some reason. the
whole imap deal looks great but
Disclaimer:
The following post contains C code for *nix!
Viewer discretion recommended!
Hi,
I'm back, I couldn't resist you mentioning C, so as
you did, big fault, the code that follows is probably
much better than exec, as an stderr terminal will
still be attached, but anyway:
Hi all, I was wondering how I could detect if a file is an image (jpg or gif
or png) file? Im running this on an NT box, but I dont want to rely on the
file extension.
Is there a way?
Thanks for any help,
--Mark
I'm currently working on the DB project from h*ll. Why? Because
a lot of the tables of the normalized DB are mapped into objects and
PHP's object support questionable at best.
I've worked around the lack of multiple inheritance, and some of the
other problems. But the inability to do
I need to set up a link that has both. However, IE/NS isn't
liking this:
www.mydomain.com/thispage.php#joe?thisvar=thatvalue
I need to pass "thisvar" into thispage.php and use it to determine
information to display. I also need to pass the anchor name "joe"
so the page jumps down to that
Hi,
Could someone please help me? If I have links on my page:
a href="side.php?page=audio"Link 1 Here/a
a href="side.php?page=visual"Link 2 Here/a
And then side.php is the following:
html
/head
Blah
/head
body
FILE CONTENTS GO HERE
/body
/html
Where the files to be
Use include(). Like
?
switch ($page) {
case "audio" : include("audio.txt"); break;
case "visual" : include("visual.txt"); break;
}
Greetings,
Jason
--
Jason Murray
Developer
http://www.jwebmedia.com/
1 877 525 jWEB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
The # goes at the end of the URL after the query string stuff. Once there,
it should be easy to strip off the joe by looking for the last # in the
string (not that there will be more than 1!).
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
Hi Martin,
It's important to know that "Stuff" in the Url like this are just
variables. For example :
foo.php?fruit=applesdog=snoopyothers=huhmore=yep
Now with foo.php we can do this (a few exceptions) :
echo "$dog would like to each some $fruit";
And in your case, you have $page so
If the only thing you plan on doing after incrementing your counter is going
to the new page, why not put the target="_blank" in the a tag that points
to your script. Then you'll do your counter script and redirect when you're
already in a new window.
--
PHP General Mailing List
There are loads of different ways to spit out a text file.
The easiest is readfile($Filename) which does exactly what you want,
providing that the file already contains sanitised html (eg br instead of
newlines etc.
If not, you could use fread to get the file contents into a variable and
then
This will allow you to have more control over what pages get edited...
but you can use something a little easier like...
?
$filename= $page . ".php"
include ("$filename");
?
At 09:02 PM 3/6/01 +, you wrote:
Hi Martin,
It's important to know that "Stuff" in the Url like this are just
Does this mailing list run off PHP? Does anyone find it a pain to have to
cut and paste the url of the
list into the to bar again and again? I am using Eudora, and I am just
wondering if it is me. What
mail server are they using? qmail or sendmail?
Rick
Hi all.
To not use anymore gif, i switch my gd lib to 1.8, but i need to generate 2
colors png graphics, but i just got 16-bit images. Is there any
place/function/variable i can set to achieve this?
TIA.
--
Alexandre Hautequest
hquest at fesppr.br
Fundao de Estudos Sociais do Paran -
My God!!
You're all stars!!! (This is the **fastest** mailing list I've ever joined)
If I have *loads* of links (not just audio visual) is there a way to
create a file to include them all?
Basically - what I've got is a frameset with side main frames (side is for
nav, main is for... well,
zeevTue Mar 6 12:43:55 2001 EDT
Modified files:
/php4/ext/zlib zlib.c php_zlib.h
Log:
Implement internal output compression0:wq
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.74 php4/ext/zlib/zlib.c:1.75
--- php4/ext/zlib/zlib.c:1.74
1 - 100 of 147 matches
Mail list logo