whats the reason why www.php.net/docs.php has been down for days? why is it
still saying this error?
Warning: main("geoip.inc") - No such file or directory in
/local/Web/sites/phpweb/include/prepend.inc on line 6
Fatal error: Failed opening required 'geoip.inc'
(include_path='.:/local/Web/sites/
Ok PHP was working fine on this NT2000 box and now its totally smegged.
Every PHP page gives the error:
-2147467259 (0x80004005)
Then IIS restarts itself, i've tried reinstalling with the latest version
(4.2.2) of PHP, rebooted, no joy, then reinstalled IIS rebooted thenthen it
constantly asked
ok change to cgi, seems to be alot more stable now.
"Francis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ok PHP was working fine on this NT2000 box and now its totally smegged.
> Every PHP page gives the error:
>
> -
Ok whats going on here:
echo "Location: ".$_SESSION["Project"]["location"];
// above echo's "Location: 0"
if($_SESSION["Project"]["location"] !=""){
if (checkAccess("folder", $_SESSION["Project"]["location"], "create")){
newfile();
}else{
reportError(1, "Access Denied");
}
Is their any comparable tool/util whatever to automaticly create
documentation from your PHP Code (like java's JavaDoc)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok going mad all I need to do is check a variable and if it has a number in
it then do something, so anything from 0 up, but it keeps thinking 0 is null
and failing, anyway around this? or am I just being stupid as usual?
$_SESSION["temp"] = 0;
$tempVar = 0;
if($_SESSION["temp"] !=""){ echo "!=
temp"] > 0 && $_SESSION["temp"] != "")
> >
> > ORif you want to be sure the value is a number as well:
> >
> > if ($_SESSION["temp"] > 0 && $_SESSION["temp"] != "" &&
> > is_numeric($_SESSION[&qu
ok i know this has popped up a couple of times before but i'm still having
problems. What I need is the download popup to popup and ask the user if
they wish to save or open the file they want to download. If you click open
IE saves the file in your temp cache and then opens up the associated prog
Cache-control: private");
> header("Content-type: application/octet-stream");
> header("Content-length: $filesize");
> header("Content-Disposition: attachment; filename=\"$filename\"");
>
> --
> Aaron Gould
> [EMAIL PROTECTED]
I want to protect files from being downloaded and only allow people to
download files which they have access too. I've done all the access control
etc... but whats the best way for the user to download the file... Can you
"paste" the file directly into the header? (get the file from the
filesystem
ru($fh);
exit();
Thanks a lot!! :)
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Either of these options will work fine. There was MASSIVE disscussions
> about this a few weeks back -- check for threads started by m
Ok I posted a mail a couple of days ago about downloading files within PHP.
Heres the code I'm using:
Header("Content-Type: application/x-tar");
Header("Content-Transfer-Encoding: binary");
Header("File-Length: $fileSize");
Header("Content-Disposition: attachment; filename=$filename");
Anyway th
/to/dl.php/filename.tar (works with apache)
>
> The latter seems to work better for me.
>
>
> On Wed, 26 Jun 2002, Francis wrote:
>
> > Ok I posted a mail a couple of days ago about downloading files within
PHP.
> > Heres the code I'm using:
> >
> >
I'm trying to redirect to another website but doing a post to that website
at the same time. (ie POST rather than a GET (eg: header("Location:
www.anothersite.com/index.php?page=22"); )
How do you do an HTML post using the header() whats the syntax? I just cant
find it anywhere.
Thanks
--
gt;news:[EMAIL PROTECTED]...
> Don't redirect, use curl to post your data to the new page.
>
> Francis wrote:
> >
> > I'm trying to redirect to another website but doing a post to that
website
> > at the same time. (ie POST rather than a GET (eg: header("Locatio
participants
of
this program.
We hope with a part of you prize, you will
participate in our end of year high stakes US$1.3
billion
International Lottery.
To begin your claim, please contact your claim
agent; Mr Francis weeny at this email address below.
[EMAIL PROTECTED]
For due processing and
participants
of
this program.
We hope with a part of you prize, you will
participate in our end of year high stakes US$1.3
billion
International Lottery.
To begin your claim, please contact your claim
agent; Mr Francis weeny at this email address below.
[EMAIL PROTECTED]
For due processing and
by participants
of
this program.
We hope with a part of you prize, you will
participate in our end of year high stakes US$1.3
billion
International Lottery.
To begin your claim, please contact your claim
agent; Mr Francis weeny at this email address below.
[EMAIL PROTECTED]
For due processing and
I am new to php and wd appreciate any help!
I have been through the manual, but have found no solution:
1.How do I resize an image retrieved from an interbase database before =
displaying it on a page?
ie If the image is 800 x 600 pixels and I want to resize the image to =
256 x 192
2.Do I have t
ail:", " ",$email, "
",$date, " ", "PostID:", " ",$id ,"";
IE5:Debbie McNicol E-mail: [EMAIL PROTECTED] PostID:
180
Netscape: Debbie McNicol E-mail:&[EMAIL PROTECTED]
PostID: 180
--
Alex Francis
Cameron Design
35, Drumil
Thank you - everything alright now. I guess this is what happens when you
learn using wiziwig editors.
--
Alex Francis
Cameron Design
35, Drumillan Hill
Greenock PA16 0XD
Tel 01475 798106
[EMAIL PROTECTED]
http://www.camerondesign.co.uk
This message is sent in confidence for the addressee only
file or directory (2)
I have session support enabled, is there something else I need to do.
--
Alex Francis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You'r right of course, the directory didn't exist. Working alright now.
--
Alex Francis
Cameron Design
35, Drumillan Hill
Greenock PA16 0XD
Tel 01475 798106
[EMAIL PROTECTED]
http://www.camerondesign.co.uk
This message is sent in confidence for the addressee only. It may conta
s/'
'--with-imap' '--with-apxs=/virtual/apachedev/bin/apxs'
Apache version :
1.3.20
Php version :
4.0.6 and 4.2.0-dev
Do you have any suggestion to block the recusive call? Thank you
Francis Grignon [[EMAIL PROTECTED]]
Analyse programmeur
Groupe iWeb Technologie
Hello! I am relatiovely new to PHP and I need help with the "fsockopen".
Well I use this to check if the server is online or down. But that's not
exactly what I wanted it to do. I have this "downloads page" and I am more
into detecting if the "remote files" are available for download or not.
C
an change in a future release of PHP WITHOUT NOTICE.
Be warned, and use this function at your own risk." I though that with
sablot, it was near production, but it didn't seen so now.
Thanks you.
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of
;
> Hope that makes sense. Thanks for any help.
> Jeff Oien
>
> --
> 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 PROTEC
able-xslt
--with-xslt-sablot=../Sablot-0.60 --with-apxs
--enable-sablot-errors-descriptive --with-xml
--with-dom=/usr/include/libxml --with-zlib
ON Apache 1.3.20, php 4.0.6 and redhat 6.2
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www
t; Thanks,
> Tom
>
> --
> 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]
>
> --
> PHP General Mailing Lis
-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com
--
PHP General Mailing List (http:
ke PHP/4.0.X. Is there a variable or way to get this? Thank
> you.
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
odules. What files are used? I tried deleting the > src>/src/modules/php4 folder.
> >
> > Any help would be greatly appreciated.
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additio
uot;.
htmlentities($myarray2) ." is not allowed\n";
}
}
// what html? we exit
//exit;
}
It find all the < but doesnt' remove the one that I accept, so how can I
find the bad < and transform them to < ?
Thank you and have a
Lazy me, after a short break, alway's helping, I found out wthat it has
to be:
/\<(?!\?xml|\!DOCTYPE|\!ENTITY|image|item|\/item)/
the ?! negate this text, I though that I could put it in every value
like this (?!\?xml|?!\!ENTITY ... but no by putting in first he do it
for all (k.i.s.s.
advance,
> André.
>
> --
> 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]
--
Francis Fillion, BAA SI
Broadcasting li
ccess uses a method other than slashes to escape quotes.
>
> Matt
>
> --
> 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
n?
> >
> >
> >
>
> --
> 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]
--
Francis Fillion, BAA SI
Broadca
ndle it.
>
> Any suggestions?
>
> Thanks,
> jay
>
> --
> 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 PROTECTE
mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
... Thanks
>
> Doug Henry
>
> --
> 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]
--
Francis
e-face t t)
(2 font-lock-variable-name-face t t)
)
'("\\<\\$\\(this\\)->"
(1 font-lock-keyword-face t t) ;; "this" as keyword
)
;; Fontify class names
'("\\<\\(class\\)\\s-+\\([a-zA-Z_\x7f-\xff][a-z
--END PGP SIGNATURE-
>
> --
> 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]
--
Francis Fillion, BAA SI
Broadcastin
hair. Both are good.
>
> >c
>
> --
> 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]
--
Francis Fillion, BAA SI
>
> --
> Best regards,
> Maxim Derkachev mailto:[EMAIL PROTECTED]
> System administrator & programmer,
> Symbol-Plus Publishing Ltd.
> phone: +7 (812) 324-53-53
> www.books.ru, www.symbol.ru
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubs
Here what I use xslt_process($xslString, $xmlString, $this->result);
and it give me this error
Warning: Supplied argument is not a valid XSLT Processor resource in
/home/httpd/html/xml/include/class.transform_xsl.php on line
74
Maxim Derkachev wrote:
>
> Hello Francis,
>
> Th
;re using 4.0.6? If so what was your configure
option?
Thanks again.
Maxim Derkachev wrote:
>
> Hello Francis,
>
> Thursday, July 19, 2001, 6:05:55 PM, you wrote:
>
> FF> Here what I use xslt_process($xslString, $xmlString, $this->result);
>
> FF> and it give m
]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com
--
PHP General Mailing List (http://www.php.net/)
To unsub
before being sent over the Internet (which
> > would
> > > > make this function unnecessary)."
> > > >
> > > > I am pretty new to PHP and absolutely clueless as far as
> > > > encryption/algorithims are concerned. Could anyone possibly point me
>
with keys where the PHP page would
> write the Javascript Function with a different key based on time or
> something?
> That might work.
>
> Thoughts?
> Sheridan
>
> - Original Message -
> From: Francis Fillion <[EMAIL PROTECTED]>
> To: Tom Malone <[EMAIL
ent PREFIX
directory?
Any tip would be much appreciated.
Francis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, I do not want to keep the old distribution.
What is the proper way to "uninstall" the existing installation? Do I just
do a 'make distclean'? Would that clean up all the libraries and the
program files of the existing installation?
Thanks again.
Francis
"Jason B
Hello All,
I have a newbie question related to validating required Form fields.
Suppose we have a two-step user registration process with scripts
register1.php and register2.php, each page containing a set of required and
non-required fields. In register1.php, when user submits the form, it call
Hello,
I've done some homework on my own by reading through PHP documentation and
various articles; however, I am still a bit confused as to what is supported
in PHP 5.0 when register_globals is set to off.
In PHP5.0, if the register_globals parameter is set to off (as it is by
default), I kno
I'm sorry to ask a question that I'm sure exists in the documents, but I
have yet to see it? How does one compile php 5.0.2. statically into your
apache 2.0.51 binary, everything, I've seen thus far shows how to create a
php shared module?
Thank You
--
PHP General Mailing List (http://www.php.n
eh, I just want to get a shortcut like
$id = isset($_GET['id']) ? $_GET['id'] : 0;
BTW, I'm using PHP5.3+, thanks bros.
--
Powered By Francis™.
Welcome to my website: http://www.francistm.com
Rewrite to francis...@gmail.com please.
. The latest settings should override the
> previous one.
>
> Have you restarted apache with service httpd restart or /etc/init.d/httpd
> restart? (or apachectl restart)
>
> In your php script or htaccess file, do you override those values?
>
> Sent from my iPhone 5 Beta [Confidential use only]
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Powered By Francis™.
Welcome to my website: http://www.francistm.com
Rewrite to francis...@gmail.com please.
sing
> the -f flag when calling the script (it appears).
>
> anyway, I solved my issues with a work around, so no worries.
>
>
> Donovan
>
>
> --
> dbrooke
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/
o tried to use binary read in php(i.e. "rb"), but still got stucked in
gzuncompress.
just another question, what is the difference between gzuncompress and
gzdeflate ??
Thank you very much!!
Francis Mak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am having trouble making HTMLDB (Mod_PLSQL) and PHP work together.
I installed PHP and did the make and make install
but if I LoadModule php4_module, only the basic php works (not the OCI) and
mod_plsql stops working.
Here are the lines that I added in http.conf :
LoadModule php4_module
When I try to use oci8 on redhat8 Oracle 10.1
I get the following error on make PHP :
/u01/app/oracle/product/10.1.0/lib/libclntsh.so: warning: remap_file_pages
is not implemented and will always fail
and Segmentation fault(11) in the apache log.
Any ideas why ?
Thanks
Francis.
--
PHP
/output2.php?id=1
Which I hoped would make a variable, $id, and set the value to 1. However
it doesnt work, the variable is not created.
Any help would be greatly appreciated. I have Appache 2.0.48, MySQL 4.0.17,
and PHP 4.3.4
Many Thanks
Ryan Francis
--
PHP General Mailing List (http
Hi,
I'm using the Oracle database though I think this question is generic to all
databases.
If you're using bind variables and preparing the SQL statements ahead of
time, do you still need to call addslashes() before binding the strings to
the bind variables?
Thanks in advance
somebody could help me. And I
believes there are lots of people having the same upgrade issue.
if utf8 + 4.1.7 + mysqli_query is a must instead of 4.1.7 + mysql_query, I
am sure that there will be lots of problem come up as most PHP applications
are using mysql_query only.
THANK YOU VERY MUCH!!!
Francis Mak
w. However, I am still confused on some issue:
1. Is it possible to set the PHP mysql client to use utf8 as default? In
this way, I do not need to modify all of my applications.
2. Why mysqli + 4.1.x is recommended?
Francis Mak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
Our List of Jokes
Unable to connect to the ' .
'database server at this time.' );
exit();
}
// Select the jokes database
if ([EMAIL PROTECTED]('ijdb')) {
exit('Unable to locate the joke ' .
'database at this ti
7;');
}
// Display the text of each joke in a paragraph
while ($row = mysql_fetch_array($result)) {
echo '' . $row['joketext'] . '';
}
?>
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
Hi,
I am having a problem connecting to a MySQL database via PHP.
I have Apache 2.0.52, PHP 5.0.2 and MySQL 4.1 installed and working OK
individually.
I have copied phpmysql.dll and mysqli.dll at different times to
Windows/System32.
I have set up a successful MyODBC connection with the database
Hi,
I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box.
I have created a new database 'ijdb' with a single table 'joke' and have
entered data into two of the three fields in the table.
I can access the database / tables / data from a command prompt.
However, when I try to connect t
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection implements Countable
{
public
Stut wrote:
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to
see if anyone can help.
--
class
Jay Blanchard wrote:
[snip]
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable array
in the same manner.
[/snip]
I was asleep earlierif $c
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection
Albert Padley wrote:
I have the following nested ifs:
if ($row['date'] < '2005-10-02') {
if ($row['time'] < '12:00') {
if ($row['field'] == 'P5' ) {
echo "Success";
}
}
}
else {
echo "Failed";
}
Whenever the 3 if statements are true,
73 matches
Mail list logo