Re: [PHP] Include fails when "./" is in front of file name



I appreciate the help guys. I don't understand what's going on. Here's what I've tried since posting:

Copied over the PHP binaries and php.ini from my old server to my new one. No luck.
Copied over the phpMyAdmin from my old server to my new one. No luck.

I've double-checked all permissions. Seriously, what else could there be?!

I repeat:
on old server, include('./file.inc.php') works FINE
on new server, include('./file.inc.php') BREAKS

I'm about to do a replace of "./" with "" but I know that's giving up!



""Daniel Brown"" <parasane@xxxxxxxxx> wrote in message news:ab5568160804071010l3eff856evdc25409a4a46028a@xxxxxxxxxxxxxxxxx
On Mon, Apr 7, 2008 at 1:05 PM, Lester Caine <lester@xxxxxxxxxxx> wrote:

People seem to be missing the point here. These are PUBLIC applications
that are failing to work for Noah. He should not need to re-write PHPMyAdmin
in order to get it to work?

Next people will be saying that we should re-write PHP if it does not work
for us.

Oh, did I say that? Must not have been paying attention as I
typed in words to that effect. Sorry.

I'm giving steps to debug and recreate the issue, not to rewrite
anyone else's code. You may have noticed where I mentioned
cross-platform portability.

--
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

.



Relevant Pages

  • Re: Am I paranoid or....?
    ... Luck compensation algorithms...etc etc from online servers. ... be suicide for the server if they were caught and BGM and GE and PG ... generating random dice. ... 17-1 shots swinging major chunks of equity seemed far too common. ...
    (rec.games.backgammon)
  • Re: PiranhaGammon new version released
    ... my server does not have any kind of analysis tool ... The usual reason for having such a tool is to detect robot players, ... Backgammon is popular BECAUSE of its mixture of skill and luck, ... A skillful player who disables lucky rolls by setting up primes etc ...
    (rec.games.backgammon)
  • Unable to rebuild/attach to existing web project
    ... I ran into the IDE slowdown issue due to my newly roaming profile. ... running Frontpage Server Extensions and all of the VS.NET ... and the old .VBPROJ file has been deleted. ... I give it http://DEV, no luck, so I give it ...
    (microsoft.public.vsnet.ide)
  • Re: A real tough one with DCPromo
    ... Good Luck ... Systems Administrator ... How to view and transfer FSMO roles in Windows Server 2003 ... DNS, DHCP, Wins, DFS, etc). ...
    (microsoft.public.windows.server.active_directory)
  • Re: Help with a member server loosing the ability to validate users
    ... Good Luck ... Systems Administrator ... Here is the full message from the event log ... to a new server along with the DNS server role. ...
    (microsoft.public.windows.server.active_directory)