[PHP] ICMP Ping

2001-08-13 Thread James Crowley

Hi,
Is there any way to send an ICMP ping (or packet) from PHP?
(without using exec("ping")!!)

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] Traceroute without traceroute command!

2001-08-07 Thread James Crowley

Hi,
I would like to perform a traceroute with PHP. However, my ISP
has disabled the traceroute command normally available in
/usr/sbin/traceroute. Is there any other way?

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] ICMP Ping

2001-08-07 Thread James Crowley

Hi,
I'm trying to write a port scanner similar to
http://scan.sygatetech.com to expose security holes in a PC or server.
However, I can't figure out how to perform an ICMP ping. Does anyone
know how?

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] fread (with fsockopen) returns nothing for CGI file

2001-08-06 Thread James Crowley

Hi,
I am using fsockopen and fread to get the contents of a file on
a server. Everything seems to work fine, except for one url. Opening
http://ad-adex3.flycast.com/server/img/3327812_VBWeb/11196014_Restofsite
/999
Works fine, however,
http://www.burstnet.com/cgi-bin/ads/ad8747a.cgi?uniq=9990
Does not (nothing is returned). (In the browser, they both display
adverts). Do you know why? There is a demo at 
http://192.168.0.6/bin/ad-get2.php?url=#theurl#
Replace #theurl# with the url that you want to open... Location: headers
are handled automatically.

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] What's wrong with this regular expression?

2001-07-20 Thread James Crowley

Hi,
Could someone please point out where I've gone wrong with this regular
expression...?

$body="http://www.fred.com\";>my test or here";
$body=eregi_replace ("([^\\[]*)","[url=\"\\1\"]\\2[/url]",$body);

#$body should now be
[url="http://www.fred.com"]my test[/url] or
[url="/show.asp?id=333"]here[/url]
#but instead, it is
[url="http://www.fred.com";>my test or http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] Re: a good PHP editor

2001-07-20 Thread James Crowley

I would recommend Developers Pad (http://www.developerspad.com/). It's free
and open source. OK, I am the author, but I've had lots of positive comments
about it :-)

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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] Large Text Fields from MS SQL DB Truncated

2001-07-02 Thread James Crowley

Hi,
I've hit a little problem... When retreiving large TEXT data (equivilant to
MySQL's MEDIUMTEXT) from a MS SQL database using PHP, the data becomes
truncated after 4,095 bytes. I have tried connecting both with ODBC, and the
MsSQL php functions, but to no avail. It works fine in ASP ;-) Any
suggestions?

Thanks very much,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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]




RE: [PHP] search for a better php source code viewer

2001-06-29 Thread James Crowley

How about Developers Pad? It's free, and open source ;-) (but unfortunately
for windows only)
http://www.developerspad.com/

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==

> -Original Message-
> From: Montz, James C. (James Tower) [mailto:[EMAIL PROTECTED]]
> Sent: 28 June 2001 00:06
> To: 'scott [gts]'; php
> Subject: RE: [PHP] search for a better php source code viewer
>
>
> I have been using PHP Coder as I am somewhat familiar with the ColdFusion
> IDE (CF Studio)
>
> http://www.phpide.de/
>
> -Original Message-
> From: scott [gts] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 4:32 PM
> To: php
> Subject: RE: [PHP] search for a better php source code viewer
>
>
>  im a textpad fan.  (for windows)
>  http://textpad.com/
>
>  it supports custom syntax hilighting,
>  line numbers, and a ton of other features
>  that i use :)
>
>
> > > -Original Message-
> > > From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, June 26, 2001 10:26 AM
> > > To: [EMAIL PROTECTED]; php
> > > Subject: Re: [PHP] search for a better php source code viewer
> > >
> > >
> > > I suggest ConTEXT.  It's free, and it's for windows.
> > > http://www.fixedsys.com/context
> > >
> > > And for Linux, I suggest Nedit.
> > > http://www.nedit.org/
> > >
> > > Tyler
>
>
> --
> 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 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] wierd array problem using mysql_fetch_array and mssql_fetch_array

2001-06-29 Thread James Crowley

Hi,
I've been having some very wierd problems using arrays and the database
functions for mysql_fetch_array and mssql_fetch_array. (Running on Windows
2000). Please see the comments in the code below.

