Ok, Thank you for your help Miguel and Maxim, I'm trying to do it by
the help of your suggestions.
Arpi
> > >Also, you can find out if a class was defined by calling
> > >'class_exists()'. In this way you might save something.
> > >The best way thought is what Miguel was saying: load t
I have several checkboxes on my webpage -- all within a particular table.
It seems there is some weird spacing *around* the (or a) checkbox as I
cannot tighten up my table and my text, that contain the checkboxes -- so,
it looks like the table rows are spaced out just a little too much -- kinda
an
I rather agree here:
* Beginner
* Intermediate
* Advanced
will make it more sence. A newbie always knows he's notthing else than a
beginner, someone who knows PHP but not sure of many silly things knows that
in intermediate-categorized FAQs we have most of the answers, and an
advanced us
I know that this is way off topic, but I was wondering if someone could help
me. I couldn't think of anywhere else to look for info. So here are my
questions. If someone could help me out or point me in the direction of a
good resource I would be very grateful. But here goes.
I just started settin
Style sheets can easily be applied.
But, I rather think that you should make sure your table is having
cellpadding on 0.
something like this:
I think this is your problem, I never noticed any unusual behavor of
checkbox within tables.
P.S: this was an answer to a message that origina
HI,
I am running a Sun Ultra 10 with Solaris 8 installed. I have installed
Apache V2.0.32. It works fine. (IPV6 is great :-)
Now I require PHP 4 support so I downloaded PHP 4.1.2 so I run
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
it configures fine. b
At 04.04.2002 03:03, you wrote:
>I know that this is way off topic, but I was wondering if someone could help
>me. I couldn't think of anywhere else to look for info. So here are my
>questions. If someone could help me out or point me in the direction of a
>good resource I would be very grateful.
I have a html form with some "text" (T1) and "checkbox" (C1) fields to pass
it to a php script.
Accessing "text" fields has no problem.
There is a problem when I use
$C1=$HTTP_POST_VARS['C1']
to take the value of C1 (ON)
If it is not checked, then it is not set at all. (??why??)
So I use :
if (
I would guess before any output to the browser... so nearer the top the better
Andrew
"Daniel Swarbrick" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can someone please confirm the correct place to call
> ob_start("ob_gzhandler") in a script? I am using ses
Hi,
I'm creating an FTP script for uploading files... but now, when I pull out
the network plug of the server (so the connection is lost), my program
doesn't stop running... any ideas of how to check if a connection is still
alive?
Edward
// partial code:
for ($i=0; $ihttp://www.php.net/)
To
This is the wrong group to post this question. S wrong.
Would you ask a flute player about the sound characteristics of a tuba
a simple search for a newsgroup would have found
comp.infosystems.www.authoring.stylesheets
and then there's also the millions of CSS and HTML references on th
What I'm trying to ascertain is whether it should go before or after
session_start(), or any other headers for that matter...
"Andrew Brampton" <[EMAIL PROTECTED]> wrote in message
012401c1dbd9$c4266000$0100a8c0@STUDENT5830">news:012401c1dbd9$c4266000$0100a8c0@STUDENT5830...
I would guess before
At 04.04.2002 15:23, you wrote:
>
>
>I have a html form with some "text" (T1) and "checkbox" (C1) fields to pass
>it to a php script.
>
>Accessing "text" fields has no problem.
>
>There is a problem when I use
>$C1=$HTTP_POST_VARS['C1']
>to take the value of C1 (ON)
>If it is not checked, then it
Hi,
I've tried the following script:
on PHP 4.1.2-32 with Apache on a Win2k machine.
The ISP smtp is known as "smtp" in the Outlook send server acct and the smtp
server requires requires authentication. If I ping it, I get the real smtp
name, let's say ssmtp.domain.com, so I tried in php.ini (at
Is there a way I can get the whole URL of the current page for error
handling/reporting. Also is there a way of getting the previous/referrer
URL for a similar purpose.
Lastly if anyone could point me in the direction on error handling
strategy/techniques in general this would be good.
Regar
Hi Edward
Look at ftp_set_option in the manual, you can access it online at
http://www.php.net/manual/en/function.ftp-set-option.php.
FTP_TIMEOUT_SEC sounds like it might do what you are looking for.
Jason
- Original Message -
From: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>
On Thursday 04 April 2002 21:56, Ben Edwards wrote:
> Is there a way I can get the whole URL of the current page for error
> handling/reporting. Also is there a way of getting the previous/referrer
> URL for a similar purpose.
Have a look at the values inside $HTTP_SERVER_VARS:
print_r($HTTP_S
Is there a way to do something like this?
I wrote a wanna-be debugger. It just write to a file simple and common
used function and variables, array or objects. Then when I activate it, a
new window is opened with these information. Simple stuff.
The problem is that if I do this:
fwrite($f
Does anyone have any experience using ODBC to connect to an Access database,
I'm runing php and Apache in Windows 2000. Any help will be apreciated.
Thanks
Someone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes before any output is sent to the browser
So I guess before any headers are sent. and maybe before the session_start..
But it doesn't harm you to place it before everything, put it as the first
line if you want to be 100% safe.
If you want to test if your pages are being GZiped then check out:
Where were you yesterday when I was discussing this left and right. :)
What do you want do know?
Rance Hall
308.238.2455
Internal Office Extensions: 2455 or 6655
PC Programmer, The Buckle, Inc.
[EMAIL PROTECTED]
-Original Message-
From: Someone Somewhere [mailto:[EMAIL PROTECTED]]
Sent
On Thursday 04 April 2002 22:43, Julio Nobrega Trabalhando wrote:
> Is there a way to do something like this?
>
> I wrote a wanna-be debugger. It just write to a file simple and common
> used function and variables, array or objects. Then when I activate it, a
> new window is opened with these
On Thursday 04 April 2002 20:46, [EMAIL PROTECTED] wrote:
> why do you use $HTTP_POST_VARS? Do I miss something?
For security reasons.
Manual > Security
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Above all things, reverence yourself.
*/
--
PHP General Mailing List (ht
Everything from setting up the DSN stuff to the commands for connecting and
extracting info from the access database
"Rance Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Where were you yesterday when I was discussing this left and right. :)
What do you
What problems are you having?
It's fairly straightforward - create a System DSN and test it in the ODBC
Administrator, and use it in the odbc functions in PHP.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuos
Is there any possibility of logging all the Insert, Update and Delete
Commands to a database of Mysql-Server? I would like to fetch them with php
and display them in HTML.
thanxs martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kind of but not quite. Was wondering if PHP help the actual full url.
Ben
At 15:26 04/04/2002, you wrote:
>On Thursday 04 April 2002 21:56, Ben Edwards wrote:
> > Is there a way I can get the whole URL of the current page for error
> > handling/reporting. Also is there a way of getting the pr
$REQUEST_URI?
If it's not the full you can complement with $HTTP_HOST or similar.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Ben Edwards" <[EMAIL PROTE
On Thursday 04 April 2002 22:56, Ben Edwards wrote:
> Kind of but not quite. Was wondering if PHP help the actual full url.
If you look closely you can concatenate two of those values together to get
what you want.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
The good life
On Thursday 04 April 2002 22:54, Moschitz Martin wrote:
> Is there any possibility of logging all the Insert, Update and Delete
> Commands to a database of Mysql-Server? I would like to fetch them with php
> and display them in HTML.
Yes. This is off-topic, look in the MySQL manual.
--
Jason W
There is a fine tutorial on the subject (including how to set up a DSN on an NT box)
located at:
http://www.phpbuilder.com/columns/siddarth2228.php3
I would suggest that you take the time to read it, and then let us know what you don't
understand or have problems with. It fixed me.
PS, in
Thank you both for help and info! You were both very fast :)
I didn't know I could not to use $HTTP_POST_VARS . Now it works all right.
But IF I still want to use $HTTP_POST_VARS, what then? What about the
warning when checkbox is not checked?
Thanks
Makis
> -Original Message-
> From
Don't seem to exist, neither douse REQUEST_URL?
At 16:13 04/04/2002, Julio Nobrega Trabalhando wrote:
>$REQUEST_URI?
>
> If it's not the full you can complement with $HTTP_HOST or similar.
>
>--
>
>Julio Nobrega.
>
>Um dia eu chego lá:
>http://sourceforge.net/projects/toca
>
>Ajudei? Salvei? Q
Hello,
I'm using recursive functions and call a function from inside another one.
The problem is that when I call the Exit(); function the whole program is
aborted. How can I quit just the current function, not the whole program ?
Function One()
{
If (!$var) { Exit(); }
}
Function Two();
{
return maybe.
At 16:24 04/04/2002, Mauricio Cuenca wrote:
>Hello,
>
>I'm using recursive functions and call a function from inside another one.
>The problem is that when I call the Exit(); function the whole program is
>aborted. How can I quit just the current function, not the whole program ?
Okay, just phpinfo(); and use the variables. You can see whetever you will
need there for url script construction. If you need, setup two pages with
phpinfo() and a link between them so you can check for Referers (the Last
Url you need)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge
Good day,
As the documentation says, exit() will end your script.
http://www.php.net/manual/en/function.exit.php
Use return() to end a function.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403)
return; stops a function execution.
Function One()
{
If (!$var) {
return;
}
}
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Mauricio Cuenca"
At 18:17 04-04-02 +0300, savaidis wrote:
>But IF I still want to use $HTTP_POST_VARS, what then? What about the
>warning when checkbox is not checked?
I use empty() to check the for the existence of checkbox variables.
--
-
Eu
on a unix/linux box, all queries are in /var/log/mysqld
-Original Message-
From: Moschitz Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 8:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Logfile of Mysql Queries?
Is there any possibility of logging all the Insert, Update an
You should use $HTTP_POST_VARS (or $_POST) all of the time. There's security risks in
using register_globals. It's not risky in all cases. But register_globals will allow
arbitrary variables to be added to into the name space of your script by simply
putting them on the uri. Code not expectin
Thanks alot
"Rance Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
There is a fine tutorial on the subject (including how to set up a DSN on an
NT box) located at:
http://www.phpbuilder.com/columns/siddarth2228.php3
I would suggest that you take the t
> >But IF I still want to use $HTTP_POST_VARS, what then? What about the
> >warning when checkbox is not checked?
> I use empty() to check the for the existence of checkbox variables.
You can also use isset();
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hi all, I'm new to the list (and php too...)
I noticed that using the binary distribution of php_oci8.dll with oracle
8.0.5 leads to an error becouse of the lob functions (not supplied with
8.0.5 oci or not implemented in oracle 8.0.5 ?), so that I had to recompile
the lib putting somewhere in php
Hello,
The result $Location_info is an array.So you've got the answer 'Array'.
Consider that you requested MySQL to fetch several columns through SQL
"Select * from...". So the result was an array.
You can get the content of the result like $Location_info[0],$Location_
info[2],and so on.
Hir
At 04.04.2002 18:05, you wrote:
>
>Hi all, I'm new to the list (and php too...)
>I noticed that using the binary distribution of php_oci8.dll with oracle
>8.0.5 leads to an error becouse of the lob functions (not supplied with
>8.0.5 oci or not implemented in oracle 8.0.5 ?), so that I had to rec
Maybe a simple question.
But can one file contain 2 or more classes??
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 10:43 AM
To: PHP
Subject: [PHP] Classes??
Maybe a simple question.
But can one file contain 2 or more classes??
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Yeah, sure.
-Steve
On Thursday, April 4, 2002, at 10:42 AM, Gerard Samuel wrote:
> Maybe a simple question.
> But can one file contain 2 or more classes??
> Thanks
>
>
> -- PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General
Are you using unicode? I don't know the answer for you - maybe check the
mysql site - but I'd be interested in hearing an answer as well if
anyone has one.
-Steve
On Thursday, April 4, 2002, at 12:11 AM, Dhaval Desai wrote:
> Hello people,
>
> I am making a bilingual website English/Arabic.
On Thu, 4 Apr 2002, Gerard Samuel wrote:
> Maybe a simple question.
> But can one file contain 2 or more classes??
A general solution to questions like this:
Try it and see.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes true, but I have only written one class 3 weeks ago, and now Im
about to go deep into it. I wasn't sure like down the line like 2
months from now that Im unable to extend it etc, because I didn't follow
guidelines...
Miguel Cruz wrote:
> On Thu, 4 Apr 2002, Gerard Samuel wrote:
>
>>Maybe
Hi,
Can anyone point out the simplest and shall I say the primitive search
engine script on the NET somewhere (i.e. open source of tutorial)
I need an engine that will serve table in mysql database with three
fields, ULRid, URLdescription, URLcategory.
Functionality needed is to search through
I meant to say 'open source OR tutorial' instead of 'open source of
tutorial'
Sorry
-Original Message-
From: Vladislav Kulchitski
Sent: Thursday, April 04, 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi,
Can anyone point out the simplest and shall I say the primitive search
en
I seem to have configuration problemsi just can't seem to get
session variables written to in files under win2000, NTFS w/ Apache and
PHP..i've already done everything from session_start() on every page
to making var globalanybody can help?? thanksbtw, i got the
same system on a L
On Thursday 04 April 2002 19:15, Lee, Ford wrote:
> I seem to have configuration problemsi just can't seem to get
> session variables written to in files under win2000, NTFS w/ Apache and
> PHP..i've already done everything from session_start() on every page
> to making var globalanybo
I was wondering If I made a database to store a list of IP CIDR
in a database to block, how I could take an IP of a customer coming
in and find a quick way if it matches a blocked IP in the database?
For instance, in the database I would store something like this:
208.219.20.0/24
Then if some
hi,
got a question on the usage of include:
when i do something like this:
http://www.myurl.com'); ?>
where my php file is located under the same directory structure of
www.my.url.com, the browse seems keep on loading until it returns a blank
page. does this mean that php can't include any fil
I've even tried the new php4apache.dll that was on that bug list and
still did not work. I'm suprised nobody else has this session problem
on Windows 2000 and Apache...
-Original Message-
From: Wolfram Kriesing [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 12:21 PM
To: Lee, F
I get an error with the follow query. There is a field "user" in both
tables, tifrequest & tifexpire. Can anybody see what's wrong with it?
Thanks.
SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
>=2002-04-04
--
PHP General Mailing List (http://www.php.net/)
To unsub
change to:
SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
>="2002-04-04"
It helps if you provide the error message. Also, this would have been found
when you entered it directly into the mysql command line prompt.
-Original Message-
From: ROBERT MCPEAK [mailto:[
> > Is there a way to "emulate" var_dump(), print_r() so I can write it to a
> > file and when I open this file the information are shown like if I really
> > did a print_r();?
>
> ob_start();
> print_r($doo);
> $dah = ob_get_contents();
> ob_end_clean();
> echo $d
btw, the reason i want to use include() is that i have a cgi script under
the same directory structure but i don't want to use exec() since this
command can't execute the cgi well enough (for one thing, the cgi script
doesn't work well when i include "use warnings;" or create an object)
and i
Unchecked checkboxes pass no values, that's how
it works. It's either set or not. Default value
for a checkbox is 'on' although you can change
that. isset() will work fine.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
On Thu, 4 Apr 2002, Devin Atencio wrote:
> I was wondering If I made a database to store a list of IP CIDR
> in a database to block, how I could take an IP of a customer coming
> in and find a quick way if it matches a blocked IP in the database?
>
> For instance, in the database I would store so
On Thu, 4 Apr 2002, Boris Wong wrote:
> got a question on the usage of include:
>
> when i do something like this:
>
> http://www.myurl.com'); ?>
>
> where my php file is located under the same directory structure of
> www.my.url.com, the browse seems keep on loading until it returns a blank
>
On Thu, 4 Apr 2002, ROBERT MCPEAK wrote:
> I get an error with the follow query. There is a field "user" in both
> tables, tifrequest & tifexpire. Can anybody see what's wrong with it?
> Thanks.
>
> SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date
> >=2002-04-04
You didn
sorry, my bad. i meant the two urls are the same. they're intranet pages so
giving out real data won't be useful.
>Um, does the page at http://www.myurl.com/ by any chance execute that
>include statement? Because then you have an infinite recursion.
that's not likely the case.
i also noticed th
Apparently under the bug report database for bug number 16043, my
exactly problem was described. According to the PHP team, this
windows/apache1.3.23/php4.1.2 session not writing to file bug has been
fixed in the 4.2.0RC1 binaries. I've patched my php4apache.dll with the
ones from 4.2.0RC1 AND i
On Thu, 4 Apr 2002, Boris Wong wrote:
> sorry, my bad. i meant the two urls are the same. they're intranet pages so
> giving out real data won't be useful.
Yeah, it's not so much that I have any interest in visiting that page, as
that the process of making stuff up always introduces extra confus
I'm trying to find a way to insert the cvs version into a footer of my php
files so I can simple ask the client to tell me the "version" number at the
bottom of the page. I can then send an update or even better have the
browser request an update for the file.
--
Jeff D. Hamann
Hamann, Donald & A
print("$Revision: $");
The next time you commit a file with this in it, the $Revision:$ will be
replaced by $Revision: 1.38$ if you version is in fact 1.38.
On Thu, 4 Apr 2002, Jeff D. Hamann wrote:
>-I'm trying to find a way to insert the cvs version into a footer of my php
>-files so I can si
The following quote is from
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
"""
magic_quotes_gpc boolean
Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When
magic_quotes are on, all ' (single-quote), " (double quote), \
(backslash) and NUL's are escaped w
change:
$Location_Info = mysql_fetch_row($result);
to:
$row = mysql_fetch_array($result);
$Location_Info = $row['fieldname'];
replace "fieldname" with the real name of your database field
-Original Message-
From: Jason Tobias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 9:2
Firstly, cross-posting like this is a huge
no-no, please don't do that again.
> When the script runs it displays Array.
Printing arrays directly will do that. Logically
speaking, how do you expect PHP to know what
value to get here? You are SELECTing many.
> I am running WIN2K and IIS 5
I am trying to define variables through an anchor tag to retrive data from
MySQL, When the script runs it displays Array. I am running WIN2K and IIS
5
echo "Camp Street Cafe";
Here is the script that is called.
$Location_Info";
?>
--
PHP General Mailing List (http://www.php.net/)
To u
I believe the escaping only occurs at the time GET/POST/COOKIE data is
brought into the PHP namespace from the server. I recommend you don't
removing escapes from a security standpoint. Do a search on "SQL injection"
to find info on how crackers can mess with you when data from the client is
not e
I trying to code a kind of DB wrapper.
So when is dbQuery turn I run into trouble.
I read in php manual that refrences are not like C pointers. They just
point to the same content.
I want to return the result from a mysql_query
but if I do something like this:
function bdConsultar($strCon)
What happened when you tried?
-Original Message-
From: javier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 1:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] references a functions
I trying to code a kind of DB wrapper.
So when is dbQuery turn I run into trouble.
I read in php ma
Note that you rarely change a result set, so there is very little point in
returning a reference to it given PHP's shallow copy implementation. And
in your case you are just returning a resource id which you definitely
aren't going to change.
But if for some reason you feel it is important (plea
Why won't this work?
$NoteNm[$i] = eregi_replace ("V:\memo\F0001\", "", "$NoteNm[$i]");
$NoteNm[$i] = eregi_replace ("\\LOBBY\VismaDok\Memo\", "",
"$NoteNm[$i]");
Best Regards
Fredrik A. Takle
Norway
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
On Thu, 4 Apr 2002, Erik Price wrote:
> I was hoping someone could just clarify something for me -- exactly WHAT
> is a Get/Post/Cookie operation in this case -- is it just during the
> uploading of Get/Post/Cookie data from the user agent, or is it also
> when I am taking a $_POST variable and
Because you did NOT \\ all your \'s
What error are you getting?
-Original Message-
From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] eregi_replace
Why won't this work?
$NoteNm[$i] = eregi_replace ("V:
On Thu, 4 Apr 2002, Fredrik Arild Takle wrote:
> Why won't this work?
>
> $NoteNm[$i] = eregi_replace ("V:\memo\F0001\", "", "$NoteNm[$i]");
> $NoteNm[$i] = eregi_replace ("\\LOBBY\VismaDok\Memo\", "",
> "$NoteNm[$i]");
Backslashes are magic.
Double them and try again (e.g., ---
I believe include() will only work if the CGI script is written in PHP.
You should be able to extract the results of a foreign script by running
passthru() or system().
For example if I wanted to print out a listing of all the files in a
directory.
You can use the optional input to pass a CGI
I thought that apart from returning an id the result set was created
within the scope of the function so when the function finishes the
resulted was deleted;
But since is just an id an the result is stored somewhere else I
wouldn't need any reference.
btw where can I read about references bes
At 04.04.2002 13:18, you wrote:
>Apparently under the bug report database for bug number 16043, my
>exactly problem was described. According to the PHP team, this
>windows/apache1.3.23/php4.1.2 session not writing to file bug has been
>fixed in the 4.2.0RC1 binaries. I've patched my php4apache.
Opossed to my thoughts worked fine.
Rick Emery wrote:
> What happened when you tried?
>
> -Original Message-
> From: javier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] references a functions
>
>
> I trying to code a kind
Hi,
i wrote a script, which uses the IMAP-extension.
But if s.o. uses it on a machine, which doesn't support IMAP functions, i get an error
message.
How can i prevent this error:
Fatal error: Call to undefined function: imap_open() in
/home/test/public_html/test/imap_test.php on line 8
and re
Hello all,
How can I get linux php binary to access a remote postgresql server with
out building postgresql on the "local system"
I want to do it like it is done on windows.
Example just load a dll file well .so in the script?
dl('extensions/php_pgsql.dll');
but
dl('what_ever.so');
--
PH
Duncan <[EMAIL PROTECTED]> wrote:
> i wrote a script, which uses the IMAP-extension. But if s.o. uses it
> on a machine, which doesn't support IMAP functions, i get an error
> message. How can i prevent this error:
>
> Fatal error: Call to undefined function: imap_open() in
> /home/test/public_
thanks for the response.
i have no problem executing a simple perl script using passthru() or
system(), but looks like i can't use a package in that perl script.
for example, i have a perl script like this:
#!/usr/bin/perl
use strict;
use lib qw(/dept/tools/lib);
#use myPackage;
print "hello wo
On Thursday, April 4, 2002, at 02:09 PM, Miguel Cruz wrote:
> I find it much simpler to turn it off, and then just addslashes all
> strings before they go into the database.
I suppose you're right -- the only time you really need to add the
slashes is right before the data gets inserted. I t
I had seen some where the procedure to add a default file to include in all
pages served in a virtual domain under Apache.
Can anyone point me to a FAQ on this of some keywords that I should search
the Apache site for.
I want to have a PHP file with all my generic functions loaded on every page
Thanks guys, this is just what I needed !
I'm just surprised that this does not seem to be really documented
anywhere. The only place where I could find this is in the "Reserved
Keywords" section of the manual, where __FILE__, __LINE__ , "const" and
"use" do not have links to explanatory pages
hello
i was looking for a solution, to start my php scripts as the owner of the
script. there's one way using SuEXEC and the cgi version of php ( using
#!/usr/bin/php or similar ).
but is there a way to do this using the apache-_module_ version of php?
sort of an apache patch?
thanks
patrick
The following simple code does not function:
$html = include("http://www.yahoo.com";);
$text = strip_tags($html);
echo $text;
I've tried several variations of the above, such as using preg_replace()
instead of strip_tags() and readfile() instead of include(), but it does
not work at all, no ma
you need to open and process yahoo with file statements, not include
please read the PHP manual...
-Original Message-
From: Ryan Govostes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 2:44 PM
To: PHP People
Subject: [PHP] strip_tags() problem
The following simple code does
> -Original Message-
> From: Ryan Govostes [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] strip_tags() problem
> I've tried several variations of the above, such as using preg_replace()
> instead of strip_tags() and readfile() instead of include(), but it does
> not work at all, no matter w
> Backslashes are magic.
>
> Double them and try again (e.g., ---
>
>$NoteNm[$i] = eregi_replace ("LOBBY\\VismaDok\\Memo\\", ...
Well I've allready tried that one:
Outputs:
Warning: REG_EESCAPE:~trailing backslash (\) in
D:\Inetpub\wwwroot\www_lobb\phpshop.php on line 28
Warning: REG_EE
1 - 100 of 170 matches
Mail list logo