chunk_split(base64_encode($data));
$message .= "--{$mime_boundary}\n" .
"Content-Type: {$fileatt_type};\n" .
" name=\"{$fileatt_name}\"\n" .
//"Content-Disposition: attachment;\n" .
//" filename=\"{$fileatt_name}\"\n" .
"Content-Transfer-Encoding: base64\n\n" .
$data . "\n\n" .
"--{$mime_boundary}--\n";
//Attachment End
thanks!
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As Jeff showed, make sure you are using AddType if you are using apache 2.2.
Some people may have old config files containing AddHandler directives. It
may not be a Vista issue, but rather an apache config issue.
- spoon
""Jeff White"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECT
I need to set helo in php.ini. Also my new ISP's outgoing mail server needs
me to authenticate before sending.
Can someone tell me how to do this in the php.ini.
I assume that's where I have to do it.
Thanks,
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscr
help please.
probably something very simple, but not for me.
when i use an online form on my website to add some text to my access
database it saves certain caracters incorrectly (like ",'...)
please point me in the right direction.
christian
--
PHP Windows Mailing List (http://w
found the problem:
In case someone wants to know.
I used Text as the column header - not a good idea. Changed it to Text1 and
everything works fine now.
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for that.
I have tried your suggestions but no succes.
I asume it's a server issue.
I have the same wesite on a webserver of my ISP and it's works fine
there.
Christian.
"Jason Barnett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
--
PHP
help again, please.
I asume it is a problem with php.ini but cookies don't work for my website.
can anyone tell me the right configuration or the php.ini to make cookies
work.
Thanks
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Hi,
Please help...
I think my php.ini is at fault but maybe it is something different.
when i pass on more than one argument in the url they are seperated by %0F%
rather than &. Whatever i tried i cannot change that and therefor use more
than one argument???
Thanks
Christian
--
rated
properly (with &)...
Please can someone help with were i can get some info how to setup php.ini
to work for me.
Thanks
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrew Van Dyk wrote:
Sorry... PHP Screw is a module to encrypt your PHP files so you
don't distribute the source code. It works perfectly in UNIX, but
Just a quick note for people considering using PHP Screw: It is
absolutely trivial to decrypt such a file as the encryption algorithm is
datap[i]
Hi
Im building a TCP server in PHP 5.0.2 on Windows. It will have to serve a
lot of clients (500+) with low traffic.
During this I have noticed that socket_select seems unable to supervise more
than 64 reading connections at a time (Not good when I need 500+). It stops
with a
message that
"Sock
the username as its content.
extensions aren't that hard to write, for they are just javascript.
greetings, Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jim Macdiarmid wrote:
Any ideas how I can display information as processing occurs?
flush();
greetings, Christian ;)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think PHP converts to whatever type is on the left of the equal sign which
will make a lot of sense to me. I haven't thoroughly tested it.
Christian
- Original Message -
From: "Charles P. Killmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesda
Justin Borodinsky wrote:
I would like to be able to communicate over this stream with the
client using a browser and PHP. I can open the stream when the script
runs for the first time, but each time the user gets the script again
the connection is being re-made. I tried pfsockopen but it seemed t
ittle children :P
have a look at "magic_quotes_gpc". You will find your answers there,
little padawan. :)
(search the php manual for it, google - whatever you want, you just
can't miss the answer ;)
greetings, Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsu
far PHP in concerned you are comparing 0 with 0 which is why
the result of comparison is a true statement.
Any thoughts on this?
Thanks
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e the iusr_
(or something similar) the appropriate/suitable permissions.
my best guess at this stage. :)
>
> --
> PHP Windows Mailing List (http://www.php.net/) To
> unsubscribe, visit: http://www.php.net/unsub.php
>
- --
with regards,
christian astrup bakke // chasm.
http://c
this is a mailinglist for php*, not mysql.
--
with best regards,
christian astrup bakke // chasm
www.chasm.nu
[EMAIL PROTECTED]
[note: this mail is scanned with norton antivirus 2003]
- Original Message -
From: "Ildiko Nyari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
orked fine for me.
Best Regards,
Per Christian
"Rotsky" <[EMAIL PROTECTED]> skrev i melding
news:[EMAIL PROTECTED]
> Okay, I know you've all heard this one before, but I'm really new to all
> this, can't really claim to be a programmer and am on a steep learning
&
Just forget it...
I figured it out myself
"Per Christian" <[EMAIL PROTECTED]> skrev i melding
news:[EMAIL PROTECTED]
> Hi
>
> I'm building a PHP project for fun, and are going to get some dates from
my
> database (mysql).
> The problem is that I only want the
on or some code that removes duplicate entries from a
array?
Best Regards,
Per Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It does not look like you have set the SMTP-port in the code you use
below...
Try to set the port too and see if that helps
Best Regards,
Per Christian
"Cathy" <[EMAIL PROTECTED]> skrev i melding
news:[EMAIL PROTECTED]
> Hi,
> I'm getting rather desperate about
Hi folks,
we just upgraded to the newest PHP from 4.3.0. I´m a little bit surprised
because of the manual saying that this should be a security fix only.
Unfortunately, serveral extensions fail to work.
PHP 4.3.1 is running with IIS5.0 (no comments on that please). Runing as a
CGI. with version 4
Oddly enough on the first build of this box 6 months or so ago, PHP
installed perfectly onto the C: drive. I rebuilt the network, but
saved the C drive for later data retrieval and formatting, so
another drive was placed into the system and rebuilt under
the E: drive.
This installation of PHP has
c5ec8b70$050b000a@gollum...
This sounds like it may be more of a PHPBB issue. If phpinfo() works
then you have things setup correctly I would think. Try posting to the
PHPBB boards maybe?
-Original Message-
From: Christian Bartsch [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16,
t; schrieb im Newsbeitrag
01c2a543$b714f0f0$050b000a@gollum">news:01c2a543$b714f0f0$050b000a@gollum...
Works fine for me. You may want to make sure you followed the install
docs to the letter. I forgot to copy one dll to the right directory and
I spent 2 hours trying to figure it out.
-
Hi there,
I got a small problem running PHP4.2.3 under IIS using the ISAPI filter.
Please don´t complain about that, the rest of the site is running in ASP and
I can´t have a spare server at the time.
I know, ISAPI isn´t as stable as the CGI option, but I thought I might give
it a try anyway. As
Hey there,
My problem is following. I want to execute a PHP program (here: test2.php)
by another PHP program (here: test1.php) and get the return code of the
second executed PHP Program. But I always get the return code 0. Even if I
write 'return 50' in test1.php. But the rest of test1.php is wor
I just downloaded and installed apache 2 on my winxp box (a dev and test
box). When I insert the following line into the config file, the apache
service refuses to start.
LoadModule php4_module c:/ApacheGroup/PHP/sapi/php4apache.dll
Obviously Im trying to get php4 mod to run, but its just puking
ed-By: PHP/4.0.6
Content-type: text/html
Commandline - Parameter
Result (value of argc): 1
Does anyone know why this doesn't work? Or what the problem is?
Thanks in advance!
Michael and Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> i am using the php " md5( ) " function to encrypt
> the password. so, when i want to access to the new
> user "index.php" the password pop-up window appears
> and i type in the username and password, but i can´t
> access the user file.
Hi, I also wrote a script creating .htaccess-files
and I t
Pass variable by reference:
function abc(&$var1, &var2) {
$var1 ++;
$var2 ++;
} //end of function
Christian Leberfinger
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sorrysorrysorry - I didn't see the exit.
The other way really was the better one.
But what is crazy about this piece of code?
Chris
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No.
This is the most elegant way I'm aware of:
None
http://www.microsoft.com/";>Microsoft
http://www.altavista.com/";>Altavista
http://php.net/";>Php.net
--
PHP Windows Mailing List (http://www.php.net
1) action=""
[works also, with register_globals=Off]
You can also leave the action-tag blank -
then the form always posts to itself!
2) $texto should be $_POST['texto']
[again the autoglobals...]
3) Correct code - I hope it helps you
Learning PHP
"
Most MySQL-Servers don't allow connections from
extern hosts.
I don't think, Lycos will be an exception... =)
Regards,
Christian Leberfinger
> -Original Message-
> From: Matt [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 21, 2002 12:53 PM
> To: [EMAIL PROT
I know about this solution, but I'm not very happy with it.
The idea of my script is, that it's one single script-file.
This makes it easy to install and to handle for the users.
I hope, you understand me...
Christian Leberfinger
PS: I think, Apache didn't recognize your
he count(*)
and before PHP is inserting.
Then PHP thinks, the user doesn't exist [count(*)== 0] and
the insert fails because of duplicate keys.
-> always check the mysql_error
Regards,
Christian Leberfinger
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
re no way to get round this problem???
Still: HELP!
Regards,
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have a solution for crypt()-support on
windows-based webserver-systems?
I'm the developer of PHPAccess - the admin tool for
htaccess-security on Apache-servers and I don't get
it to create a crypted password that is recognized
by Apache's htaccess.
Help!
Christ
if
# undef FD_SETSIZE
# include "arpa/inet.h"
# define socklen_t unsigned int
#endif
OS : Win2000
MSVC++ 6.0
PHP 4.2.1
I got the .dsp file from the php release.
Any idea ?
Christian.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
end it to you.
>
> Let me know,
> nicole
>
> "Christian Azambuja Pagot" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi!!
> >
> > I am trying to create generic DB functions... (that c
But it is not working... and I don´t know why.. I know that the
problem is related to the scoping of variables, but I am confused... Did
you develop something like this already? (I did that in Perl once, and
it worked perfectly!)
Thankx
--
=
= Chr
*** HTML GENERATED FILE - BEGIN *
*
Abel12Barbara15Carlos18
*
*** HTML GENERATED FILE - END ***
***
lements the standard Unix DES-based algorithm...
--
Christian Blichmann
_
don't hesitate - email me with your thoughts:
e-mail: [EMAIL PROTECTED]
- please remove the ".nospam" from address.
_
do you
fficiently storing the IP in an MySQL database).
// Get user's IP and user agent
$ip = ip2long(($tmp = @$_SERVER["HTTP_X_FORWARD_FOR"]) ? $tmp :
$_SERVER["REMOTE_ADDR"]);
Hope it helps,
--
Christian Blichmann
_
don't h
lements the standard Unix DES-based algorithm...
--
Christian Blichmann
_
don't hesitate - email me with your thoughts:
e-mail: [EMAIL PROTECTED]
- please remove the ".nospam" from address.
_
do you
fficiently storing the IP in an MySQL database).
// Get user's IP and user agent
$ip = ip2long(($tmp = @$_SERVER["HTTP_X_FORWARD_FOR"]) ? $tmp :
$_SERVER["REMOTE_ADDR"]);
Hope it helps,
--
Christian Blichmann
_
don't h
Hey everyone,
I need to turn off browser caching, and Im assuming I need to send a couple
headers to do so. Can anyone help? Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nevermind.. im stupid
"Christian Calloway" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey everyone,
>
> Ok Im trying to load PHP 4.1.0 as a module on my XP(home) system. I
included
> the following lines in th
he correct path, and whats even more bewildering, I had it
working before, but I had to recently format and reload system. Any ideas?
Thanks
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I second that...
-Original Message-
From: Michael Reynolds [mailto:[EMAIL PROTECTED]]
Sent: 14. december 2001 10:33
To: Cliff; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] What variables does a tag submit?
--- Cliff <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to ask, what variables
Either one of these preset vars should do:
$HTTP_REFERER
$HTTP_SERVER_VARS["HTTP_REFERER"]
$HTTP_ENV_VARS["HTTP_REFERER"]
/Christian
-Original Message-
From: Emad El-Din [mailto:[EMAIL PROTECTED]]
Sent: 5. oktober 2001 05:57
To: [EMAIL PROTECTED]
Subject: [PHP
Don't know if you can find your answer there, but have a look at
www.15seconds.com
/Christian
-Original Message-
From: Conover, Ryan [mailto:[EMAIL PROTECTED]]
Sent: 3. december 2001 23:02
To: '[EMAIL PROTECTED]'
Subject: [PHP-WIN] IIS help
I know this is a php foru
d page displaying
info about your PHP installation.
Hope this helps :-)
/Christian
-Original Message-
From: reinhold [mailto:[EMAIL PROTECTED]]
Sent: 2. december 2001 08:32
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] installation php4.0.6 on IIS 5.0 with Win 2000 Server
where can I get
I too use sessions with header() redirects, with out the warnings. I too
would think that the problem is some spaces or line breaks before your mailto:[EMAIL PROTECTED]]
Sent: 30. november 2001 11:51
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Header() redirect
Is there another function that does
. Svensson said. A good place to start if you want to learn how to
program with PHP is www.php.net (the online manual with user comments is a
goldmine) and www.phpbuilder.com (has loads of tutorials, code snippets
etc.).
Rgds,
Christian
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto
Unfortunately you can't. According to the manual on php.net that function is
not available on the windows platform
(http://www.php.net/manual/en/function.checkdnsrr.php)
Rgds,
Christian
-Original Message-
From: Jos van der Vleuten [mailto:[EMAIL PROTECTED]]
Sent: 3. december 2001
Without knowing for sure I would imagine that the PHP installation on the
server is running in safe mode (look for the "safe_mode" var in your
php.ini).
Brgds,
Christian
-Original Message-
From: Samba Sidibeh [mailto:[EMAIL PROTECTED]]
Sent: 3. december 2001 10:50
To: [EMAIL
the same time (open sockets to more then one
destinations at a time)?
If anyone can help shed some light on this, or alternatively point me to
another list, I would sure appreciate it.
Brgds,
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
. Everything is fine.
Hmmm:
The tar-test shows that the arguments are ok when handed to the executable
(even checked via a batch-file echoing the args). The direct call shows
that pscp works and can be used from inside php
> Have you tried a hosts file?
What's a host file???
Christian
--
PHP Windows 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]
Hello ;c)
I have looked everywhere how can i create a dns to a
db (access in my case) if i cant access the control panel
(i can but i have to drive to work every time :c) There must
be a way to create these via the web/php... i know coldfusion
have this option and it is g8!
Thanks
Christian
Not to my knowledge. However what you could do is ad a hidden field to your
form, parsing the name of your form to the script.
I.e.:
.
.
.
.
etc.
Then you would always have the name of your form in $form.
I know it's probably not what you're looking for, but it should work.
Thanks to all who provided input.
The basename function does the trick (as pointed out by Serge).
Once again thank you ;-)
/Christian
-Original Message-
From: Serge Nicolas [mailto:[EMAIL PROTECTED]]
Sent: 9. oktober 2001 18:37
To: Christian Sandfeld
Subject: Re: [PHP-WIN] Stripping
Oh, I should probably have mentioned that what I want to end up with is the
stuff to the right of the last slash (be that forward of backslash).
/Christian
-Original Message-
From: Christian Sandfeld [mailto:[EMAIL PROTECTED]]
Sent: 9. oktober 2001 15:41
To: '[EMAIL PROTECTED]
't get along (I always mess up)).
Any help will be greatly appreciated :-)
/Christian
--
PHP Windows 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]
. where did you get this info (error 2 == ...) ??
right... it isn't in the path... but I used chdir() to get to where
mysqldump is, and $backup_file has a full path in it...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
ot; as calls like copy, del, dir etc are internal to
>command.com and need to be poped into a new shell to run.
>
>"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I'm running PHP o
ndows prob???
_____
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
Hello :c)
Would it be faster if the interbase dll be compiled inside php insted of
being a dll??
Im playing with php and interbase and i find it very slow...
--
Merci
Christian Charette
www.charetx2.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Thanks for the info Frank, I appreciate it :)
/Christian
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]]
Sent: 18. september 2001 19:19
To: Christian Sandfeld
Cc: '[EMAIL PROTECTED]'; 'Eric R. Gavin'
Subject: Re: RE: [PHP-WIN] How can I retr
Eric,
Thanks for sharing. I too can not get the user name for pages where
anonymous access is allowed, but since it's on our intranet, that's ok (all
users are loged on to our NT domain).
Regards,
Christian
-Original Message-
From: Eric R. Gavin [mailto:[EMAIL PROTECTED]
Adrian, Frank,
That was exactly what I was looking for. I wasn't aware that changes had to
be made to the security stuff, but in hindsight it makes perfect sence.
Thanks a lot ;-)
/Christian
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]]
Sent: 17. september
Debra,
Unfortunately $REMOTE_USER is not set by IIS (atleast not on mine) and to my
knowledge IIS does not support .htaccess files.
But thanks anyway ;-)
Any other ideas out there ?
/Christian
-Original Message-
From: samsom, debra [mailto:[EMAIL PROTECTED]]
Sent: 17. september
Regards,
Christian
-Original Message-
From: Ertan Tike [mailto:[EMAIL PROTECTED]]
Sent: 17. september 2001 12:43
To: 'Christian Sandfeld'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] How can I retreive a users Windows logon name?
Importance: Low
hi,
i have a at
that this does not provide for much security, but that's ok (I'm
not after security, only after a simple user verification).
I thank you in advance for your time ;-)
/Christian
------
Christian Sandfeld
Zensys A/S
index.php4 with the query correctly shown. 2
people (Win98 or Millenium/IE 5 or 6beta) get the die procedure:
"Please check your query and try again" and I really do not understand
why. I am really confused and would like to solve this problem.
Could someone help me?
Greetings,
k.
Workaround2: Unfortunately I don't know first thing about COM :)
Last but not least, thank you to all who took the time to answer, and once
again, my appologies to anyone who was offended by my question.
Regards,
Christian
-Original Message-
From: John Catron [mailto:[EMAIL P
, but I have not been able to find any info what so
ever on how to accomplish this on the Windows platform. So my question is,
does anyone know how to make this work on a WinNT system, and (preferably)
where to obtaion the needed modules?
I thank you in advance for your time :)
/Christian
--
PHP
odules where
causing the problems, so it could be either. At the end of the day I
downgraded to ver. 4.0.4pl1 which worked a charm (haven't had the currage to
try with 4.0.6 yet).
Cheers,
Christian
-Original Message-
From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
Sent: 27. juni 2001
Jason,
In order to work with session vars, do like this:
This all has to be done before sending output to the browser, just as is the
case with cookies.
Hope this helped :)
/Christian
-Original Message-
From: Jason Belletty [mailto:[EMAIL PROTECTED]]
Sent: 26. juni 2001 17:13
To
t;off"
and session.auto_start is "0".
Any help would be gratefully appreciated. Thanks and have a nice day,
christian
code
session_name("Apache");
if (apache_note("Cookie")) {
session_id(apach
Christian
--
PHP Windows 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, thanks for the info; I only tried PHP 4.0.5 RC1 and no newer build.
Since it works just fine under Unix/Linux, that's no real problem :-)
Regards
Christian
-Original Message-
That function was not in PHP 4.0.4pl1. You need a recent build.
-Rasmus
On Tue, 17 Apr 2001, Chri
Hello there,
just before I file this as a bug: Can someone reproduce that calling
PDF_open_memory_image w/ PHP 4.0.4pl1 always results in "call to
undefined function"? I have GD and PDF library loaded, and other GD and
PDF functions work just fine.
Regards
Christian
--
PHP Windo
wunderfull)
- I put ARIAL.TTF in a web subdirectory: fonts
I would be very grateful if someone could help me.
christian
-- code ---
Header("Content-type: image/gif");
$font = "fonts/ARIAL.TTF";
echo imageloadfont($font);
d you send us a
simplified example ?
Regards
Christian
--
PHP Windows 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]
89 matches
Mail list logo