#connect to the ms sql db
#(the problem also occurs when using a mysql db)
$connsrc = mssql_connect("dellserver","vbweb", "password");
#select the db
mssql_select_db("vbwcontent", $connsrc);
#execute the query
$query = mssql_query("SELECT TOP 10 * FROM dir_items");

#get the number of fields in the query
$count=mssql_num_fields($query);

while ($data=mssql_fetch_array($query)) {
#in theory, count($data) should return the same number
#as the $count variable, but it returns twice the amount
#presumably because of the use of keys and indicies?

#loop through the returned data
for ($i=0;$i<$count;$i++) {
#we can try to do this 2 ways, both cause access errors
#use the array position. However, once we use this,
#it appears we cannot use the named field... try it!
$data[$i]=str_replace("'","''",$data[$i]);

#alternatively, try getting the name of the field, and reference
#it using it's named field...
$pos=mssql_field_name($query,$i);
$data[$pos]=str_replace("'","''",$data[$pos]);

#and we still get 'PHP has encountered an Access Violation at 
0146E027',
or
#Warning: Cannot use a scalar value as an array in D:\Virtual
Hosts\vbweb.co.uk_new\bin\importdata.php on line 27
#it appears that PHP is getting it's memory in a mess, as
#some very weird values are returned...
}

echo "INSERT INTO dir_items (authorid,url) VALUES
($data[memberid],'$data[url]')";
}

Can any one tell me why this is happening, and any way to work around it?

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
Fax   - +44(0)8707052859
==


-- 
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]




FW: [PHP] PHP Editor

2001-05-13 Thread James Crowley

You might also want to try a freeware & opens ource editor I am 
developing, called Developers Pad
http://www.developerspad.com/

Regards,
 
- James
 
 Editor, VB Web
 ==
 Web   - http://www.vbweb.co.uk
 Email - [EMAIL PROTECTED]
 ICQ#  - 60612011
 ==
