On August 3, 2002 12:54 am, Jason Stechschulte wrote:
> On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote:
> > >Google has 1 billion pages and qurys in a few milliseconds...
> >
> > Real search engines do not use SQL databases.
>
> What do search engines use? Is there something out the
Just use empty() ?!
With error_reporting(E_ALL) you'll get a bunch of warnings if you only use
empty() w/o the isset() !
use isset() first and then check wheter empty or not empty!
so there is not one function that tests for empty and isset same time!?
Elias
"Analysis & Solutions" <[EMAIL PROT
Thanks for the tips, Justin. Sounds like a good idea.
Do you, or anyone, know if the $_POST vars stay defined even after moving on
to another page? Do I also need to unset $_POST after passing the vars each
time?
> From: [EMAIL PROTECTED] (Justin French)
> Newsgroups: php.general
> Date: Sat, 0
On Saturday 03 August 2002 12:55, Bob Lockie wrote:
> >$_REQUEST holds everything from $_GET, $_POST, and $_COOKIE combined, thus
> > you cannot differentiate where the value came from.
> >
> >If you want to be sure, be specific and use one of $_GET/$_POST/$_COOKIE.
>
> There is no reason other t
on 03/08/02 3:35 PM, Monty ([EMAIL PROTECTED]) wrote:
> Well, to answer my own question, I found a decent tutorial on using sessions
> with the new register_globals off here:
>
> http://www.wdvl.com/Authoring/Languages/PHP/Maintaining_state/session_variab
> les.html
>
> Anyone want to share any
Use function explode, preg_split, split to split the text string.
$pieces = explode(" ", $address);
echo $pieces[0]; // will output 4455
- Original Message -
From: Jason Wong
Sent: Saturday, August 03, 2002 1:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] string questions
On Saturday 0
Well, to answer my own question, I found a decent tutorial on using sessions
with the new register_globals off here:
http://www.wdvl.com/Authoring/Languages/PHP/Maintaining_state/session_variab
les.html
Anyone want to share any tips on how to deal with form vars passed to a
script with register_
Lord Loh. writes:
> How on earth does US Social Security dept. maintain so many records ?
> Google has 1 billion pages and qurys in a few milliseconds...
Weel, I work as a consultant on development of a similar system for Italian
Government. (instead of Social Security numbers it handles all
Hello,
On 08/03/2002 01:54 AM, Jason Stechschulte wrote:
> On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote:
>
>>>Google has 1 billion pages and qurys in a few milliseconds...
>>
>>Real search engines do not use SQL databases.
>
>
> What do search engines use? Is there something o
php-general Digest 3 Aug 2002 05:13:32 - Issue 1502
Topics (messages 110847 through 110932):
HELP with forms
110847 by: Dave Leather
110848 by: Michael Sweeney
110914 by: Bob Lockie
Re: include hassle
110849 by: Reuben D. Budiardja
HELP with fOpen
1
Hello,
On 08/02/2002 10:34 PM, Bob Lockie wrote:
> I can't get mail to work on my system.
> It always tries to send mail as the user 'nobody' which my Apache 1.3.26 runs as.
> phpinfo() reports I have the correct path to the php.ini file which specifies it is
>supposed
> to send as the user 'bob
On Sat, 3 Aug 2002 12:19:15 +0800, Jason Wong wrote:
>On Saturday 03 August 2002 10:43, Bob Lockie wrote:
>> What is the difference from using $_GET['some_var'] from using
>> $_REQUEST['some_var']? I think the documentation says either can be used to
>> do the same thing.
>
>$_REQUEST holds every
Hi,
Friday, August 2, 2002, 10:52:14 PM, you wrote:
JB> Good morning!
JB> I need to subtract months by their abbreviated month name, so shouldn't this
JB> work?
JB> print(date("M", mktime(date("M")-$i));
JB> and if I loop;
JB> Aug
JB> Jul
JB> Jun
JB> May
JB>
Does this help...
$now
On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote:
> >Google has 1 billion pages and qurys in a few milliseconds...
>
> Real search engines do not use SQL databases.
What do search engines use? Is there something out there that explains
how they work?
--
Jason Stechschulte
[EMAIL P
On Fri, Aug 02, 2002 at 09:34:20PM -0400, Bob Lockie wrote:
> I can't get mail to work on my system.
> It always tries to send mail as the user 'nobody' which my Apache 1.3.26 runs as.
> phpinfo() reports I have the correct path to the php.ini file which specifies it is
>supposed
> to send as the
Hello,
On 08/03/2002 01:36 AM, Lord Loh. wrote:
> I have a database of mysql with 3 million records. No query is performed in
> less than 10 seconds!(With Index and all that)
The index will not do magic by itself, especially if it is not unique.
> Any way to speed this up ?
Sometimes your qu
On Saturday 03 August 2002 00:35, webmaster wrote:
> I know there has to be an easy way to do this, but I just can't find the
> answer. I need to strip out the first part of a text string. I've
> figured out out to strip out the last part of a string using the
> following:
>
> $address = (4455 N
> Should this be asked in a mysql list ? Please suggest a NNTP server!
You could always take this to the mysql mailing list
[EMAIL PROTECTED]
tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a database of mysql with 3 million records. No query is performed in
less than 10 seconds!(With Index and all that)
Any way to speed this up ?
How on earth does US Social Security dept. maintain so many records ?
Google has 1 billion pages and qurys in a few milliseconds...
I am not sayi
On Saturday 03 August 2002 07:01, Jason Caldwell wrote:
> You cannot have COUNT(*) without having GROUP BY -- hence, by search query
Not sure what you mean -- SELECT COUNT(*) FROM table; -- works fine.
> will not produce the desired results -- I'm thinking that there may be
> something within PH
Hi,
Friday, August 2, 2002, 11:29:39 PM, you wrote:
JV> Tried to post this to the news group before, but I'm having trouble getting
JV> to my news server from work - hopefully I'm not posting a duplicate.
JV> I think I'm seeing the problem I'm seeing because I'm getting a copy of a
JV> var inst
On Saturday 03 August 2002 07:37, Monty wrote:
> I'm trying to use the more secure "register_globals=Off" setting for some
> simple scripts that do authentication and use sessions. But I'm ready to
> rip all my hair out!
Look at the chapter "Session handling functions". The setting of
register_g
A function I have written to accept filenames, read it and phrase it's mark
ups. Is the second function of one line file a good idea ? Is there an
alternative ? Can problems arise if the size of the file being phrased is
very large ?
==
=
On Saturday 03 August 2002 10:19, Varsha Agarwal wrote:
> Hi,
> I am creating a session for user autentication. As I
> read from the help there are two ways for passing
> session IDs
> -Cookies
> -URL parameter.
>
> By default its passing it through cookies. I don't
> want to use any cookies in my
On Saturday 03 August 2002 10:43, Bob Lockie wrote:
> What is the difference from using $_GET['some_var'] from using
> $_REQUEST['some_var']? I think the documentation says either can be used to
> do the same thing.
$_REQUEST holds everything from $_GET, $_POST, and $_COOKIE combined, thus you
c
>From the php docs(XC. Session handling functions)
==
Hello visitor, you have seen this page times.;
is necessary to preserve the session id
# in the case that the user has disabled cookies
?>
To continue, click here
===
On Saturday 03 August 2002 04:13, Erich Kolb wrote:
> Is there any way to speed up MySQL queries?
1) Use a faster computer
2) Read the mysql manual
3) Ask on the mysql list
4) Ask google
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web D
How ever can ant of the apache restrictions stop any one from including the
script by giving the whole path.
ie /home/htdocs/include.inc or /home/abc/include.inc
Yes or No ?
I use win 2000 so it is not possible for me to experiment! but I have
hostings on servers like www.f2s.net and a project o
On Fri, 2 Aug 2002 12:14:51 -0500, Dave Leather wrote:
>Is there a way to read a FORM varaiable into PHP variable. The kicker here
>is the form variable is in a framed window.
>
>Example, I have my main page in a 2 part frame (90%/10%). The bottom 10%
>has a form on it called 'fileform' with on
What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']?
I think the documentation says either can be used to do the same thing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>Can PHP be used on an Apache server (linux) to connect to a (remote) MS
>Access server (NT) through ODBC?
Yes.
> If so, does anyone have examples of how this
>is done?
Nope, never done it.
It'll use the same PHP database commands probably.
Read www.php.net
--
PHP General Mailing Lis
Hello All,
I have the following lines in my program to disable the caching with the
client.
But still the clients cache my pages.Installed versions in my server is PHP 4.2.2 and
Apache 2.0.39.
Is there any other way to go.
Any help is appreciated.
Advance thanks and regards,
Sent
Is register_globals off in your php.ini?
Try $var = $_REQUEST['var'];
>Hi! i have instaled PHP 4.2.2 in a slack 8.1 running apache 2.0.39.
>i have a proble with a very basic script (pass variables to a php
>script). Is seems not recieve variables, because print somthing like this:
>
>Your first
>Yes, there are many users they recommend to use apache 1.3.26 and php 4.2.2 !
>What useful of CVS ?
Apache2 is not supported yet.
The latest version from CVS (Concurrent Version System) might work.
If you don't have CVS then use Apache 1. :-)
>Bob Lockie wrote:
>
>> >Thanks, Tyler, I will if I
Hi,
I am creating a session for user autentication. As I
read from the help there are two ways for passing
session IDs
-Cookies
-URL parameter.
By default its passing it through cookies. I don't
want to use any cookies in my program. Can anyone tell
me how to go for the other way? i.e. through UR
I can't get mail to work on my system.
It always tries to send mail as the user 'nobody' which my Apache 1.3.26 runs as.
phpinfo() reports I have the correct path to the php.ini file which specifies it is
supposed
to send as the user 'bob'.
I have sendmail 8.12.5 and PHP 4.2.2 on the same RedHat
Hello,
On 08/02/2002 02:39 PM, Randy Johnson wrote:
> Does the bcompiler below improve performance?
>
> make scripts run faster?
Definetly YES, because you do not need compile the scripts before each
execution as they are already executed. Think about the speedup more or
less like you were
Hello,
On 08/02/2002 11:06 AM, Lallous wrote:
> So...
> Is this equivalent to Zend Encoder?
Not exactly, but in some aspects it is/will be better like the ability
to generate executable standalone PHP programs that you can distribute
independently. There is also the question of the price that
> I just upgraded to PHP 4.2.2 and am trying to make my sites work with
> register_globals turned OFF. I notice, however, that with
> register_globals turned off any variables I pass via the URL don't
seem to be
> recognized by the script it was passed to.
> I thought register_globals onl
I know there has to be an easy way to do this, but I just can't find the
answer. I need to strip out the first part of a text string. I've
figured out out to strip out the last part of a string using the
following:
$address = (4455 N. 45th St.);
$test = strstr($address, " ");
echo $test;
The
Hi all,
I'm getting this error while running a simple script.
Warning: imageftbbox(): No FreeType 2 support in this PHP build in
/home/www/htdocs/button_create.php on line 11
Here's my phpinfo https://utkalika.yi.org/phpinfo.php (note the https)
While compiling PHP, It says freetype(2) support
> If you run your own server, you can set it up so that each webmaster is
> locked into a private environment, but it's messy. According to me, you
> would need a separate copy of apache for each site, each running under a
> different user, and they would need to run on separate ports, which is a
> I send the XML request in a string to the
> credit bureau through cURL and vice versa. Most of the PHP scripting I
> found everywhere spoke about breaking up the xml tag into the array only
> when they come from the file and is use for parsing.
The example on my page you looked at does get the
I'm trying to use the more secure "register_globals=Off" setting for some
simple scripts that do authentication and use sessions. But I'm ready to rip
all my hair out!
Can someone recommend a good article online that clearly discusses what's
different when you have register_globals=Off? I've spen
> That same script also gets a value ($step) from another one. Now I
> need to figure out which $var_list# to use based on this $step value. Any
> suggestion on how to do this?
${'var_list'.$step}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Nope, it was this http://www.php.net/tips.php that I was thiking of
But thanks, I didn't know you could do that ;-)
-Brian
> -Original Message-
> From: Lars Olsson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 02, 2002 2:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Func
> I am new to php, can anybody pls help me out with my query?
> How to do a server to server post in php, without client
> knowing about it.
There's a function called Post2Host. Look in the archives of this newsletter
or in Google Groups and you'll find the code for it.
--
PHP General
I don't know what else to title this message with, hence the subject.
I have a script that defines a few variables like this:
$var_list1 = Array(...);
$var_list2 = Array(...);
$var_list3 = Array(...);
etc.
Further down the script I have this piece:
while (list(
You cannot have COUNT(*) without having GROUP BY -- hence, by search query
will not produce the desired results -- I'm thinking that there may be
something within PHP or MySQL (a Function) that reports the total found for
a query whether or not a LIMIT clause is used?
Thanks
"Julio Nobrega" <[E
You could select everything, count the results, and just show 15 results.
I am not sure that a COUNT() with LIMIT will perform the desired effect.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Jason Caldwell" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">
It was changed for security reasons:
http://www.php.net/release_4_1_0.php
joe
Bob Lockie wrote:
> What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']?
> I think the documentation says either can be used to do the same thing.
>
> What is the performance differen
Hi all,
I am new to php, can anybody pls help me out with my query?
How to do a server to server post in php, without client knowing about it.
Thanks
Puru
What is the difference from using $_GET['some_var'] from using $_REQUEST['some_var']?
I think the documentation says either can be used to do the same thing.
What is the performance difference from having register_globals turned off from having
it turned on?
I assume the default was changed for
Hi all,
I am new to php, can anybody pls help me out with my query?
How to do a server to server post in php, without client knowing about it.
Thanks
Puru
I have have a PHP script that is core dumping, I'm trying to find out
exactly where. I carefully followed the instructions on
http://bugs.php.net/bugs-generating-backtrace.php
with a little help in creating an apache debug build using:
http://www.bowiesnyder.com/writings/gdb_apache.htm
howeve
Thanks, Steve. So, does this mean I now have to re-declare all vars passed
via the URL or a form POST in every script that uses them? Or is there a
quicker, easier way to make use of these vars with register_globals off in a
script?
Thanks!
> From: [EMAIL PROTECTED] (Steve Edberg)
> Newsgroups
I also got exactly the same errors this morning. Thought may be its
because I'm using a beta version of RedHat Linux (Limbo).
-Original Message-
From: Rick Kukiela [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 4:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help!!! CVS install br
I'm starting work on regular expressions in PHP these days. Just
thought I'd share my test code for others out there who are fresh
starters with the language and regular expressions.
file parser.php:
\n";
print "\n";
print "Testing regular expressions\n";
print "\n";
print "\n";
I'm using PHP4 and MySQL --
I'm trying to write a small search engine -- got it working, however, what
I'd like to do is return the TOTAL records found.
You see, right now I am using LIMIT within my SQL -- so I only return 15
results at a time.
How do I get the total (say for example there are
ok, i do a make and it makes fine but when the make install i get an
infinite loop of this error:
Warning: mkdir(): File exists in /usr/local/src/php4/pear/System.php on line
235
I went to the code and i tried putting a line that says this:
if(file_exists("$newdir")) { $ret = exec("/bin/rm -rf
Yes Scott, I get that too. But hey, it's friday!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What give?? I post the command and replied to some other posting. It made
it through and was posted without a problem! I kept getting the email from
PHP server saying "
Sorry. Your message could not be delivered to:
brian-phplist,emc (The name was not found at the remote site. Check that
the
Indexes
Putting strings in single quotes instead of double (WHERE id = 'something')
Normalized database design.
- Monty
> From: [EMAIL PROTECTED] (Erich Kolb)
> Organization: R&B Receivables Management, Inc.
> Reply-To: "Erich Kolb" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Fri, 2
Yes! Unfortunately, you'll have to install the special driver on the
Linux/Unix becuase of the communication difference between UNIX & Windows as
well as the language difference between these two. I tried using iODBC and
openLINK. After 1 1/2 years, I decided that open source code for this is n
-Original Message-
here any way to speed up MySQL queries?
--
Sure, ask for only the data you need. or halt your query when you have what you need.
HTH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm having trouble getting the XML string to be broken up into the PHP
array. Here's how it work. I send the XML request in a string to the
credit bureau through cURL and vice versa. Most of the PHP scripting I
found everywhere spoke about breaking up the xml tag into the array only
when they c
Hi List,
I need your help.
I wrote my classes with php where I defined my objects, then I created my
repository in /usr/share/php , in this
directory are my clasess.
Now, from my directory web I like to call to my classes, then I modified my
php.ini (/etc/php.ini) and inserted
this line, in the
Is there any way to speed up MySQL queries?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
First thing first! Open up the terminal and log in. Then type the command,
if the machine doesn't reboot or if you got an error message, it meant the
command is not correct. Once you get the correct command then use it in
PHP. It's much simplier that way. If PHP can't reboot the machine then
On Thu, Aug 01, 2002 at 09:52:12AM -0400, Chad Day wrote:
> Also tried that, no success, unless I am missing something.
>
> ...
> $info["st"]="stchanged!";
> ...
>
> ldap_modify($ds, 'uid=testing,cn=online-leagues.com', $info);
>
> Fatal error: LDAP: Unknown Attribut
On Thu, Jul 18, 2002 at 08:17:59PM -0500, Richard Lynch wrote:
> #0 is basically just LDAP's way to represent NULL, most likely.
>
> >$info["mail"]=""; // <- NULL VALUE HERE
> >// The following lines also produce the same result...
> >//$info["mail"]=NULL; // <--- NULL v
At 3:29 PM -0400 8/2/02, Monty wrote:
>I just upgraded to PHP 4.2.2 and am trying to make my sites work with
>register_globals turned OFF. I notice, however, that with register_globals
>turned off any variables I pass via the URL don't seem to be recognized by
>the script it was passed to.
>
>So,
Hi, I need to authenticate users on an included page on my website, but the
problem is, I cant get it to work.
view it included at http://members.lycos.co.uk/ajohnh/ (Source at
http://members.lycos.co.uk/ajohnh/source/index.txt)
the actual file:
http://members.lycos.co.uk/ajohnh/templates/twoShea/
I just upgraded to PHP 4.2.2 and am trying to make my sites work with
register_globals turned OFF. I notice, however, that with register_globals
turned off any variables I pass via the URL don't seem to be recognized by
the script it was passed to.
So, if I pass "http://my.site.com/page.php?id=20
Does the user apache is running as have access to reboot the server?
At 07:18 PM 8/2/2002 +, you wrote:
>I am using the below command in the php page to reboot the linux server.
>But nothing happens . Where am i wrong or do i have to give a path or
>nething . Please help.
>
>
>$output = she
Is it `reboot -n` ??
Harpreet Kaur wrote:
> I am using the below command in the php page to reboot the linux server.
> But nothing happens . Where am i wrong or do i have to give a path or
> nething . Please help.
>
>
> $output = shell_exec(`reboot`);
> echo $output;
>
>
>
> __
I am using the below command in the php page to reboot the linux server. But
nothing happens . Where am i wrong or do i have to give a path or nething .
Please help.
$output = shell_exec(`reboot`);
echo $output;
_
Join the worl
Looking for people who understand the xml/php/mysql/.
Has anyone seen an xml/php application with mysql. If you have
please send me the link. thanks. For those wanting to try an xml
server,
this is the place ixiasoft.http://www.ixiasoft.com/?from=textmldemo
--
PHP General Mailing List
Hi List,
I need your help.
I wrote my classes with php where I defined my objects, then I created my
repository in /usr/share/php , in this directory are my clasess.
Now, from my directory web I like to call to my classes, then I modified my
php.ini (/etc/php.ini) and inserted this line, in the
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ug
Florian SchäFer wrote:
> Hallo out there,
>
> i hava an document, with one form and two Submit buttons.
> How can i check in the target document wich button is pressed?
> tried something like if ($submit == 'xxx') .
> anyone has a hint?
>
>
--
PHP General Mailing List (http://www.php.n
I dunno why some webhosting company can do virtual host by php as apache
module. That means they seem to work fine with the virtual host uid/gid
permission when using php. But they use php as apache modulehow do
to that ??
Thx all !!
--
PHP General Mailing List (http://www.php.net/)
To uns
It still works...try http://www.php.net/mysql or
http://www.php.net/fopen for example...
/lasso ([EMAIL PROTECTED])
Brian V Bonini wrote:
> There used to be a utility that let you search php functions from the
> address bar in your browser by simply appening PHP to the function name eg,
> php
Can PHP be used on an Apache server (linux) to connect to a (remote) MS
Access server (NT) through ODBC? If so, does anyone have examples of how this
is done? And if not, what other choices do I have?
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+-
I am trying to create a really simple proxy using PHP.
Basically, i need to:
1. read in the contents of a URL.
2. get the content-type
3. set the content type for the response
4. write the contents of the URL to the response.
here is what i have thus far:
$dataURL = "http://www.foo.com/data.xm
Hi to all,
1. does any body know how to limit number of attempts to connect to the
remote pc. not by time but for attempts.
(sorry, offtopic ) 2. can anybody explain why sometimes connection attempt
to a closed ports hangs-up remote link, and sometimes not? the remote pc is
the same.
Thanks.
Does the bcompiler below improve performance?
make scripts run faster?
anybody have a testimonials on it's use??
Thanks,
Randy
- Original Message -
From: "Manuel Lemos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 9:14 PM
Subject: [PHP] Re: Protect P
I just moved my domain over to phpwebhosting.com. The transfer went very
smoothly and so far I've been satisfied. The only hitch I can see in
your requirements might be the background processes (bots, what?). But
it's probably worth asking them about.
..michael..
On Thu, 2002-08-01 at 23:31, Ma
There used to be a utility that let you search php functions from the
address bar in your browser by simply appening PHP to the function name eg,
php mail I thikn it might of been an IE only thing...
I can't remember were I originally got it form and can not find it again,
does anyone know?
-Bri
thank you matt for explain what´s wrong.. short but helpfull !!!
Sebastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Muchas gracias fernando por tu explicacion !! Con Mas detalle Imposible !!
todavia no se como es que me llego tu respuesta a mi correo y no aparece
aca en el news group (soy nuevo usando news) pero igual muchas gracias..
Sebastian.
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Folks:
On Fri, Aug 02, 2002 at 07:01:38PM +0200, Jürgen wrote:
>
> Why would i ever want to use isset() then?
Because sometimes you just want to check if something is set due to null,
'' and 0 being important.
$var = '';
empty($var); // evaluates to true
isset($var); // evaluates t
No lock in the archives, so here it goes...
Greetings all, I am using fOpen to try and create a new file in a local directory on a
remote server. Each time I run my script is says "PERMISSION DENIED" but the sys admin
swears the entire directory is set to 777.
Does anyone know if a setting has
On Friday 02 August 2002 10:41 am, lallous wrote:
> I mean this:
>
> i have this tree:
>
> ./libs/*.php
> ./user/file1.php
>
> now i'm in ./user/ directory
> i run file1.php
> it includes ../libs/lib1.php which in turn will include helper.php
> (./users/helper.php) <-- will fail!
>
> how can i pro
What do you mean, "return it to a php variable"?
The closest I can come to understanding your question is that you want
the form input in your bottom frame to be sent to another frame in your
top window for submission.
If that's any place close to correct, you need a javascript solution. In
any
Is there a way to read a FORM varaiable into PHP variable. The kicker here
is the form variable is in a framed window.
Example, I have my main page in a 2 part frame (90%/10%). The bottom 10%
has a form on it called 'fileform' with one text box called filevalue
-- source snippit --
-- end
But if this is true what you say, that empty() checks for
not set
null
an empty string
zero
Why would i ever want to use isset() then?
If i understood you correctly, would the following
op = isset($_GET['op']) && !empty($_GET['op']) ? $_GET['op'] : '';
be the same as
op = !empty($_GE
This has been discussed in great detail before..
but the simplist solution is running PHP in safe mode, it does limit the
user to certain things, but it stops them bringing the server down or
altering others files
andrew
- Original Message -
From: "Matt Babineau" <[EMAIL PROTECTED]>
To: <
I get the error msg mentioned above when I use the ereg() function.
What is it, that I don't know?
Best regards
Klaus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out the Zend Encoder at http://www.zend.com to generate encoded php
files. It is, however, a bit pricey.
At 12:47 AM 8/2/2002 -0400, php @ banana wrote:
>Just out of curiosity when and why?
>
> >Is there any method to encrypt PHP files.
> >
> >Nyon
> >
> >
> >--
> >PHP General Mailing Lis
1 - 100 of 156 matches
Mail list logo