Does anybody know, how to post vars without using html.
I'd like to send data to an external website and receive the http answer.
The external website awaits post vars from a form.
Tanks, Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If a user is logged in via http (authentification e.g. with .htaccess and
.htpasswd file), how can i get the username of the current logged in user?
Thanx
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can i save a variable in a function?
The lower example doesn't work.
The var is always an empty string!
Anyone any solution?
---
$some_var = foobar;
require('something.php');
class SOMECLASS
{
function SomeFunction()
{
Does anybody now,
what this error message mean?
I can see no mistace in my code:
$mode = FTP_BINARY;
$picuploadname = $picupload[$i];
$piclocalname = ../pictures/.$piclocal[$i];
ftp_put($conn_ftp,$picuploadname ,$piclocalname ,$mode);
The connection is correct and the files are putted but there
How can i make an operation like adding variables in an array for example
$array[$a+$b];
Thanks
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way, to define an integer number e.g. 7, to be defined as 07?
(Maybe with numberformat)
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
if i insert into a mysql table a row e.g.
mysql_query(INSERT into TEST (testfield) VALUES ('This is a test'));
and the first field is an auto increment (e.g. NR),
how can i get the value of the auto increment NR i've actually inserted?
Tanks Harry
--
PHP General Mailing List
Hi,
i want to make a mySQL query where the result should be
in $result1
any sting with a phrase of $search
in $result2
any sting with the exact phrase of $search
$result1 works fine, but $result2 gives out an empty sting
$result1 = mysql_query(SELECT name FROM table WHERE name LIKE
How can I put out a Zero Fill for numbers
The result should be
$something=26;
echo $something;
e.g.
026
I didn't found a solution with number format. Is there any other way?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
where can i find a discription of the possible options for the sting
format in the fscanf command [ fscanf ( int handle, string format [,
string var1]) ]
For example, what means:
%s\t
or
%s\n
in the command fscanf ($fp, %s\t%s\t%s\n);
--
PHP General Mailing List
why does include always opens my included file
although it is defined as a variable
Example:
$file=include(/myfile/myfile.txt/);
shouldn't it only be opend by typing
echo $file;
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
does anybody now a way in php to read out,
how many files are in a directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
12 matches
Mail list logo