> 
> > -Original Message-
> > From: Laurie Landry [mailto:[EMAIL PROTECTED]]
> > Sent: 12 May 2001 17:24
> > To: PHP
> > Subject: RE: [PHP] PHP Editor
> > 
> > 
> > I like using Homesite - color coordination of code as well. I use
> > Dreamweaver for the design elements as well, but sometimes it 
> doesn't work
> > very well for php coding.
> > 
> > Laurie M. Landry
> >  Design & Development
> > 
> > www.lmlweb.com
> > [EMAIL PROTECTED]
> > 
> > T: (604) 872-6915
> > F: (425) 732-1547
> > 
> > > -Original Message-
> > > From: Dave Mateer [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, May 11, 2001 2:36 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [PHP] PHP Editor
> > >
> > >
> > > I'm using ColdFusion Studio which makes life very easy - good colour
> > > co-ordination of the code, and only takes 1 button the do an 
> > FTP upload up
> > > to the web-server (I'm using a Windows box to do editing, then 
> > a Linux box
> > > as webserver).
> > >
> > > We've been using Dreamweaver as well to bring the design elements
> > > together...works well, when you're doing the html stuff.  For
> > > pure coding, I
> > > recommend ColdFusion Studio.  ahhh it costs money though.
> > >
> > > Textpad (from textpad.com) is good...can d/load an evaluation 
> > copy (fully
> > > functional, and doesn't time out)..
> > >
> > > Hope this help
> > >
> > > David.
> > >
> > >
> > >
> > > "Daniel" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > Hi,
> > > >
> > > > Just wondering whether you guys use any type of editor when
> > > programming in
> > > > PHP? if so what have you found to be useful?
> > > >
> > > >
> > > > Thanks
> > > >
> > > >
> > > > Daniel
> > > >
> > > >
> > > > --
> > > > 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 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] Recursive SQL Queries: Web Directory Categories

2001-05-07 Thread James Crowley

Hi,
I have a web directory which allows sub-categories to an unlimited level.
This is done with a categories table, and assigning a parentid to each...
For example

ID   ParentIDName
10   Products
21   Sub-Category of Products (Level 1)
31   Another Sub-Category (Level 1)
42   A sub-sub-category (Level 2)

What I need to do is return a list of an items parent categories. For
example, if we are in category 4, I want text outputted saying

Products \ Sub-Category\sub-sub Category

However, it does not seem possible to do this with a single SQL query. I
have succeeded in creating a recursive one below (in MS SQL):

CREATE PROCEDURE dbo.dir_recurse(@parentid INT) AS
  --// List its parent categories
  DECLARE @childid INT
  DECLARE hC CURSOR LOCAL FOR SELECT parent FROM categories c WHERE id =
@parentid ORDER BY c.name FOR READ ONLY
  OPEN hC
  FETCH NEXT FROM hC INTO @childid
  WHILE @@FETCH_STATUS = 0 AND @childid != 0
  BEGIN
EXECUTE dir_recurse @childid
FETCH NEXT FROM hC INTO @childid
  END
  CLOSE hC
  DEALLOCATE hC
  RETURN 0
GO

However, this returns more than one result set, which neither ASP or PHP (so
therefore it's probably the ODBC driver...) seem to support. Help!

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: 06 May 2001 20:11
> To: [EMAIL PROTECTED]
> Subject: php-general Digest 6 May 2001 19:11:22 - Issue 670
>
>
>
> php-general Digest 6 May 2001 19:11:22 - Issue 670
>
> Topics (messages 51587 through 51649):
>
> IIS instead of PWS!!! what else can i do..
>   51587 by: Thomas Edison Jr.
>   51588 by: Zak Greant
>   51591 by: Thomas Edison Jr.
>   51592 by: Thomas Edison Jr.
>   51593 by: Zak Greant
>   51594 by: Alexander Skwar
>
> Re: PHP on PWS not working!
>   51589 by: Thomas Edison Jr.
>   51590 by: Thomas Edison Jr.
>   51600 by: Phil Driscoll
>   51640 by: Thomas Edison Jr.
>   51644 by: Phil Driscoll
>
> Re: Sorry, what is "PWS"
>   51595 by: Alexander Skwar
>
> Re: "Free" Database Design Program
>   51596 by: Andrzej Swedrzynski
>
> Novedades en Gordos.com
>   51597 by: Gordos.com
>
> PHP as apache module and security.
>   51598 by: Andrzej Swedrzynski
>   51607 by: Estelle Martin
>   51609 by: Andrzej Swedrzynski
>
> Re: nslookup function ?
>   51599 by: Tom Carter
>
> Complete Newbie
>   51601 by: biscut
>
> What is msvcr70.dll??
>   51602 by: Ermanno Iannacci
>
> Re: PEAR where should I start?
>   51603 by: Gyozo Papp
>
> Image displaying problem
>   51604 by: Estelle Martin
>
> Re: class (not class instance) variables
>   51605 by: Gyozo Papp
>
> Re: quicker query?
>   51606 by: Gyozo Papp
>
> searching a MySQL database
>   51608 by: Jamie Saunders
>   51620 by: bill
>   51623 by: John Vanderbeck
>
> Insert data into mysql table
>   51610 by: Mohamedou
>
> Re: wordwrap
>   51611 by: Yasuo Ohgaki
>
> php4apachi.dll
>   51612 by: Darren
>
> best ide for windows
>   51613 by: Alexander Bierbrauer
>   51615 by: Gyozo Papp
>   51617 by: Geir Eivind Mork
>   51618 by: John Vanderbeck
>   51626 by: Henrik Hansen
>   51628 by: Andrzej Swedrzynski
>   51629 by: Gyozo Papp
>   51630 by: Alex Piaz
>   51633 by: Alexander Skwar
>   51634 by: Bjorn Sodergren
>   51635 by: Andrzej Swedrzynski
>   51637 by: John Vanderbeck
>   51639 by: Andrzej Swedrzynski
>
> php.exe [filename .php] vs. run [filename.php] via webserver
>   51614 by: Art
>
> Install problems with PHP and GD
>   51616 by: John Vanderbeck
>
> if string contains...
>   51619 by: Jamie Saunders
>   51621 by: Alvin Tan
>   51622 by: Gyozo Papp
>
> Slightly OT - Backing up mySQL...
>   51624 by: Nick Terzich
>   51625 by: Felix Kronlage
>   51627 by: Henrik Hansen
>
> Re: simple database extraction problem :(
>   51631 by: Manuel Lemos
>
> Can php give me row number?
>   51632 by: Jan Grafstrvm
>   51636 by: Gyozo Papp
>   51642 by: Stephan Ahonen
>
> Flash/PHP/MySQL
>   51638 by: FredrikAT
>   51641 by: Eduardo Pirez Jover
>
> Passing variables to another page - newbie
>   51643 by: Dean Martin
>   51645 by: Jack Dempsey
>   51646 by: John Vanderbeck
>   51647 by: tcuhost.hotmail.com
>
> [OT?] permission denied[OT?]
>   51648 by: Alexander Bierbrauer
>
> file() shooting blanks
>   51649 by: Jay Lepore
>
> Administrivia:
>
> To subscribe to the digest, e-mail:
>   [EMAIL PROTECTED]
>
> To unsubscribe from the digest, e-mail:
>   [EMAIL PROTECTED]
>
> To post to the list, e-mail:
>   [EMAIL PROTECTED]
>
>
> --
>


-- 
PHP General Mailing List (h

[PHP] Multiple Result sets

2001-05-07 Thread James Crowley

Hi,
I've written a recursive stored procedure in MS SQL, which returns a number
of result sets (ie 3 different recordsets rather than the usual 1). How can
I access the other result sets in php?

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==


-- 
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] php editors

2001-03-30 Thread James Crowley

You might also be interested in Developers Pad
http://www.developerspad.com/
It's free and open source too ;-)

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==

> -Original Message-
> From: almir [mailto:[EMAIL PROTECTED]]
> Sent: 20 March 2001 11:39
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: php editors
>
>
> homesite is very nice
>
> www.allaire.com
>
> almir
>
> ""Richard Lynch"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> 01f901c0b0c8$291ba800$[EMAIL PROTECTED]">news:01f901c0b0c8$291ba800$[EMAIL PROTECTED]...
> > > I am looking for good php editors. Currently, i am using PHP coder. It
> > > highlights syntax and checks my syntax. It's also executes my
> PHP codes.
> > Are
> > > there any editors like that? I just want a editor that highlights my
> code
> > > and check my syntax.
> >
> > Give the Zend IDE a trial run.
> >
> > You'll be able to debug your code with an integrated debugger.
> >
> > There's also a site somewhere that lists all the PHP Editors,
> but I don't
> > have the URL handy...
> >
> > --
> > Visit the Zend Store at http://www.zend.com/store/
> > Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> > Volunteer a little time: http://chatmusic.com/volunteer.htm
> >
> >
> >
> > --
> > 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 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] Good Free PHP Editor - And it's not Edit Plus!

2001-03-18 Thread James Crowley

Dear All,

Given the recent discussion regarding a PHP editor, I thought you would
like to know that VB Web Development have finally released Developers Pad
BETA 2. This program is open source, and free. It's features include syntax
highlighting (fully customizable), powerful project view, auto-indent, quick
HTML tag insert, open linked file and more.

It is available for download at
http://developerspad.vbdiamond.com/download/
and you can talk to me (and everyone else) about it at
http://developerspad.vbdiamond.com/forum/

If you have any problems with the new release, don't have any hestitation in
contacting me.

New Features for BETA 2:
- Enhanced Project View
   * Virtual folders
   * Saved in XML Format
   * Can open VB, VC++ and .NET Project Files
- Enhanced Editor Window
   * Open Linked File Shortcut
   * Jump-To Procedure List
   * Quick HTML Tag Insert
- Extended Language Support
   * Now includes support for SQL, VB.NET and C#
- Less Bugs!
- Improved Add-In Support
   * New Add-In Object Model

We are currently looking for sponsors! If there is a company out there
interested in sponsoring Developers Pad and its site, please e-mail me.

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==


-- 
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] Paging a Recordset

2001-03-15 Thread James Crowley

Hi,
I want to spread the results of a recordset over a number of pages. In ASP,
I would have opened a connection with a client-side cursor... but with PHP
(using it's ODBC functions), it only seems to be able to execute an SQL
statement, and return all the results... which isn't very efficient if I
have 500 results with 10 per page!
Also, how do I change the cursor location?

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==


-- 
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] MS SQL and Date Fields

2001-02-15 Thread James Crowley

Hi,
I have a problem (!). I am using an MS SQL db, which returns a date field.
How can I format this using the date() function? ie how can I convert the
date to a Unix timestamp? I know you can use the mktime() function, but in
which case, how can I get the day/month/year etc from the ms sql date
field?!

Many thanks,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==


-- 
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] Including Virtual Paths

