Hi,
i would like to know how to code in php to strip proxy list only from a textarea
ex.
in textarea contain
80.249.72.180:80 elite proxy Algeria (Algiers)
80.24...
Hi there,
I'm testing on passing parameter via url with the three php files as shown below:
1. index.php
2. pg2.php
3. pg3.php
The index.php will allow user to input something and the...
Hi,
What I'm trying to do is this.
Have the user select an option from a form
and depending on the option include a file.
here is my code
<FORM action="<?php echo $_SERVER['PHP_...
Can someone tell me what is the PHP equivalent of the ASP's CInt() function?
I am trying to convert this piece of code to PHP
for k=1 to 4
if CInt(userChoice) = k Then choiceChecked ...
I have a page in PHP that accesses an XMLRPC Server. However, sometimes it does not display the response from the server, and sometimes it does...but it ALWAYS ALWAYS reaches the server becau...
Is there any way I can retrieve the server's root file path from within my PHP 5.0 scripts? It seems a bit odd such a feature would not be available for the language. Im using Windows 2003 S...
I need an upload script that will upload multiple files at once. I need to set the file names to be the same everytime. So it renames the files after uploading. I need to upload 5-10 files ...
Hi,
Strange problem here. I have installed (for months) on my local server php, mysql & phpMyAdmin using AppServ ver 2.4. Now I've also used the php mailer in the past to send out emails. In...
Im want to verify the domain name where my scripts are running
what I started with is
$_SERVER['HTTP_HOST']
the problem with this is that the result could be www.domain.com or domain...
Somthing like this...
<?php
$string = fopen("textfile.txt","r");
echo $string;
?>
I dont want to use the "include" function or anything like that. I want to load the text file into th...
I would like to know how I can get a javascript variable into a php variable. I have one page with the javascript variable. The user will click a button then a new page will load and I need so...
Hi. I been googling on the web for solutions, but none of them have worked. Please, someone tell me if there is a simple way to set session timeouts in php. Basically when a user logs into the...
$i=0;
$datearray;
$array2;
while($row=mysql_fetch_array($result))
{
$datearray[i]=$row['setnum'];
//echo $datearray[i];
$array2[i]=$row['date'];
//echo $array2[i];
$i=$i+1;
}
...
Hello,
I would like a php function to remove all "special characters" but leave all letters.
The problem is that I need to support European languages, many which use letters beyond the 2...
Hi,
I am trying to convert a javascript function to PHP for a project I am working on.
The javascript function uses ParseInt to convert a hex string, but Im not sure of it purpose.
Is there...
After I install phpmyadmin finish it warn me
Cannot load mcrypt extension. Please check your PHP configuration.
How can I fix the problem
Hi,
I have a PHP login scripts that takes the "username" and "password" and stores it in a session.
Once verified as a valid user against a mySQL database, the user is redirected to a me...
ive got a MSSQL date / time format like:
Oct 24 2006 12:00AM
im trying to change it so it displays like:
24/Oct/2006 using the mktime() but im getting:
Warning: mktime() expects pa...
I have a main page which at the moment has links to all of my sites.
I want to change this so it has a login box with a username and password.
I would like it so that when to user enters t...
i have folder full of images.
is there any way using php to delete the file(s)
example
i have 4 files (images) called
D001_image1.jpg
D001_image2.jpg
D002_image1.jpg
D003_image...
Hi. I saw PHPMailer recommened on this site so I'm now trying to use it. However, I'm getting the above error message. All I've done so far is take the example code and changed it to suit my I...
i have an array like this
$array=array("one","two","bingo","three","four");
i want to remove the "bingo" (i know his key)... i tried with " unset($array[2]); but then there's an "hole" i...
Hello.
I have written an app that makes use of $_SESSION superglobals to keep user id information intact from page to page within an admin console.
Everything works fine except that the ...
Hi
I'm using the php version of nuSoap to sent a soap message and get the reply. All works well except in the reply I also get a lot of what I assume is header data (all I want is the XML)
...
I'm trying to execute command line code via a php file, but am having problem. anybody any thoughts on where i might be going wrong?
here's my code
_______________________________________...