How to get the URL for the currently requested page
I am currently on IIS with php
Thanks
Smit.
In the following code I get the error "Use of undefined constant picture - assumed 'picture' on line 24". how can I resolve this error?
<?php
include('include_fns.php');
include('header.p...
We have CURL installed and working on another site but I cannot find out why it won't work on this same server.
Site is running 5.2.5
http://propaneva.com/info.php
This is the error
...
I am completely new to this area, so I hope I make sense when I finish typing this out. Anyway, here goes.
Essentially I am migrating websites from a Windows 2000 Standard Server to a Windo...
Hi I am using the following code to send mail through the php mail() function. But this mail is going in the html format. I Need to send this mail in a plain text format.
The reason I am ...
So I have installed Apache 2.2.8 and PHP 5.2.6, but it seems there is a problem when I add the lines:
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mysqli.dll
extension=php_...
How to redirect with curl.
What's wrong with my code.
<?
curl_init();
curl -L google.com;
?>
Setting up a php authentication (login) system on Windows 2003 server for one website. I'm running into this error. I'm pretty much a newbie with both the Win server/IIS and with php. My suspi...
Dear Experts
I have a web site written using PHP. Is there any ways to create a message box?
It seems php do not have this function
HI Everyone,
I am using WAMP. I want to Run An Exe File Which is Printing the document using PHP.
I have Used exec("file.exe")
but my browser got Hanged . No output given
Thanks
My ISP account requires that I send a username & password for outbound SMTP mail. How do I get PHP to use this when executing php.mail()? The php.ini file only contains entries for the server ...
I have a form I developed in Acrobat 8 Pro (well, several forms), and I created a "submit to email" button, checking the box to submit the entire PDF. I enabled reader usage rights, removed a...
[Tue Dec 07 13:15:29 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting.
[Tue Dec 07 13:15:29 2004] [notice] Parent: Created child process 5340
[Tue Dec 07 13:1...
Hi
I have PHP running on IIS on Windows 2000. I need to capture the username of the user who's currently logged in and running the script. I have had a look around on the web to try and fin...
hi, is it possible to get value of textarea into php variable?
I need something like this:
myform.php
<form name=my action=myform.php>
<textarea name=test>
Normally when you make su...
Ok, so I've done everything everywhere tells me to do.
I've copied the dll's from the PHP5.2 zip file to both /system32 and /php/ext folders, enabled them in the PHP.ini file, and I still g...
If I have a file which includes the following line
This is cat
This is dog
This is man
When I use PHP to read the file in, and echo the content on the screen, the new line are not includ...
Hey everybody!
I'd like to be able to destroy the session cookies when a user closes the browser window. I have a link to "log out" which works great. If a user clicks on it, no problem. BU...
Hi Experts,
Environment:
Comp-1: Web Server running Windows Server 2003, IIS 6 with PHP installed.
Comp-2: Mail Server running Windows server 2003, MS Exchange Mail Server.
I need to c...
Hi experts!
Recently I have been asked to write a function that can create a date from a week number and day number for the 2 previous years.
I can't quite figure it out, i've looked eve...
I am getting an error running CURL on a website.
Fatal error: Call to undefined function curl_init() in E:\earn\richFeeds3.php on line 53
PHP Warning: PHP Startup: Unable to load dynamic l...
I have two drop down lists on a web page. When the user selects a specific value in the first drop down list, I would like the second drop down list to become visible or invisible based on th...
Help. I have installed PHP4.2.3 and I also have SQL Server 2000 Personal Edition installed with the client tools.
I get the following error when trying to get my simple script to work:
...
I would like to get a working PHP script that can be used to harvest WMI data. Points will be rewarded not only for the script, but if I run into issues along the way. I don't need anything ...
I have the following function.
//adds a caravan to the batch file for the intro letter to be sent.
function AddToRegistrationBatch($databaseHandler, $OwnerID)
{
//check to see if th...