2001-02-03 Thread James Crowley

Hi,
When using ASP, I frequently reference virtual path such as

However, the PHP include() function doesn't seem to support this... What
can I do? I don't want to have to change the reference to reflect its
position in the site by adding ../ for every script.

Regards,

- James

Editor, VB Web
==
Web   - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ#  - 60612011
==

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 02 February 2001 13:02
To: [EMAIL PROTECTED]
Subject: php-general Digest 2 Feb 2001 13:01:55 - Issue 488



php-general Digest 2 Feb 2001 13:01:55 - Issue 488

Topics (messages 37764 through 37827):

Re: What version of Linux?
37764 by: Michael Hall

Re: encode string with spaces
37765 by: David Robley
37768 by: David Robley

Win2000 TCP/IP failure
37766 by: Toby Butzon
37827 by: Alain Fontaine

Re: C++ integration with PHP
37767 by: Toby Butzon

Re: contracting & consulting (was "[PHP] Pricing for PHP pr ogramming???")
37769 by: Dave VanAuken
37770 by: Ben Peter
37771 by: Maxim Maletsky
37775 by: Steve Werby
37826 by: Robin Vickery

Re: Java variables - PHP varialbles
37772 by: Nold, Mark

Php Database
37773 by: Vinicius Garcia Mommensohn

