Hi, I have the same situation,
Could you tell me the solution pls.
Thanks in advance
Regards,
Sakthikumar...
User Profile
Collapse
-
Heya,
Actually the problem with dirname(__FILE_ _) is,
When I call this from the root, ie. from /www/projects it solves the situation.
The problem is, when I call from the sub directory inside the root ie.
From /www/projects/aaa, I want to refer the path /www/projects/bbb, here the function returns /www/projects/aaa as result, so the final result will be,
...Leave a comment:
-
Hi,
Its working in Windows, but is not the situation,
I want a single variable that returns the document root in both servers,
here the _SERVER["ORIG_PATH_TRAN SLATED"] variable is not available in my Linux Server.
For ex,
1. In Linux Server it should refer /www/project
2. Where as in Windows Server it should return D:\www\project...Leave a comment:
-
Heya,
I didn't find the variable $_SERVER["DOCUMENT_R OOT"] in the phpinfo() in the Windows server. How to enable this variable in Windows Server?
SakthiLeave a comment:
-
Server variable $_SERVER["DOCUMENT_ROOT"]
Hi,
I am using the Linux Server and server variable $_SERVER["DOCUMENT_R OOT"] to get the root folder to open a text file located in the folder for ex.
fopen($_SERVER["DOCUMENT_R OOT"]."/folder/file.txt","r");
......
I want to use the same scripts to work with Windows Server, Is there any way to get the root folder of the domain installation in... -
MySQL Backup with period
Hi,
I need to backup the DB for a period of time, (for example only the Data till 31-Mar-07) should be backed up and remove the backed up data from the DB.
I am using MySQL 4.1.15
Suggest me -
Back Button Problem
hi,
When I click the back button in IE, some times i got the screen like,
[HTML]Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. [/HTML]
I want to rectify this.
suggest me. -
-
File Validation
hi,
I need a client side validation for the File Object in HTML.
The situation is, I want to upload a file and i select the file with the Browse button and the path will be loaded, after that if the file is deleted or renamed at the specified location or the path is renamed manually by the user (without the Browse button interation) before Submitting the Form, it will cause an error like file empty... i used some PHP... -
Get Variable Memory Size
Hi,
is there any thing available to get the variable size?
ie.
$temp="Temp";
will result 4 bytes. -
Problem with inner functions in Ajax
Hi,
I have a problem while using one ajax function inside of another ajax function,
ie,
function ajaxFunction1()
{
...
...
http.onreadysta techange = RespondFunction 1();
...
ajaxFunction2() ;
}
function ajaxFunction2()
{
...
...
http.onreadysta techange = respondFunction 2();... -
I already tried with ImagePng(), its not help me fully.
I got a black image instead of the Thumbnail.
Could you tell me, how to enable the "Create Gif Support" ?...Leave a comment:
-
I got this with the php_info(),
'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info'...Leave a comment:
-
i got this resource id as a output from the function imagecreatetrue color() while trying to create a thumbnail with the function ImageGIf() but it fails.
My PHP version : 4.3.4
My GD Version : bundled (2.0.15 compatible)
Suggest me this regards.Leave a comment:
-
My PHP Version is 4.3.4 and GD Version bundled (2.0.15 compatible)
I got the problem while creating a thumbnail from the Gif Image.
From the PHP Manual I got
Note: Since all GIF support was removed from the GD library in version 1.6, this function is not available if you are using that version of the GD library.
and also
the ImageGif() function is missed from the list got from...Leave a comment:
-
-
ImageGif
I had a problem with ImageGif().
I am using GD 2.0.
i know it wont support the ImageGif(), I tried with ImagePng() and ImageJpeg(), these didnt help me fully.
Post me any Solutions... -
No activity results to display
Show More
Leave a comment: