On Thursday 27 June 2002 17:13, you wrote:
> I am running php4.2.1. I tried to use a simple include() coommand, but the
> path that it defaults to is /usr/local/lib/php. Can anyone tell me how to
> change this?
>
> Thanks
You can change this either in your php.ini or add it to a .htaccess as;
On Monday 01 July 2002 11:20, Nigel George wrote:
> Hi, I'm trying to install PHP 4.2.1 on SuSE SLES 7.3 and I get the
> following error message
>
> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up
>
> any ideas?
inst
On Tuesday 02 July 2002 13:49, Uwe Birkenhain wrote:
> Hi,
> I upgraded to 4.2 and now I get those errormessages
> "Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting
> T_STRING or T_VARIABLE or T_NUM_STRING in ..."
>
> when doing sth like:
> $name = "My $row['name']";
>
T
On Wednesday 10 July 2002 20:51, Matthew K. Gold wrote:
> Of course, Macromedia recently bought Allaire, so who knows what the next
> version of Homesite will look like...
Dreamweaver MX
They seem to have merged all the editing bits of Homesite in with Dreamweaver.
I must say this is the is be
if(ereg("jpg|jpeg|gif$",$userfile_name))
{
do something
}
else
{
this file is not allowed
}
This will check that the uploaded file has the correct extension.
Where $userfile is the upload field name in the form
M@
> -Original Message-
> From: Statbat [mailto:[EMAIL PROTE
Order allow,deny
Deny from all
in either your httpd.conf or a .htaccess file will deny users access to your
*.inc files
M@
> -Original Message-
> From: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2001 13:01
> To: 'Jamie Burns'
> Cc: '[EMAIL PROTECTED]'
> Subject:
> My vote is still just for include files to have a standard (already
> accepted) extension.
I think you may be missing the point on this one.
The question wasn't what to name included files but how to stop apache
parsing or showing the contents of the include files.
The obvious solution of cou
http://www.foo.co.uk">
your browser does not support frames - click http://www.oozoo.co.uk">here to go to http://www.blah.co.uk">http://www.blah.co.uk
> -Original Message-
> From: Jørg V. Bryne [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2001 10:40
> To: AJDIN BRANDIC; [EMA
Hi
I'm trying to split a string into an array but keep getting the following
message:
Warning: unexpected regex error (13) in z:/www_root/staff.php on line 34
The code is just
$query_string = split("+",$search);
where $search is from a form.
Any clues??
TIA
M@
--
PHP General Mailing Lis
Which line is producing the error??
M@
> -Original Message-
> From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
> Sent: 23 January 2001 17:32
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Parse error
>
>
> Should probably put the whole thing.
>
> Why does this produce a parse error (I know th
Hi
could anybody please help me get my head around the following.
I get some url information from the database (title, url)
I am trying to then put this into an array so I can pass it to the page to
display a menu.
so
a) how do I get the data into the array. would this be the way to do it??
expecting more than one row to be returned from the db.
So how would I get the all the rows returned into an associative array??
The manual tells you how how it should, but I need to do it from
mysql_fetch_array
M@
>
> BTW have a look into the manual, the array stuff is described pretty we
n";
}
is there any better way of doing this??
thanks
M@
> -Original Message-
> From: Pavel Kalian [mailto:[EMAIL PROTECTED]]
> Sent: 21 February 2001 15:00
> To: Matt Williams; [EMAIL PROTECTED]; PHP_UK@egroups. com
> Subject: Re: [PHP] array
b 2001 02:11, Matt Williams wrote:
> > I have done it this way...
> >
> > $menu = array();
> > $count = $db->num_rows();
> > for($i = 0; $db->next_record(); $i++)
> > {
> > $menu[$i]["name"] = $db->f("name&
Hi
Is there a way I can get the name of the form that has been posted?
Looking at the form vars I don't see a name var or such in there.
TIA
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
Thanks Simon.
You would have though as it there they would make it part of the form.
thanks again.
M@
--
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: [EMA
> > >The following code is giving an me problems, I can't figure it
> > out to save
> > >my soul. The last line gives:
> > >
> > >Here is the code:
> > >
> > >$link = db_connect();
> > >$query = "UPDATE Users SET firstname='$firstname', lastname='$lastname'
> > >WHERE username='$user' && password
Hi
Does anyone know if anyone has built phorum or any other BB with PHPLib
authentication??
I was wondering if I could save myself a lot of time..
TIA
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
switch($something)
{
case "this":
do this;
break;
case "those":
case "them":
do other;
break;
case "crap":
case "doesn't matter":
case "whatever":
do nothing;
break;
default:
print error;
}
>
> <%
> select case something
> Does anyone know how I can read the address of URL the user filled in in
> his/her browser???
I presume you mean when asking for page on your server.
$REQUEST_URI
see.
http://uk.php.net/manual/en/language.variables.predefined.php
for more details and others
M@
--
PHP General Mailing Li
> [EMAIL PROTECTED] wrote:
too bad they can't even spell their own email address
M@
--
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]
> *PHP4
> *MySQL
> *Telnet access
> *Decent Support
> *Preferably a Cobalt server (or one with a VERY good Web-based
> administrator, most other types of Web administrators I've seen have
> been clunky and a PITA)
> *Pretty Cheap
www.blueboxwebhosting.com
especially good for support
M@
--
PH
you could make your links absolute
ie..
/cat.html
so if you're in http://green/admin/admin.html
you would link to
http://green/cats.html
HTH
M@
> I am developing a PHP site under windows which is going to be deployed
> eventually on Unix (indeed when life gets less hectic will also
> be dev
> Agreed - use absolute paths - but DONT include the protocol://server
Sorry, I didn't mean it to sound like I meant include the above
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
>
> I have built a shopping cart and have made connection to an Internet
> payment company. Now once transaction is processed they want from my
> confirmation page to receive an "[OK]". How can I do this with php3/4?
>
> Response.Write"[OK]" is what ASP uses, I think???
try
echo "alert('
I am trying to write a little search script to search a mysql db.
I would like to highlight the search words for the displayed results, like
sourceforge etc...
After a little help, I have got it to hightlight when searching for one
word. The problem is if I do a search for more than one word it
> The input from the search form is $searchtext. The Returned
> Search data is
> $searchdata.
>
>
> $sql = "SELECT searchdata FROM table WHERE searchdata LIKE
> '%$searchtext'";
> $result = @mysql_query($sql, $connection)
> or die (mysql_error());
>
> $num = mysql_num_rows($result);
>
> $x
> After I submit to next page, at next page, how do I check which
> check box is checked?
> like this?
>
> if ($id=="on") {
> do something
> }else{
> do something
> }
Hi
try this assuming you have no toher check boxes called $id
if(isset($id))
{
do something
}else{
do other
}
M@
--
P
Hi James
I'll paste the code I use..
$string = search string entered in the text box.
#
// REPLACE SPACES FOR MULTIWORD SEARCH
$string = str_replace(" ","%",$string);
$db->query("SELECT title,description FROM files WHERE (title LIKE
'%
Hi Jacky
In it's simpliest form try this
###
##
>
> Hi all,
> Extremely desparate here as I still cannot get my problem sought
> out, so decided
> to post my question again.
> Allow me to repeat my question again:
> I have a
Hi
I have the script below which encases every occurance of span in a
tag
The problem is I don't want it to replace any occurance of span that is
inside a tag.
how could I acheive this?
I'm using perl regular expressions to keep the original case of the string.
So, how could I replace occurance
Hi
>
> Is there a PHP command to round up to the nearest integer?
www.php.net/ceil
www.php.net/round
HTH
M@
--
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-ma
> If I run this form using IE, hitting the Return/Enter key submits the form
> but the 'ok' variable is not set; it just redraws the form. If however, I
> uncomment the third echo line (the one for Name2), then hitting the
> Return/Enter key does have the desired effect in IE. In NS, the first
> > I was wondering, is anyone aware of a PHP server model, for Ultradev?
> >
> > Or, any leads on how I can create one?
> >
> > I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some
> > of the Ultradev server model features (and convenience), but
> > they only support ASP/JSP/J
phorum.org
M@
--
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]
Hi
>
> is anyone using phplib with php4?
yes
> I seem to be unable to get it working on a win98 machine with php4.0.5
with apache or PWS?
> I have been using it with php3 before successfully
>
>
> Please help
> I am missing something obvious?
I would suggest searching the phplib archives. Us
Hi
Try DGS Search form http://www.digitalgenesis.com
Looks pretty tidy
Only downside is you can't exclude directories
HTH
M@
--
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 adm
Does anyone have an example of compressing file uploads or files in general?
Basically some big files are being uploaded and I want to be able to zip/tar
them to cut down on disc usage.
I've tried playing with the zlib functions but haven't had much/any success
at adding files into archives.
The
> Hi All
>
> This is possibly more of an apache/linux question... does anyone
> know a way
> to force ANY url to run ONE PHP script on a virtual server... eg.
> the same
> script is run if a user goes to www.myserver.co.uk or
> www.myserver.co.uk/dfkgjdfl/ or www.myserver.co.uk/hello.htm or
m:
> my main URL (for example) is www.mycompany.com
> I want the central page about our projects to be found under
> www.mycompany.com/projects
> and project LovePeaceAndBananas under
> www.mycompany.com/projects/LovePeaceAndBananas
>
> I already know that this can be achieved by using the $PAT
> Luke Crouch wrote:
>
> > I know Dreamweaver UltraDev has nice site management features
> for using a
> > JSP/SQL type serverdoes it have similar capabilities with PHP/MySQL?
> > Does anyone know?
> >
> > -L
Search the archives on this one.
There is a project called php4ud or something like
> Hi all,
> How can I get the full URL of the currently running script?
> $DOCUMENT_ROOT is not what I need, instead I need the url (be it
> domain if exists, or ip if not). $SERVER_NAME works but if a
> domain isn't paired with the server, I could get some useless
> information (right?).
$S
Hi Laurie
Not really looked at the script there. But I wrote one a while back which is
similar.
http://oozoo.co.uk/nobba/php-here.php
Have look at that and see if you have the same problems
m:
> I was trying out this breadcrumbs code found at evolt.org:
>
> http://www.evolt.org/article/Breadc
On Wednesday 17 April 2002 15:37, SHEETS,JASON (Non-HP-Boise,ex1) wrote:
> if(Criteria=$Input) {
> Header("Location: http://www.yourplace.com/Pagename.php";);
> exit;
> } elseif(Criteria=$SomethingElse) {
> Header("Location: http://www.yourplace.com/somewhereelse.php";);
On Monday 22 April 2002 11:40 am, Boaz Yahav wrote:
> Suppose i have a multiple select posted to a script by a form.
> now i have to send this array again with a new form to a new
> script.
>
> How do i do this?
>
> thanks
>
> berber
Hi Berber
you could serialize the array into a hidden f
On Tuesday 23 April 2002 6:59 pm, [EMAIL PROTECTED] wrote:
> ie bill, car, jack, moneypower etc...
>
> example
>
> http://www.mydomain.com/member.php/moneypower/test.html
>
>
> I have experimented with the php variables that come in , but the only way
> I could figure out to get test.html out
On Friday 26 April 2002 2:25 pm, Alan McKay wrote:
> Folks,
>
> I was going through PHPlib for the first time to assess whether or not I
> can use it on a current project, and it looks pretty clear to me that you
> need a DB in order to use the session management.
>
> My environment will be a Win
On Thursday 09 May 2002 1:23 pm, Dan Hardiker wrote:
> You could also use some form of spider to go through your website. These
> are usually aimed at downloading a website to your local machine, or for
> mass caching.
> This should have the effect your after with minimum fuss and no rewriting
>
On Monday 25 February 2002 12:57, Kostas Karadamoglou wrote:
> I can't take the variables $user and $address from the form to the php
> file. Below I have the code.When I test the examble I only see the html
> text but not the variables. Thank you
>
Whic version of PHP are you using? If it's 4.1
On Monday 25 February 2002 16:02, narko wrote:
> when i do directory listing with readfile('c:\some\dir\name') warning is
> generated
> Warning: readfile("c:\temp\") - Permission denied in
> c:\programming\apache\htdocs\downloads\update.php on line 15
>
> filesystem is fat32 so permissions are fa
Hi all
I get a variable that is set be a select box on a page.
I want to use this variable to call a function within a class that is based
on it's name.
so if $var = "me"
I want to call $class->me_function();
or if
$var = "you"
call
$class->you_function();
How can I use the variable as p
On Thursday 07 March 2002 19:21, Lars Torben Wilson wrote:
> // The direct way:
> $foo->{$test . '_foo'}();
Thanks Lars
This was what I was looking for, just couldn't remember the syntax
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > "Well, everyone's favorite PHP developer multiplied last night - Rasmus
> > Lerdorf now has a son (9.0lbs, 19.25in. - a big boy) was born at 13:26
> > PDT on Wednesday March 6, 2002. If you'd like to see some pics from the
> > family, check out this page - or to send congrats, email
> > [EMA
Hi all
Has anyone been successful in authenticating ldap via win2k using
samaccountname (username) instead of the users container name.
I can successfully do it against the cn but this is not always the same as
the username.
All help/guidelines will be gratefully received.
matt
--
PHP Gene
On Thursday 21 March 2002 08:28, jtjohnston wrote:
> I'm also looking at this in my .conf. I know putting something here is the
> answer, but what :)
>
>
> Options FollowSymLinks
> AllowOverride All
>
>
> J
Options -Indexes
matt
--
PHP General Mailing List (http://www.php.net/)
To
On Tuesday 09 April 2002 11:20, Declan Kenny wrote:
> Hi folks,
>
> Ok I am trying to make a download area for files (including word files).
> How do I force a download of a word document rather than have it opening in
> IE?
>
> Declan
You don't. This option is set in windows exploror. as part o
Any ideas why this won't output anything
table;
}
}
echo test::showName();
?>
I have other classes along the similar lines but a lot bigger which work
fine.
I'm also using phplib which has a lot of this stuff going on...
I remeber seeing something regarding it in the manual but i don
ROTECTED]]
> Sent: 18 October 2001 14:39
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] class problems
>
>
> Try to create an instant of the class like this:
> class test
> {
> var $table = "val";
>
> function showName()
> {
> return $this->table;
>
Move it outside the document root
or put a .htaccess file inside the dir to deny access. This will still allow
system access but will prevent other fopen.
M:
> In a PHP application using MySQL i have to connect the database using
>
> $iDBhandle = mysql_connect( $sDBhost, $sDBuser, $sDBpsw );
> I have the above configuration installed along with mySQL, all
> works fine on
> my local machine except for error/warning messages whenever previewing the
> page in my browser where I am calling/setting a cookie variable...
>
A little more info re the error message would be useful.
Make s
> Thanks for the replies, I think it has more to do with configuration
> settings than anything else as all the scripts work fine on remote Linux
> server, it is just on my win98 set-up the problem occurs..
>
> I am looking in the php.ini, file the only reference to a tmp directory I
> c
> Well, I would do that but I don't know such an application.
> Please, can you suggest me one?
>
pkzip of course :)
M:
--
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 administr
http://www.progressive-comp.com/Lists/?l=php3-general&r=1&w=2
M:
--
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 found this in the manual notes
http://www.php.net/manual/en/ref.array.php
To delete an element from an array in an easy way, use
unset($array["element"]);...
Funny those... manuals
M:
> -Original Message-
> From: David Yee [mailto:[EMAIL PROTECTED]]
> Sent: 30 October 2001 19:03
pkzip's the name.
M:
> Does someone out there know, how I can zip a folder with some files in it?
> It should be readable for Winzip.
>
> Enviroment: Win2000 Server.
> VB was available if useful.
> Additional Components (applications, dll's or whatever) could be loaded if
> needed.
>
> I didn't f
> The action for the form is only fired if the onClick="window.close() is
> removed. My question is how can I close the window and refresh or reload
> the specified window.
>
function endWindow()
{
window.opener.location.reload();
window.close();
}
Close Window
M:
--
PHP Ge
> Hello,
> I want to set member variables out of their class. The code class is:
>
>
> class translator {
>
> var $nombre;
> var $departamento;
> var $despacho;
> var $telefono;
> var $correo_electronico;
> var $pagina_personal;
>
> function translator(){
> $nombre = array("Nombre","Nam
Please find attached a very good date class.
I can't remeber where I got it from and who wrote it but it's pretty good.
M:
> --
> > Is there any way to find out the week of the month. Today is in
> the first
> > week of month.
> >
> > That is, a function like weekofmonth() which displays 1 toda
> on win32 i like g6ftp server
I go along with this recommendation.
Had some problems on 2k with serv-u
M:
--
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
> Hi,
> I'm writing a 404 handler and in order to report the item that
> was requested
> I was trying to get the value of HTTP_REFERER. But, it does seem
> to get set.
> Does anyone know how to find thi value? Is there a reason why it
> would not
> get set?
>
Hi
I think you're looking fo
> Hi,
> When I use HTTP_REFERER it gives me the name of the php script which is
> handling the 404's?!
>
> Should that happen?
As someone put in one of the other reply's don't rely on HTTP_REFERER.
This is set (or not) by the browser and they all have different ideas about
they want to play ball
> Ok for the question. I was under the impression that PHP would
> automatically
> select the type for the vars to use. However if I have a field in my form
> where I insert only a 4 in I'd expect the var to be an integer
> (or atleast
> some other whole number type of var). However is_int fails
> or remove the {$len} to not check for a length
>
Sorry I meant replace the above with *
m:
--
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 PROT
> http://groups.google.com/groups?selm=1991Apr14.200541.755%40napc.uucp
>
So did you ever find the book Rasmus
m:
--
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
> It is a external library with useful PHP functions. It was designed
> by some German guys, but you can now forget it. Main feature was the
> session function and that function is now integrated in the PHP
> extensions.
>
Maybe not quite forget as easily as that.
PHPLib offers very good user
Hi
I am trying to validate a form to check the user has entered there date of
birth correctly
There are three fields day, month & year.
how can I check whether a string is a number?
I have tried using is_long(), is_int(), is_integer() to check the values
,but it doesn't seem to be working.
the
> Is there a way to get spacing between
> $row["City"],$row["State"] in the html output?
> I've tried echo "$row["City"], nbsp; $row["State"]";
> and a bunch of other things and get Parse error: parse
> error, expecting `STRING' or `NUM_STRING' or `'$'' .
Try
echo $row["City"]." ".$row["State"
Hi
Is there a way I can remove all the values of $HTTP_POST_VARS?
I'm trying to check where a form has been posted from and if it's not the
right plac I want to remove all the post vars so they can't any damage.
I've tried unset($HTTP_POST_VARS) but it doesn't seem to do anything.
TIA
M@
--
See http://phplib.netuse.de
regarding sessions in php3
HTH
M@
> -Original Message-
> From: Sean Weissensee [mailto:[EMAIL PROTECTED]]
> Sent: 29 March 2001 11:38
> To: [EMAIL PROTECTED]
> Subject: [PHP] Session Varables with PHP3
>
>
> How can I create Session Varables, the docs I h
> > Try replacing "100M" with it's byte equivalent. Or maybe it's
> > kilobytes. One on of my systems they had "2M" and it wouldn't upload
> > anything cause it didn't parse it right.
> > In other words, set that value to what you had with say php4.0.1
> > good luck!
>
> replaced 100M by 10485
> > How do I set the php-iclude path if I have not acess to php.ini?
> >
> > I know in .htacess but al I try ends in an Internal Server Error
> > I use php4.0.4pl1
>
php_value include_path "/path1:/path2"
HTH
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
> I tried
> php_value include_path ".:./foo"
> php_value include_path=".:./foo"
> php_value include_path .:./foo
> php_value include_path=.:./foo
> php_flag include_path .:./foo # but flag is not right
> according to the
> documentation
>
> nothing :-(
>
> It seems I must change al my in
> Hi,
> I have PHP 4.0 with IIS on Win2K and I think compiled
> everything right.
> I'm not sure how this works on Win32, but on unix it's fine. It's
> the mail()
> function.
> ex. mail("[EMAIL PROTECTED]","My Subject","My Test");
> and it returns: Warning: Server Error in C:\PHP/index.php o
> Honestly, I still don't get you.
>
> How can the client's Word not open if the script didn't make it open with
> COM.
?
Anyway,
The only way PHP can make Word open on a clients machine is if a word
document is sent to the client, or the clients browser believes that is
receiving a word do
Hi
I'm implementing a simple keyword search.
I want the results to be displayed with the keywords highlighted.
I am currently using this to highlight the keywords
str_replace($string,"$string",$field);
If I search for php, it will find PHP, PhP etc... but using the above only
php will will be h
> I'm just starting to learn PHP and it's going to
> take a while before I can create a really good
> script to password protect a section of my site,
> with a good admin control center to manage my
> user's accounts. Therefore I'm asking for
> recommendations on a good retail script that can
> ha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Hello,
>
> I'm pretty new to PHP but all I've seen of it so far I pretty much
> love!
>
> I've built a web log but when the user enters their data and they
> use ' or " (and you know they will) php always shows it from the
> included web lo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I have a function that works perfectly (from within a script). But
> when I make it a class (object) and call it from an external file,
> I get the following error:
>
> Warning: Missing argument 1 for display_records() in
> http://www.fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> The only foolproof method for restricting access is to strip
> forward slashes. In the above example, I can change the file to:
> /www/sites/mysite/teaching/../../../../etc/passwd
> And it will be allowed
> If you were to do this, however:
> $al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I haven't seen any other programs for Windows you can edit remote
> files instead of the usual "download, edit, upload". Let me know if
> there are other good editors with this feature.
HTMLedit (w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I've been wrestling with mod_rewrite and trying to understand how
> to use it for my particular purpose. I've got two php URLs I'd
> like to rewrite to make them search-engine friendly. Currently
> they look like:
>
> Example 1:
> http://mysi
> I just got the book entitled "PHP and MySQL web development" by Luke
> Wellington and Luara Thomson.
>
> I wondering how others liked the book...I haven't gotten a chance to look
> at it yet..and I'm wondering if i should :-)
Now that you've got it you might as well read it. Then you could tell
> When a form is submitted using a standard SUBMIT button it is possible
> to catch this via php using if ($submit) but how do you catch this if
> you are using an image for submitting instead of the button?
>
> Any help would be greatly appreciated.
>
values of image_x and image_y will be set i
> Oh well, who didn't know me can whether ignore this message or just say
> hi :-)
>
> Cheers Everybody!
> Maxim Maletsky
Welcome back Max
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
compile with DSO.
It makes life so much easier
--
Matt Williams
[EMAIL PROTECTED]
--
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]
Hi
Could someone please tell me how I can disable Directory Browsing with
Apache
I've been trawling the apache docs all afternoon with no success
TIA
M@
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
>
>
>
>
>
No
>
>Welcome back to the ColoradoPTAC website, $row['company']; ?>.
> Please click target="_top">here to
> complete the login process and begin using the site.
>
You will also need to add this for the module
LoadModule php4_module "c:/php/sapi/php4apache.dll"
M@
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: 14 February 2001 08:02
> To: 'Sean Kennedy'; PHP Mailing List
> Subject: RE: [PHP] Installation on win32
>
>
> Is there a php function to find out the path to my
> directory..or is there any other way..?
Have a look here
http://www.php.net/manual/en/language.variables.predefined.php
$PATH_TRANSLATED
I think gives you the full path to your script. If not one of these will
M@
--
PHP General Maili
>
> This has been an ongoing problem, when I include a file which contains a
> call to a function I get undefined function errors but when I try
> to include
> the file containing the function I get cannot redeclare function error
> messages, I can't win how do I make sure my functions are availa
100 matches
Mail list logo