Re: Why?? SPRINTF("SELECT sequence,prodnum,childdesc);
37774 by: Steve Werby

Re: PHP a lightweight language?
37776 by: Nold, Mark
37783 by: John Hinsley
37784 by: Josh G

How do I get last inserted ID?
3 by: Sandeep Hundal
37778 by: Maxim Maletsky
37779 by: David Robley
37821 by: Andrew Golovin

Re: Pricing for PHP programming???
37780 by: Steve Werby
37781 by: Josh G
37786 by: Josh G
37797 by: Angus Mann

Re:What version of Linux?
37782 by: John Hinsley

Re: Message status - undeliverable
37785 by: Josh G

OT mod_rewrite says goodbye to POST vars (but interesting)
37787 by: Matt Friedman

Re: 404 error checker
37788 by: Louis LeBlanc

Automatic incoming mail notification
37789 by: Ankur Verma
37790 by: Josh G
37791 by: David Robley
37792 by: Ankur Verma
37793 by: Steve Werby
37802 by: Nicolas Windpassinger - Sun

how do I subscribe?
37794 by: David VanHorn
37795 by: Maxim Maletsky

Re: Variables within functions, out?
37796 by: Steve Werby

configuring headers in mail() ...
37798 by: Maxim Maletsky

PGP
37799 by: Martin Thoma
37801 by: Adrian Teasdale

Mysql Question
37800 by: Giancarlo

Re: Recommended Job Posting sites? Need to hire someone w/ PHP exp.
37803 by: Boaz Yahav

Apache won't start after installing php4
37804 by: Frank Passek

Zend IDE
37805 by: Alain Fontaine
37811 by: Andi Gutmans
37813 by: Alain Fontaine
37816 by: Zeev Suraski
37817 by: Alain Fontaine

Re: reload help!!!
37806 by: Wen Ni Leong

passing parameters
37807 by: Stinie Steinbach
37808 by: Alain Fontaine

Could PHP connect to Perl Program
37809 by: kn4279

Re: [Q] Domxml: unlink() method?
37810 by: Peter Sabaini

JavaScript, PHP and HTML
37812 by: Augusto Cesar Castoldi
37815 by: Juan
37819 by: kaab kaoutar

Re: Tab character
37814 by: Martin A. Marques

Re: Include " quotes inside textbox
37818 by: Christian Reiniger

PHP configure commandline
37820 by: indrek siitan

For My Information
37822 by: Dan Malcolm
37823 by: Jon Haworth

Re: [PHP-WIN] For My Information
37824 by: Tom Mathews
37825 by: Dan Malcolm

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[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]