> I mean post content string not a lot of variables
>
> etc:
>
> aaa.html post a=1&b=2 to bbb.php
>
> I want use php to read the string a=1&b=2 not $a and $b
I not sure I understand you, but are you looking for
$HTTP_SERVER_VARS['QUERY_STRING'] ??
R
if($i == 0) {
$post_query .= $keys_arr[$i]."=".$HTTP_POST_VARS[$keys_arr[$i]];
}
else {
$post_query .= "&".$keys_arr[$i]."=".$HTTP_POST_VARS[$keys_arr[$i]];
}
}
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
T
title";
}
This works for me?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ies to give a little summary what I
think you mean.
1. A page make a post request with XML data to a PHP file.
2. The PHP file get the post request, and get the XML data.
3. An then what?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
ere do you want to do with the XML? Cant
you just make a echo() in a xml document? please explain?
...
...
...
...
...
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
end the output in the GD lib section.
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Dont know if you misunderstand you?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
> Ok, where can I find a tutorial about sending mail using fsockopen ?
>
> ***
http://www.phpbuilder.com/columns/tim19990221.php3
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
> i want php to do an IF, when he founds a special word in a string (ex:
> text_-_write_-_text ) .. i m not able to manage it ..
Could you use this example?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
>
>
>$result=@mysql_query($qry,$connection);
>
Try make a line after this:
echo mysql_errno().": ".mysql_error();
What is the output?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
FROM address as [EMAIL PROTECTED]
>
You can't. The mail specification have to get a FROM header, but to make
a solution you can make a FROM header like this: "FROM: Do Not Reply
<[EMAIL PROTECTED]>"
regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To un
hmm, youre right.
You can use this header maybe "FROM: Do Not Reply "
The SMTP should be able to resolve localhost?
Regards,
Johan
Jon Farmer wrote:
>Problem with that solution is some SMTP hosts will reject messages from
>domains that do not resolve to the sending SM
om it self? I haven't tried it, but I think it
would work.
By the way... the most of the SMTP doesn't check at the FROM header, but
from the sender SMTP.
So if you got a nonexisting e-mail it would accept it too, but it the
sender host isn't valid it will reject it.
Regards,
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote:
> Our web host does not support telnet or SSH for its clients and is not
> interested in working with PhpMyAdmin at the moment (I think I need their
> assistance if I want to use PhpMyAdmin, right?). Is this rather typical of
> web hosts?
You
Hi
Anyone know a good PHP application that generate statistic from apachelog?
Please send me an URL.
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Yes, I have already seen it. But I would prefer a PHP written
application. AWSTATS are written in Perl :o(.
Do you know anything like this, in PHP? :o)
Regards,
Johan
Manu Verhaegen wrote:
>You can use AWSTATS, it will working and it is very nice.
>
>
>Greeting
>
>
>If you find this out off list could you let me know as well. I can only find C++ and
>Perl
>scripts.
>
Ok, thinking about programming if it don't exists.
So I let you know when it's ready :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.
;
> ImageLine($im,110,110,280,110,$rd);
> ImageJPEG($im,"a.jpg");
>?>
>
>
>
>
>
>
Try to remove all html, and instead make a ImageJPEG($img);
You should then only get the JPEG file?
You set a header, and the browser doesn't understand the HTML...
regar
Original Message
From: - Fri Dec 07 14:52:01 2001
X-Mozilla-Status: 0001
X-Mozilla-Status2:
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 07 Dec 2001 14:51:56 +0100
From: Johan Holst Nielsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: 1W
nd me some
links about how PDF works etc..
I prefer to work in PHP... but if Perl/C/C++ etc. is a better language
to this, please post the link anyway.
Hope someone can help me :o)
Looking forward to hear from ya! :o)
Regards,
Johan
--
PHP General Mailing List (http://www.php.net
ok, i need to include some images in the PDF. But I just make them in
the right dpi then.
What about fonts? No problem if the font is Postscript or?
-Johan
Rasmus Lerdorf wrote:
>dpi doesn't really apply to a PDF file unless your PDF file has embedded
>images in which case the d
27;10');
>html-code... I want this to be repeated 10 times.
>end();
>
Try instead:
function MakeLoop($loops, $htmlcode) {
for($i=0; $i<$loops; $i++) {
echo $htmlcode;
}
}
MakeLoop(10);
Dont know if you can use this? Else, try to tell a bit more about what
sol
>sorry if this has been covered before. I am not sure if this makes a
difference but I see in some books echo written as:
>
>echo ("Hello");
>
>and in others just:
>
>echo "Hello";
>
>Do the brackets make a difference.
Hmmm, nope. You can also
Hi
I have a problem with GD library. Then I write some text with the GD library
TTF function I get a very unreadable text :o(
The problem comes then the font is in size 9 and under!
Some know how to solve this problem?
/Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Anyone know when and
how you can sign up for the conference in Franfurt (5-7 Nov
2001)?
Can't find any
information at there website, someone who can help me?! :o)
Regards
Johan
Anyone know when and
how you can sign up for the conference in Franfurt (5-7 Nov
2001)?
Can't find any
information at there website, someone who can help me?! :o)
Regards
Johan
try etc.
00,30 * * * * lynx -dump http://path.to.php.script > /dev/null
Regards
Johan
>
> Hi
>
> I have PHP installed as Apache module but I want to run a cron job. I
> have .php script that works OK when executed through browser but is there
> any way I could execute
.
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
If i want to add something into a table with just the mysql command.
Is this possible.
Like
./mysql -p -u root test "insert into..."
Something like this.Is that possible and how in that case.
Johan Vikerskog
Technician - CAE Tools Support
Research & Technolo
Simple question and i know that i shouldent post it here.
Hope you bare with me.
I have a mysql database that is called supportdb
How do i create an account for my user so he can connect to this database?
Do i use mysqlacccess?
//johan
--
PHP General Mailing List (http://www.php.net/)
To
But i want dont want to type in the password. I want to have the password in the
command file.
//Johan
-Original Message-
From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
Sent: den 5 juli 2001 12:57
To: Johan Vikerskog (ECS); [EMAIL PROTECTED]
Subject: Re: [PHP] Batch job in UNIX
want to update that cell
with an gif that i made that says online.
How do i update just that cell? Is there a special function in PHP to do that?
I know the question is silly but bare with me.
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
. everytime i reload the page it prints out the last result.
I mean when i want to reload the page it should be empty.
But it isnt.
Does anyone know how i can do this?
If you dont understand my question ill post the script here, i just thought i wouldent
flame your mailboxes.
//Johan
--
PHP General
When i install PHP.
Do i have to make anything special to activate the ldap function?
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
* [build] Error 2
***
Can anyone tell me what's up? (Or down, rather...)
Thanks in advance!
Regards,
Sverre Johan Toevik
--
I speak for myself only!
"to be yourself, in a world that tries, night and day, to make you just
like everybody else - is to fight the greatest battle th
Hi,
I've been advised that compiling php static is "faster" than the
module version. Can anyone tell me what the realworld performance
difference is? If it's not significant, the extra compile time hardly
seems worth it.
TIA!
Regards,
Sverre Johan Toevik
--
I speak f
I made a search in ldap.
I got one entrie.
How do i list the email for that entry? Ill get one answer from this, now i want to
print out the email adress for that entry.
How do i do that?
//Johan
LDAP query test";
echo "Connecting ...";
$ds=ldap_connect("SERVER")
result is ".$r."";
echo "Searching for (sn=S*) ...";
// Search surname entry
$sr=ldap_search($ds,"o=My Company, c=US", "sn=S*");
echo "Search result is ".$sr."";
//Johan
--
PHP General Mailing List (http://www.php
ormation, and the problem is I don't know how to make
> linux run the php script, or how to set up crobtab with the php script in
> mind. anyone have any ideas?
You can use this Tutorial
http://www.faqts.com/knowledge_base/view.phtml/aid/1005
I think it can help you :o)
Regards
Johan
-
an use this Tutorial
> http://www.faqts.com/knowledge_base/view.phtml/aid/1005
>
> I think it can help you :o)
If your problem was how to execute the script you can etc. use Lynx (or
wget)... if you use lynx use follow
/path-to-lynx/lynx http://www.domain.com/scriptname.php -source
In the ldap script below i get the results when i use the decide function at the
bottom.
Anyone have a tip on how i can change this so i can push the results into variables
instead?
Thanks in advance
//Johan
", $info[$i]["$what"][$j]);
echo "
> I installed Apache 1.3 for windows and php4 (Easywindows).
> I take a sample of functions GD, but when the program execute don't appear
> nothing.
>
> What's the problem?
hmm, did you install GD library?
http://www.boutell.com/gd
Regards,
Johan
--
PHP G
When i try to activate ldap on a UNIX system something goes wrong but i dont even know
were to begin looking.
i use the "--with-ldap" when i compile but it doesnt give me any errors and yet it
doesnt work.
Any suggestions?
On my PC it worked great.
//Johan
--
PHP General Ma
> i would like to know if there is an official logo for php4 that i
> can put on
> my company website, to show that we support and develop applications using
> php4.
Ypou can use one of these:
http://www.php.net/download-logos.php
regards,
Johan
--
PHP General Mailin
I am going to install a LDAP package for my apache-mysql-php web interface.
The question is.
What ldap package to use and how to do it.
Is there anything else i should de except for:
--with-ldap="ldap directory"
Thanks for any help i can get.
//Johan
--
PHP General Mailing
for slapd.
//Johan
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: den 16 augusti 2001 08:10
To: Johan Vikerskog (ECS)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Ldap package.
Install OpenLDAP (www.openldap.org)
On Thu, 16 Aug 2001, Johan Vikerskog (
everytime.
Can anyone please help me.
I have been struggled with this all morning.
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
dap everything works great but if i do it with ldap i
>get this error message everytime.
>
> Can anyone please help me.
> I have been struggled with this all morning.
>
> //Johan
>
>
> Johan Vikerskog
> Technician - CAE Tools Support
> Research & Technology D
2001 09:35
To: Johan Vikerskog (ECS)
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-INST] ldap compile problem. Please read.
You're not giving enough information..
What is the WHOLE configure line you have used?
On what system is this happening?
--Jani
On Fri, 17 Aug 2
Hi
Do anyone know, how i define the "width", "height" etc. parameters in PDFlib
functions in PHP? Is it in cm, pixels, inch? Or?
Anyone know?
I need to generate printingfiles, so I hope I can use cm or sometime like
that :o)
Regards,
Johan
--
PHP General Mailing List
ot; if
it is in that format or not.
Thankfull for any help.
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
$string=abcdefghijklmnopqrstuvxyz
$string = substr($string, 0, 10);
Thats all there is to it.
-Original Message-
From: Marcos Lloret [mailto:[EMAIL PROTECTED]]
Sent: den 31 augusti 2001 09:53
To: [EMAIL PROTECTED]
Subject: [PHP] just 10 characters from a string
hi to all,
i have a
Perhaps someone from your Network group(or similiar) have put a restriction towards
that site for some strange reason. Ask your administrator and he probobly will know
the answer.
//Johan
-Original Message-
From: Tim Grubb [mailto:[EMAIL PROTECTED]]
Sent: den 3 september 2001 09:55
To
My php script is generating a file that is saved in Unix format.
I automatically get the "^M" in the end of everyline. Is there a way
of saving this without getting the "^M" in the end of each line?
Thanks in advance
//Johan
--
PHP General Mailing List (http://www.php.net
My users perform their action which is to simulate data online with my script.
Afterwards they get a result of their simulation. They have a option to save the
result to a file and when they do that they get the ^M.
//Johan
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED
p
solution.
I want to know if there is a built in function of some kind that will do this.
//Johan
-Original Message-
From: Jon Farmer [mailto:[EMAIL PROTECTED]]
Sent: den 5 september 2001 11:44
To: Johan Vikerskog (EMP); php_list
Subject: Re: [PHP] Carriage return.
> My php script is g
I have done this before but my memory fails me.
I am trying to just loop threw ny array and display it.
one row per result.
How do you do that again?
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
ok i have this:
Now i want the echo to make a new line instead of putting everything into one large
chunk.
Help?!?
//Johan the senile
-Original Message-
From: _lallous [mailto:[EMAIL PROTECTED]]
Sent: den 6 september 2001 12:44
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Question.
how
When trying to use a simple code like this below i receive an error which says that it
cant find the header.
It outputs the information in ascii and binary code. it doesn't show the picture
Thanks for all the help you can give me.
//Johan
--
PHP General Mailing List (http://www.ph
I have a question.
I have created an image with
imagecreatefromjpeg
I have a empty page and i want to display the picture at a specefic location at the
page.
Does anyone know how to do that?
With regards
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
I have yet another PHP question! =)
How do i open a window in PHP and how do i insert information in it?
I have a tables with a http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROT
Connected to: 10.0.0.3:employee.fdb
First Name Last Name
Fatal error: Call to undefined function: ibase_fetch_assoc() in
/home/e-smith/files/ibays/Primary/html/html/untitled17.php on line 209
How do I slove this?
Thx
Johan van Zyl
JVZ Systems CC/realcorp.net
Custom
Lists wrote:
tortoise is nice
http://www.tortoisecvs.org/
As far as I can see, it have nothing to do with an web frontend?
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ink to tcvs :D I have downloaded it and I like
it :D
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l :)
just
Check the documentation http://php.net/include - include returns 1 -
thats why it is printed out when you do echo :)
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: includeFile.php
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- or use
a database :)
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing like:
My friend Bill is 35 years of age.
Is there a way to do this?
No sure what you mean... but it is possible this way:
$age) {
echo "My friend ".$name." is ".$age." years of age.\n";
}
?>
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
P
ffice_phone='$office', fax_phone='$fax', email='$email' WHERE
company_name='$mod_dataset'";
What does mysql_error() says?
Tried to print out the query and execute it directly in the mysql prompt
or phpmyadmin? What happens then?
--
Johan Holst Nielsen
Check if the DocumentRoot is right in your httpd.conf - it should be
the same as the location where phpinfo.php is located.
--
Johan Holst Nielsen
Freelance PHP Developer
http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ley :D)
I hope someone can help me :)
With best regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Johan Holst Nielsen wrote:
Any one tried such problems? Any solution for that? And is it the font,
the encoding file - or something else that are wrong?
Okay, I found the solution :)
I was the encoding file that was wrong...
The /dbar should be replaced with /dcroat
Now everything works :)
Is
Alex Hogan wrote:
When I'm using the time() function am I getting the time on the server?
If not how can I get the time from the server regardless of whether or
not its in the same time zone as the client.
Use the gmdate() function.
http://php.net/manual/en/function.gmdate.php
--
Johan
buttons or tick box will work as
well
Johan
""Suamya Srivastava"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you all for the help.
> I did not want to use dropdown box..that was the very reason i was
> wondering if I can pass the variables
Hi
I have sessions working like a charm, i use it for my user login vars and so
on, here is the settings i used.
register_globals = Off
session.use_cookies = 1
and switch on session.trans_sid if you know that not all your users will
have cookies turned on
This worked for me
Johan
"&q
p you with that :)
www.php.net/curl
--
Johan Holst Nielsen
Freelance PHP Developer - http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ical) the root of the ftp server. It can be whereever on the
server. It depends on the configuration of the FTP server ;)
--
Johan Holst Nielsen
Freelance PHP Developer - http://phpgeek.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Currently the command I have is
print $row['open'];
Well the easiest thing is to let MySQL do the work
use following SELECT
SELECT DATE_FORMAT(your_date_field,'%m-%d-%Y') as date_field FROM yourtable
That should do the work...
--
Johan Holst Nielsen
Freelance PHP Developer
a SP in firebird that will generate a password and
e-mail it back to them. They can now login with this password and must be
able to change their password.
Thx
====
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
ll baffled.
Thx
====
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
+27 (0)21 851 7205
Fax 088 021 852 2387
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Hi
Thx Helen for another non-hostile, and as usual, very informative response!
We newbie's are having a though time, well at least in THIS forum! At least
I am!
You (me) apparently have to RTFM or FO
And thx to all the other POSITIVE responses I have had!
It is REALLY appreciated. It is not easy b
101 - 181 of 181 matches
Mail list logo