For anyone interested in the answer to this problem, here's what I found
out.
I ran the script through truss and looked at what was happening. It
seems that when trying to use fopen(php://stdin, r) or
fopen(/dev/fd/0, r), that as it's reading from the file with
fgets(), it does an lseek (or
Dear all
Is there any ways that i can pass the Windows Logon Username to PHP?
Any Built in Function that can handle this? cause i don't want the user to
logon so many times and my website is for internal only!
Thx
Jack
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
I'm in a project where I need to:
Automate the sending of an email to, say, [EMAIL PROTECTED],
whenever [EMAIL PROTECTED] receives an email in his mailbox from some
Ms. [EMAIL PROTECTED] Is there a way PHP can do that? Thanx a lot.
P.S. Have been getting a lot of useful responses in this mail
http://www.weberdev.com has a great jobs section.
Check out the 1st paragraph
http://www.weberdev.com/index.php3?GoTo=Thanks.html
berber
-Original Message-
From: Francisco Reyes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 4:31 AM
To: PHP list
Subject: [PHP] Where
Hello to everybody,
I need some help for writting a comparison of PHP vs JAVA, and of course, I
need that PHP wins
;-D
Any ideas?
Any comparison wrote?
Advanced Thanks,
F.P.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm having a hard time figuring out exactly how paths should be listed when
pointing to files using the ImageCreate(), ImageCopyResized(), etc.
commands.
My images are in a sub-folder called img, and my script is in another
sub-folder called scripts (at the same level as img).
It appears that
On Thu, 21 Feb 2002, Berlina wrote:
Hello to everybody,
I need some help for writting a comparison of PHP vs JAVA, and of course, I
need that PHP wins
;-D
PHP and JAVA are different tools. It depends what you want to do. You can
take advanteges from both.
--
PHP General Mailing List
I've been trying to post to this newsgroup, but have had problems. If this
works, I guess the problem has gone away on its own.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 21 Feb 2002, Jim Koutoumis wrote:
I'm sure that this is possible, but I haven't found any info/examples on it
yet,..
What I have is a php script that processes data that been submitted by a
FORM.
You can make this using javascript. You generate HTML form with hidden
fields and at
On Thu, 2002-02-21 at 01:07, Berlina wrote:
Hello to everybody,
I need some help for writting a comparison of PHP vs JAVA, and of course, I
need that PHP wins
;-D
Wins what? For what task? This is quite a nebulous question. And if
you've decided which will win before you've done the
I'm not sure the best way to auto-paginated long articles that will be
stored in a MySQL database. I tried searching a few sites for sample code
but couldn't really find anything, which is why I'm asking here.
An idea I had was to split the content into an array called page and then
just access
Hi,
I've downloaded the newset PHP sources, made ./configure --with-mysql --with-apxs what
was succesfully but when I type make it starts compiling but an error occures:
Making all in Zend
make[1]: Entering directory `/c/php-4.1.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc
Time() returns unix timestamp (which is GMT), date() is interpreting that
according to the local time zone.
Tim Ward
internet chess at www.chessish.com http://www.chessish.com
--
From: Justin French [SMTP:[EMAIL PROTECTED]]
Sent: 21 February 2002 03:21
I need to produce an array of all the links(hrefs) in a remote file
(actually those that refer to files in the same remote server, but thats
another matter).
I'm pretty new to php, i was thinking of doing it with ereg, something
like eregi(a href[\]?=(.*), $file, $link);
but i cannot think of a
I need to produce an array of all the links(hrefs) in a remote file
(actually those that refer to files in the same remote server, but thats
another matter).
I'm pretty new to php, i was thinking of doing it with ereg, something
like eregi(a href[\]?=(.*), $file, $link);
but i cannot think of a
John,
Yeeesch! I neet help.
Yeeesch! was exactly my reaction when I read the following!
Now that you have had some responses to 'directly' address the problem may I ask why
you would want to
maintain/work with the data in this format (top) as opposed to the eminently logical
later
Use preg_match_all('|a.*?href=(|'|)(.*?)(|')|i', $the_string,$the_matches);
var_dump($the_matches);
Regards,
Andrey Hristov
- Original Message -
From: Ando Saabas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 10:45 PM
Subject: [PHP] Extracting hyperlinks
ooops
sorry
The correct is :
preg_match_all('/a.*?href=(|'|)(.*?)(|')/i', $the_string,$the_matches);
var_dump($the_matches);
- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
To: Ando Saabas [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 1:35 PM
I need to produce an array of all the links(hrefs) in a remote file
(actually those that refer to files in the same remote server, but thats
another matter).
I'm pretty new to php, i was thinking of doing it with ereg, somethin
like
eregi(a href[\]?=(.*), $file, $link);
but i cannot think of a
Ando
I need to produce an array of all the links(hrefs) in a remote file
(actually those that refer to files in the same remote server, but thats
another matter).
I'm pretty new to php, i was thinking of doing it with ereg, something
like eregi(a href[\]?=(.*), $file, $link);
but i cannot
-Original Message-
From: Andres Plaza R. [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 20:55
[...]
BUT, the other day I used vi to see the debug.log, and the error
appears like this:
gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105
-DUSE_HSREGEX -DEAPI
is it possible to send variables in the header to the next script with
an form?
scriptform2.php:
$ip = 192.168.0.90;
$fp = fsockopen ( $ip, 80, $errno, $errstr, 30);
$header =POST /tests/form2.php HTTP/1.1\r\n;
$header .=Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
That's right
Send these headers after the session_register()
header(Cache-Control: );
header(pragma: );
Leaving the values empty will allow the browser to decide if to get the
result page from the cache. It works for me fine, but I'm not sure in case
with SSL secured page.
Richard Baskett
I have no idea why your code isn't working, but if you are interested
there is a class called Snoopy which can do exactly qhat you are
attempting (posting values to a form, as well as grabbing pages from
URLs and other neat tricks):
http://snoopy.sourceforge.net/
marcbey wrote:
is it
Hello,
is there any possibility of redirecting a request URL using header:Location
and openning the requested URL in a new window linke target=blank in html.
Thank you.
Ali
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi People,
I have been looking around the web lately and have noted a number of
sites are running what appears to be php scripts that parse their
local
weather information and display it on their wesite.
Well, I want to do the same, however I have been searching and found
nothing that
Just that i sent the message about 15 hours ago,
so i thought it didnt get through. Dunno why it took so long.
And thanks for help
Ando
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Mike!
On Thu, 21 Feb 2002, Ford, Mike [LSS] wrote:
Well, ^M is a representation of the carriage-return character -- the fact that it's
not being displayed by your editor suggests that, in fact, it *is* a carriage-return
which is being suppressed on the grounds that it's an
This may sound kludgy. Probably is. Since it's an internal site, you can
control things a bit. The Windows Scripting Host (installed on Win 98+ and
Win2K+, available for others as download) exposes at least the username as a
property on a WScript.Network object. However, since access to that
I keep getting errors saying that the required file could not be found or
something because the include_Path is wrong. Right now the include path is
set to ³..², I think because I saw it like that somewhere else and thought
that was the correct way to do it. I have tried so many things and
Hey,
Any suggestions on how to write a licensing system or something similar to
protect against illegal distribution of your programs? Zend is a way, but is
very expensive.
Regards,
Kunal Jhunjhunwala
Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can
On Thursday 21 February 2002 17:10, Monty wrote:
I'm having a hard time figuring out exactly how paths should be listed when
pointing to files using the ImageCreate(), ImageCopyResized(), etc.
commands.
My images are in a sub-folder called img, and my script is in another
sub-folder called
That's a pretty naive question to ask. For what specific task do you want to
compare them ? Besides if you can't write a comparison article on PHP vs.
JAVa , how can you set the outcome in PHP's favor?
I would advise you to sit down and try to do the task both in Java and PHP
, and compare both
Wee Chua [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Is it possible that I would get the wrong ID (Not the ID I just inserted
in
Auto_Increment field) by using mysql_insert_id function if someone is also
inserting record at the same time? How does
I have a problem with ereg function.
In php 4.0.5 i use this
if ( ereg(([0-9][0-9]*)\|(\w\w*),$opcion, $registros) ) {
...
}
and no problem. But, in php 4.1.1 don't work. I think that may be the escape
of | character.
Note: I'm looking for a | in the string. Then i need escape the |
Any
There is the PHP Obfuscator that makes output code a real pain to read. It
doesn't really compile it or anything, but it's a level of protection if you
need it. http://pobs.mywalhalla.net/
Kunal Jhunjhunwala [EMAIL PROTECTED] wrote in message
Hello,
I created a librairy with configuration setting: background color, font size,
customer's name, etc. Like this:
(lib_config.inc)
$bgcolor = #ff;
$co = ABC enterprise;
A second file is building html page headders:
(lib_intra.inc)
function title($name_section,$name_page){
print
first of all:
why do you use:
[0-9][0-9]*...
you better use: [0-9]+ then
same goes for \w
and I guess you don't need the ('s and )'s either...
Edward
- Original Message -
From: German Castro Donoso [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 5:26 PM
Ali [EMAIL PROTECTED] wrote in message
001701c1bada$f5ca5780$[EMAIL PROTECTED]">news:001701c1bada$f5ca5780$[EMAIL PROTECTED]...
Hello,
is there any possibility of redirecting a request URL using
header:Location
and openning the requested URL in a new window linke target=blank in
html.
Thank
In the method line, the URL being POST'd to is form2.php, not form.php. Is
that the correct file name, or should that be form.php?
Kirk
-Original Message-
From: marcbey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 5:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] sending
I think you have some un-needed code there. But anyway you might need to use
a double backslash infront of the |
If that doesn't work mail me back
Muz
German Castro Donoso [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a problem with ereg function.
In
The include path should specify the file you are trying to include relative
to your file that is including.
E.g..
Consider two php file 1.php and 2.php if they are in the same directory and
you want to include 1.php with 2.php you simply add the line at the
beginning of 2.php
?
include(1.php);
Hey
I need to calculate the amount of days between 2 point
point 1 is now the second point is in the past
the format I have is in 2002-02-25 10:02:23 ( that is the format i have in
my db )
now if I have today 2002-02-25 10:02:04 and the other day is 2002-02-24
09:02:04
That means that the
look at the mysql docs
at www.mysql.com/doc/
there are some functions about times. it is easy to work with time intervals.
Best regards,
Andrey Hristov
- Original Message -
From: Sven Jacobs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 5:56 PM
Subject:
?
$date1 = 2002-02-25 10:02:04;
$date2 = 2002-02-24 09:02:04;
list($date1,) = explode( , $date1);
list($date2,) = explode( , $date2);
list($year1, $month1, $day1) = explode(-, $date1);
list($year2, $month2, $day2) = explode(-, $date2);
$intdate1 = mktime('0', '0', '0', $month1, $day1,
if you move your mouse over the Download Now section... what is the
statusbar displaying??
Edward
- Original Message -
From: Narvaez, Teresa [EMAIL PROTECTED]
To: 'Sanduhr' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 5:05 PM
Subject: RE: [PHP] Re: NULL value
Hi NG
Help needed, i have make a new istallation of php 4.1.1 (with the
installer). I configured everyhing like iis php.ini. registry and permission
on th ntfs partition. I coppy all the dll`s from php (not the extensions
dll´s) to system32. I downloded to the win32 package with the extensions
Hi
Is it possible to have PHP spawn a second process that will run
independently of the script that started it?
This is what I'm trying to do :
1 - page.php browser calls it, starts to execute
2 - if (condition) fetch information from server.x via http pipe, log
to database
3 - display
It seems that you use global where it is not needed- outside of any function
First error because error_reporting is not set to 0 in php.ini so error_reporting
valus includes E_WARNING.
if you set error_reporting=0 in php.ini or error_reporting(0); in the script you will
not receive the first
I recently made a class that gets its info from the NOAA which is free
for public use.
At the moment it is a little buggy and not quite complete.
You can look at it here http://spectre013.grunews.com/weather
It works for any location in the world by using the 4 character Airport
Code.
I will
I keep getting this error message and cannot figure out why. The
extension_dir is set correctly in the php.ini, I have put the .dlls into
every conceivable directory I can think of and nothing seems to work.
Anybody else had and fixed this problem?
Thanks,
Jeremy
--
PHP General Mailing
Place all the dlls in the same directory as the php.exe file and in your
php.ini file have the extension_dir = .\ (windows).
This works for me great...
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Jeremy Reed [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Hello! Can anyone tell me about sites where I can find some help and
resources on PHP GTK. Is their any visual editor available for PHP GTK?
Thanks in advance.
--
'The rose is sweetest washed with morning dew
And love is loveliest when embalmed in tears'
- Walter Scott
I do not know of any editors for php-gtk. Here is the general list:
[EMAIL PROTECTED]
website: http://gtk.php.net
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Dasmeet Singh Arora [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 8:59
Hi
Any consultant will tell you that all you need to do is define
the comparison criteria and you can choose the winner easily.
PHP: ease of use, low cost of ownership, etc.
Java: scalability, choice of implementations, etc.
I just hope you can live with your choices!
Regards, John
Berlina
I have had similar problems with compiling GMP on win32 under cygwin.
I only have two suggestions put the oracle library under /usr/mingw I saw
this on a google group forum. The other thing is, that in the manual you
will probably need some additional files for SSL. BTW I think mysql is
natively
Hi,
How do I get PHP to output an HTML tag instead of and XML tag when using
trans_sid and a form in PHP.
(eg)
php outputs
input type=hidden name=sessionName value=sessionID /
but I don't want the trailing /
/James
--
Technology is a word that describes something that doesn't work yet.
try http://www.microcode.de/index.php3?LANGUAGE=english
microCODE from Databay enables you to encrypt your PHP scripts before
publication.
Thereby you can protect your code against unwanted insights or even
modification of the sources by a unauthorized third party. This is
especially required
Why not use javascript to launch a new window?
/dkm
- Original Message -
From: Ali [EMAIL PROTECTED]
To: 'Php-General (E-mail)' [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 8:23 AM
Subject: [PHP] header (Location: URL);
Hello,
is there any possibility of redirecting a request
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Jeremy Reed) wrote:
I was able to fix the 'unable to find dynamic etc.' error thanks to you
guys. Now I have a new problem. It seems that I am unable to process form
data. Before upgrading to 4.1.1, you were able to refer to the form data
what font are you using?
hugh
- Original Message -
From: Monty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 1:10 AM
Subject: [PHP] Paths and ImageCreate(), GetImageSize()...
I'm having a hard time figuring out exactly how paths should be listed
when
No there really isn't. I wrote an extension that does it for me, but
I am waiting to see what the second zend engine will have for this
rather that using my hack. Maybe check the Zend Engine 2 mailing list
to see what the future may hold.
Matt
Mika Tuupola wrote:
Is there a way to
Apache server with PHP module
Apache user is nobody:nobody
Virtual user is user1:user1
in VirtualHost we have
VirtualHost ip.add.re.ss
DocumentRoot /www/user1
Directory /www/user1
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
I deleted everything in the php dir and reinstalled it all.
- Original Message -
From: Hunter, Ray [EMAIL PROTECTED]
To: 'Jeremy Reed' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 4:32 PM
Subject: RE: [PHP] unable to load dynamic library etc. etc.
Place all
Hello all:
I am attempting to utilize IMP 3.0 as web based e-mail. In order to do
this, I had to recompile PHP with --with-imap (imap-2001a from UW),
--with-xml, and --with-xml (God know why, but that's what IMP wanted). All
went well, everything configured and compiled happily. Then I tried
On Thu, 2002-02-21 at 10:44, Dave wrote:
Apache server with PHP module
Apache user is nobody:nobody
Virtual user is user1:user1
[snip]
Ideas or suggestions appreciated.
Dave
Well, this isn't really a PHP issue, but what the hell. If you need to
do filesystem stuff as a certain user, the
On Thu, 2002-02-21 at 09:45, James Nord wrote:
Hi,
How do I get PHP to output an HTML tag instead of and XML tag when using
trans_sid and a form in PHP.
(eg)
php outputs
input type=hidden name=sessionName value=sessionID /
but I don't want the trailing /
/James
I already told
On Thu, 2002-02-21 at 08:16, Andrey Hristov wrote:
It seems that you use global where it is not needed- outside of any function
First error because error_reporting is not set to 0 in php.ini so error_reporting
valus includes E_WARNING.
if you set error_reporting=0 in php.ini or
Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it
possible to have PHP and servlet/JSP code collaborating? I'm looking into using SOAP
(apache project's implementation) but I need some of PHP's functionality.
thanks in advance,
thalis
--
PHP General
We use iPlanet here, and it has Servlet support built in. (nice config
menus, too). PHP works fine too, it just takes a little brain power to
install it correctly.. Anyway, we do have a little servlet guarding a
secure directory, and it uses the PHP engine to grab the templates, same as
every
Hi,
I am trying to set a small script that would let my clients upload file with
a Explorer or Netscape, but the problem is it would let me upload any file
that is great than a 1MB. We get an error that the file none could not be
read.
I have set the upload_tmp_dir=/tempupload is has been chmod
Is it possible to specify a different php.ini file for each virtual host? I
know that that -c altphp.ini syntax on the end of the commandline will
switch it, however, that doesn't exactly work like I'd hoped in Apache's
configuration. I'd like a solution that worked with either the CGI or module
Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it
possible to have PHP and servlet/JSP code collaborating? I'm looking into using SOAP
(apache project's implementation) but I need some of PHP's functionality.
You can use Tomcat and Apache together. There's
Hey All,
Last night I was doing some coding.
I am not sure what happened but has anyone run into this error before.
Method Not Allowed
The requested method POST is not allowed for the URL /index.html.
Apache/1.3.19 Server at nocal.mkp.org Port 80
More data about this.
This ONLY appears with
How do you set up the outgoing mail server using mail() function? i just
can't find it in the manual... the idea is to send it through a mail
server that's not the one with PHP.
thanks,
--
Cristián Cerda Pé
[EMAIL PROTECTED]
Impulsando Ltda.
www.impulsando.com
San Pio X 2460 of.604
http://us4.php.net/manual/en/function.mail.php
-Original Message-
From: Cristian Cerda [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 4:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] outgoing email server
How do you set up the outgoing mail server using mail()
The PHP-Dev list doesn't want to hear it, so I guess I'm *stuck* back
here.
Will someone please tell me why the latest CVS of PHP won't let Apache
2.0.32 work and when a graceful fix will be implemented?
Hmm..this sounds like it should go to the dev list...
--
Austin Gonyou
Systems Architect,
I'm sorry I did not read through your entire post the first time...
You set the SMTP server in php config file:
SMTP = smtp.yourisp.com
-Original Message-
From: Cristian Cerda [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 4:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
I know this is not a PHP question but would really appreciate comments
regarding experiences with the software E-mail Spyder or any other
experiences with other software.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, Thanks for your replies. I still cannot access the variable fileId
:-(. I would appreatiate any more comments. Thanks in advance -Teresa
Warning: Undefined index: fileId in
/home/narvaez/public_html/ddownloadfile.php on line 6
Warning: Undefined variable: fileId in
Lars Torben Wilson wrote:
On Thu, 2002-02-21 at 09:45, James Nord wrote:
Hi,
How do I get PHP to output an HTML tag instead of and XML tag when using
trans_sid and a form in PHP.
(eg)
php outputs
input type=hidden name=sessionName value=sessionID /
but I don't want the trailing /
/James
You can use the php_admin_value in your virtual host.
For example:
php_admin_value safe_mode 0
This will turn safe mode off for that virtual host.
Hope this helps,
Harry
__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
I want to define a variable that I can reference on ALL of my PHP pages.
Ideally, I'd like to do it in php.ini or some similar place so that I can
modify it as I place code on different systems, but not need to make changes
in lots of different places.
I looked at the Configuration section of
Joe,
Do you know when the file size is checked ??
I think it only gets checked after the form is posted and file uploading is
finished ??
I don't know how it's possible to catch things before user uploads - now
that would be neat :-)
Jim.
Lerp [EMAIL PROTECTED] wrote in message
[EMAIL
On Thu, 2002-02-21 at 14:04, Narvaez, Teresa wrote:
Hello, Thanks for your replies. I still cannot access the variable fileId
:-(. I would appreatiate any more comments. Thanks in advance -Teresa
Warning: Undefined index: fileId in
/home/narvaez/public_html/ddownloadfile.php on line 6
On Thu, 2002-02-21 at 14:11, James Nord wrote:
Unfortunatly I know some that need to leave it.
If you would state exactly what the problem with the slash being
there is, perhaps we could help you.
The HTML renderer that comes with Java (jfc) renders the '' due to the
'/' being before
I don't know why you would need to do this in the PHP installation. I
just create a globals.php file (call it what you like) that contains all
of my multi-script variables. Then I include the file into each script
as needed. The file contains CSS pointers, database functions, and
anything else
yeah! remember that php interprets the string first, before it gets to
reg.ex. !! That's some I keep forgetting... lol
Martin
-Original Message-
From: Murray Chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 2:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: regular
Use single quotes? I think that stops it from interpreting the regular
expression before hand.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 10:32
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: regular expressions
yeah! remember that
Hi all,
I've seen some posts and info elsewhere regarding downloading files - mostly
stating problems with the way IE handles this function.
What I'm trying to do is :
1 - offer files,.. .doc, .zip and others
2 - allow the user to click on a URL, or button
3 - have the options to
dunno about using eval() but this worked - not as elegant as I'd want it,
but it works
class test
{
function user_func($f, $a, $b) { $z = $this-$f; return ($z ? $z($a, $b)
: null); }
}
$blah = new test;
$blah-new_func = create_function('$a,$b', 'return $a+$b;');
echo $blah-user_func(new_func,
Hi there,
I am struggling with a concept and can't seem to find a way to do it so
hoping you all can help.
We want to use PHP with MySql Db.
For security reasons on the DB, it is to be accessed only through this front
end i.e. via the internal web
Each user will have a number of levels of
why can't i see anywhere in this code what value:
$row[PicNum];
contains?
try:
a href=downloadfile.php?fileId=1
instead of:
a href=downloadfile.php?fileId=?php echo $row[PicNum]; ?
if, it's working then, then your error is there...
Greets,
Edward
- Original Message -
From:
Janet,
I think you probably need to investigate the concept of sessions.
You were a bit sketchy on details, but it sounds like this is what you want.
If you'd like more help, post to the list, or contact me directly at
[EMAIL PROTECTED] (aim:mgkimsal)
Wg4- Cook wrote:
Hi there,
I am
Hi,
I'm using php-4.1.1 with
Configure Command
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-dbase'
'-- with-mysql=/usr/local/mysql' '--with-mm' '--with-openssl'
'--enable-sockets' '- -with-zlib' '--with-curl' '--enable-discard-path'
apache (w modssl):
gavin@myhost apache
I can think of three ways you could do this.
1. as a cookie
2. using sessions
3. put it in every link
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 10:59 AM
To: PHP db list; PHP List
Subject: [PHP] Help needed - need to
I know this is a bit off the wall for most, but for what purpose do you
use phpmyadmin mysql?
What are your projects?
Does anyone know of any good articles that discuss databasing, PHP,
MySQL and or PHPMyAdmin for academic purposes?
I'm a university researcher and want to collect some data.
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Hello,
I created a librairy with configuration setting: background color, font size,
customer's name, etc. Like this:
(lib_config.inc)
$bgcolor = #ff;
$co = ABC enterprise;
A second file is building html page headders:
Hi.
I've compiled my own version of PHP to be used as the PHP4 handler for
Stronghold/Apache.
Compolition succeeds, but when I attempt to restart Stronghold with the
new module, the following is reported:
Syntax error on line 234 of /usr/local/stronghold/conf/httpd.conf:
Cannot load
Hello All,
Ok , I am about to loose my mind... this list is my last option i think :)
this is what i have tried :
system(convert -pen black -draw 'text 120,60 YourText Here' imageA.jpg imageB.jpg);
The above does not work , the most i can get it imageA.jpg Becomes imageB.jpg but the
text
1 - 100 of 123 matches
Mail list logo