I'm starting to learn the language and I'm having a problem with fscanf as
witnessed below:
http://www.zephyr-works.com/ascii-5/dev/phpnews.phps
The output is at:
http://www.zephyr-works.com/ascii-5/dev/phpnews.php
I can't seem to get the variables to assign correctly...
The source file is:
nice 1 scott,
appreciate your help,
i'll keep working on it :)
Many Thanks,
Nelson
London
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 14:52:36 -0400
well, on second look
Hi:
I have PHP4 and Interbase 6.0 Super Server but ...
Fatal Error: Call to undefined function
ibase_connect() ...
any idea?
Is there something like php-interbase...rpm?
Thanks
fausto.
__
Do You Yahoo!?
Get personalized email addresses
On Tue, 3 Jul 2001, Brian White wrote:
LD_LIBRARY_PATH=/usr/local/freetype/lib/
insert this line into
/etc/ld.so.cong
and run
ldconfig -v
(via root)
bye
--
Il mondo si divide in due categorie: chi ha la pistola
carica e chi scava. Tu scavi.
--
Michel ZioBudda Morelli
Hi, sorry about the blatant use of this mailing list to advertise a job
vacancy, but it seems to be the best place.
Anyway, I represent Neopets.com, we are an online entertainment community,
written in PHP/Apache/Redhat linux, and we are currently doing in excess of
130,000,000 pageviews daily
I'm looking to see if it's possible to do something like this. Has anyone
seen anything like this at all? Thanks for the time.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
- Original Message -
From: AJDIN BRANDIC [EMAIL PROTECTED]
To: Tom Carter [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 2:57 PM
Subject: Re: [PHP] search
On Tue, 3 Jul 2001, Tom Carter wrote:
Rather than trying to break it into an array, you can examine the
OK I'm sure we've all run into this fun problem.
Sometimes we forget a /table etc, from our html, and our friend
Netscape doesn't display anything if the syntax is wrong or missing. IE
on the other hand assumes what you are doing and displays it fine.
Can anyone suggest a tool / web site etc,
I do a View Source on all my generated pages, save it as a file, then run
the file through Arachnophilia's tag checker. It reports missing tags and
line numbers where there are errors. Arachnophilia is careware, I have
used it for a long time. There are doubtless other programs that will do
this
I can't suggest any syntax checkers off-hand, but a suggestion for
future work...
I keep track of TABLE, TR, TD, etc. by indenting them like PHP/C code...
Perhaps that would alleviate this from happening again in the future for
you...
TABLE
TR
TD
/TD
Ok, I got it to find the word list by copying en-aspell.pwli from
/usr/share/pspell/ to ./usr/local/share/pspell/ go figure. Unfortunately,
that didn't fix all of the problems. Now I get the following error message:
Warning: PSPELL couldn't open the dictionary. reason: Unable to load the
Hi guys,
I have an interesting situation at the moment... my (slightly sloppy) HTML
is obviously missing a closing tag here or there but displays fine in opera,
ie etc however when I try and view it netscape (4.x, windows, linux, any
platform) netscape just nice and cleanly crashes!! If anyone
This may or may not be overkill for what you're doing, but it looks like
a superb class:
http://www.aditus.nu/jpgraph/index.php
I've seen several other graphic classes as well... But this looks to be
the best.
-Original Message-
From: Gonyou, Austin [mailto:[EMAIL PROTECTED]]
Sent:
don't know any bugs but could be helpful if we could see your code...
but.. maybe you think we shouldn't see it ;)
Tim Taubert
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
http://www.nestegg.net/validate.html
on 7/3/01 2:17 PM, Jack Sasportas at [EMAIL PROTECTED] wrote:
Can anyone suggest a tool / web site etc, that helps you check the html
code for the missing / wrong syntax so that it is spotted quickly like
making it red or something, instead of reading
Kman [EMAIL PROTECTED] wrote:
Yes, if you can stop mail server. Then kill the related process. No,
otherwise.
or if the browser window is open you can just press esc (you can leave
it open is your timeout is disabled)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
Hello, my friends
I tried to register binary data in a Directory using LDAP Functions of php
4.04. Thsese data are UTF8 encoded strings in our local language.
These tries were not successful and php did not register data in Directory.
I would want to know if php LDAP functions support binary
Justin Farnsworth [EMAIL PROTECTED] wrote:
We do this with mail() now and then.
The caution about doing periodic pauses may be important.
A few years ago I crashed a mail server by doing a mass email
with no sleep() embedded.
However, FWIW, not more than a month or so ago, just
Kman [EMAIL PROTECTED] wrote:
From: infoz [EMAIL PROTECTED]
If all the messages were identical, we might be able to get some
efficiency
by sorting the list by domain name and batching them up with SMTP
That's a very BAD idea. If you sort the mail by domain, you will flood
the mail
Do I just uncomment:
AddType text/html .shtml
AddHandler server-parsed .shtml
Do I have to uncomment:
AddModule mod_mime.c
AddModule mod_include.c
I thought these modules are bound into the standard windows build? When I
load the page up, the includes are not being included and the
Are there any pathches sort of availabe for php 4.0.x
so that I can compile php4 for Apache 2.0.x beta
regards
Chandu
I have a project where the admin uploads a new data file and it needs to
be loaded into a mysql database. What's the best way to do this? The
data file is tab-delimted but could be reformatted.
Right now the file is uploaded and after copy($new_file, $file_loc)
would like to refresh the db.
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you the page
you just came from.
Thanks.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP
write a script that reads in each line of the file, uses split() to break
the line up at the tabs, and then inserts into the database.
$data_array = split([tab],$file);
$query = insert into table values ($data_array[0], $data_array[1],...)
you'll have to look up the regular expression for tab
yes...do this:
print HTTP_REFERER;
tyler
- Original Message -
From: John Holcomb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:17 PM
Subject: [PHP] Help Please
Is there an environmental variable like in Active
Server Pages ( HTTP_REFERRER ) that tells you
yes there is one
$HTTP_REFERER
but it isn't supported by all browsers...
bye Tim
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
Dear all,
after lots of attempts to make my sybase work i still getting an error
with my sybase_connect function,
Fatal error call to undefined function sybase_connect()in my document root
directory index.php3
...
i am now trying to compile ./configure -with -msql does any1 know the
correct
Sorryyou'll need a '$' before the HTTP_REFERER part
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: John Holcomb [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 4:23 PM
Subject: Re: [PHP] Help Please
yes...do this:
print HTTP_REFERER;
tyler
on 7/3/01 9:48 AM, Martín Marqués at [EMAIL PROTECTED] wrote:
On Mié 04 Jul 2001 00:43, you wrote:
Sorryyou'll need a '$' before the HTTP_REFERER part
Even better! Execute phpinfo() and see all the http variables available!
Or var_dump($GLOBALS);
yes, but since you won't be
on 7/3/01 9:56 AM, Martín Marqués at [EMAIL PROTECTED] wrote:
Even better! Execute phpinfo() and see all the http variables available!
Or var_dump($GLOBALS);
yes, but since you won't be 'referred' from anywhere, you won't see
$HTTP_REFERRER :)
ouch! You're totally right! :-)
P.D.:
Hi!
I think the configure command is -enable-ircg, but as far as i know, it
won'T work with apache but only with thttpd. Take a look at
http://php.net/~sas/
good luck,
Matt
-Original Message-
From: Brian C. Doyle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 5:26 PM
To:
Is anyone else getting this sina.com crap?
Could the moderators/administrators of the list take a look at it?
Cheers,
Brad
--
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
i'm getting this like you...
only unreadable messages..
-
Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/
-
-Original Message-
From:
Hi all,
Is there a way in php4 to authenticate a user against the system
passwords?
I have to write a php program to handle student assignment submissions.
These users need to authenticated against an winnt PDC.
Samba has a package called winbind that will let me map the pdc's
usernames and
QUESTION 1
I'm working on a form that reads where the user clicks on an image using:
?php echo x = $mapclick_x and y = $mapclick_y; ?
where the map has name=mapclick
I get this as output:
Location is x = 94 and y =Ê36
What is that strange e thing?
QUESTION 2
I want to check how large
Is there a way to convert a PDF file into a TIFF image without
purchasing PdfLib?
I would like to take a PDF file and use it as a background upon which
I would place some other images.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
I had a similar problem a while back that I solved by isolating my
variables. Such as:
?php echo x = . $mapclick_x . and y = . $mapclick_y . ; ?
As for why it's happening, I'm not sure.
--kurt
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July
I've found the bug in this question. Still no luck with QUESTION 1 sorry to
bug you guys
Susan
-
QUESTION 2
I want to check how large the image is, so I tried this:
$test = GetImageSize ($maploc);
echo $test[3];
(it's a jpg, and $maploc is any URL)
But I get this error:
on 7/3/01 7:52 PM, Kurt Lieber at [EMAIL PROTECTED] wrote:
I had a similar problem a while back that I solved by isolating my
variables. Such as:
?php echo x = . $mapclick_x . and y = . $mapclick_y . ; ?
As for why it's happening, I'm not sure.
Wow, that fixed it! Though it turns
because of problems just like this, i've moved to using printf() instead of
echo().
printf(x = %s and y = %s,$mapclick,$mapclick_y);
on 7/3/79 5:44 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
on 7/3/01 7:52 PM, Kurt Lieber at [EMAIL PROTECTED] wrote:
I had a similar problem a while
Are you entering the fully-qualified URL? The following works perfectly on
my machine:
?php
$tempVar = getImageSize(http://i.cnn.net/cnn/images/main/cnnlogo.gif;);
echo $tempVar[3];
?
(it's the main logo for cnn.com)
--kurt
- Original Message -
From: [EMAIL PROTECTED]
To:
http://www.php.net/manual/en/function.getimagesize.php
Here it seems to say that you can use getimagesize with a URL
But here
http://www.phpbuilder.com/mail/php-developer-list/282/2426.php
it says you can't
Any comments? is it just in newer versions?
Susan
--
PHP General
I have an interesting situation at the moment... my (slightly sloppy) HTML
is obviously missing a closing tag here or there but displays fine in opera,
ie etc however when I try and view it netscape (4.x, windows, linux, any
platform) netscape just nice and cleanly crashes!!
you mean like
Hi,
I've decided to turn on/set safe_mode, document_root
and open_basedir in apache's httpd.conf in order to
make the scripts a little more secure (some upload
files such as image) in a virtual host.
Everything worked fine except for a couple of scripts.
Those scripts (used for file upload)
This is probably more of a client side programming issue rather than
something that has to do with PHP. But I figure that some of you might
have something meaningful to comment.
I need a way to prevent the download of some images in a web page. I
also require that these images be presented
I don't remember exactly the code on how to do it, but you have have the
images placed in a folder outside the server's public document tree (like
you would do with includes) ... that way, I couldn't link directly to your
pic.
As for stopping someone from right clicking on the image and doing a
on 7/3/01 6:36 PM, rodrigo at [EMAIL PROTECTED] wrote:
This is probably more of a client side programming issue rather than
something that has to do with PHP. But I figure that some of you might
have something meaningful to comment.
I need a way to prevent the download of some images in a
yeah use macromedia's flash is One way there is a java script way ... but i think that
basically just stops people right clicking the page
-Original Message-
From: rodrigo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 10:37 AM
To: php php
Subject: [PHP] How to
I bought (it was something like $5-10) a java class called imageProtect from
Liquid Cool Research (their new page is http://www.liquidcoolresearch.com/)
a long time ago and I just checked on their site -- it doesn't seem to be on
sale any more. It worked for me (basically it was just java loading
But I am considering setting it back on and change
(somehow) the default upload dir to a new one. Since
move_uploaded_file still works (even with safe_mode) I
assume I will work but another problem arises.
The name of the uploded file (which I do not control)
is something like phpUKXh6R so
rodrigo [EMAIL PROTECTED] writes:
I need a way to prevent the download of some images in a web page. I
also require that these images be presented within the web page. That
is, I don' want them to be displayed in another window. They should
remain embedded in the web page along with the rest
Hi,
I am working on a banking project.
we are planning to take our tour into vb/mysql combination.
Please help me sending your comments.
Thank you,
V.Rajendrakumar.
Buy Feng Shui Package for Rs. 151/- only, at
On Tue, 03 Jul 2001, [EMAIL PROTECTED] wrote:
rodrigo [EMAIL PROTECTED] writes:
I need a way to prevent the download of some images in a web page. I
also require that these images be presented within the web page. That
is, I don' want them to be displayed in another window. They should
A Visual Basic and MySQL project. Ouch, not exactly made to work together.
Plus Commercial + Open source, although that doesn't mean much. Really if
you make them work together, I'd LOVE to know how. VB is one of my best real
App programs. Next to C++ of course =)
- Original Message -
On Wed, 4 Jul 2001 00:00, Christian Dechery wrote:
well... I tought of that.
It doesn't work for many reasons:
1 - '*' always has to be the first on the select list
2 - you can't have expressions (max, min, avg) without a group by
clause if you are handling multiple rows
3 - etc. etc..
does the directory exist?
does php or apache have the right to create new files
in /var/www/logs/?
if the file exists, are the permissions set correctly on it?
keep in mind that the user that owns apache usually
has very limited powers
-Original Message-
From: [EMAIL PROTECTED]
perhaps you'll have better luck finding comments
and suggestions on a VB or MySQL list
-Original Message-
From: Veerappan Rajendrakumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 19:30
To: [EMAIL PROTECTED]
Subject: [PHP] Help Meee!!
Hi,
I
there are two answers to this:
1) it cannot be done. as long as that image is on the person's
computer screen, it is physically impossible to prevent that
person from saving the image and using it.
(a simple tap of the print screen will take a screenshot
on windows machines, as someone else
you could also do it this way:
$ofile = file.txt;// original file
$nfile = new.file.txt;// new file
$string = original; // what needs to be replaced
$replace = replacement; // what to replace it with
$data = file($ofile); // original file's data
if that image is viewable on the computer monitor, it's impossible to
protect it if someone wants to steal it bad enough.
True, and I have friends who are professional photographers who actually
*don't* want to protect their images in this way. It is much more profitable
to be able to log who
From: Henrik Hansen [EMAIL PROTECTED]
strange but i heard otherwise, I heard that sorting by domain would
speed up thing because the mailserver allready has a connection to
the forign mailserver, what do you mean by repeated replies?
OK, I got it partly wrong this time. What I supposed to
Is this only for the first shirt, all for every shirt?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 2:25 PM
Subject: [PHP] Free logo shirt for your school, camp or sports team
Free logo shirt for your school, camp or sports team
At 12:07 4/7/2001 +0930, David Robley wrote:
On Wed, 4 Jul 2001 00:00, Christian Dechery wrote:
well... I tought of that.
It doesn't work for many reasons:
1 - '*' always has to be the first on the select list
2 - you can't have expressions (max, min, avg) without a group by
clause if
Here what I get:
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
199.34.58.0 * 255.255.255.0 U 0 00 eth0
127.0.0.0 * 255.0.0.0 U 0 00 lo
default
hey folks,
i've got a script running into my max_execution_time. is there a way to
override the value in php.ini from within a script, rather than increasing
the time in php.ini?
thanks,
mike
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
i've got a script running into my max_execution_time. is there a way to
override the value in php.ini from within a script, rather than increasing
the time in php.ini?
http://php.net/settimelimit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
http://soldc.sun.com/polls/index.jshtml
Someone sent me this. Aha. Another religious war? :-)
-kittiwat
--
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,
rock on, it worked!
thanks y'all, you've opened a whole new window. there turned out to be two
ways to pull it off
ini_set(max_execution_time, $seconds);
set_time_limit($seconds)
again, thanks,
mike
on 7/3/01 11:15 PM, Maxim Maletsky at [EMAIL PROTECTED] wrote:
this is the correct link:
[I realize this is off-topic, I apologise]
Would this have to be done with ODBC? Or are there any easy ways to
link to the MySQL API libs via VB? I'm curious to know too...
-Original Message-
From: Chris Anderson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 10:34 PM
To:
There is only one way to prevent people from steeling images, and that
is to print a logo all over the image:
http://www.agefotostock.com/age/sueco/enim01.asp?foto=29580light=
If you write a javascript that disables the right mouse button, I'ld be
able to steel it anyway cause I'm a Mac user
(sorry for the off-topic still)
http://www.mysql.com/Downloads/Contrib/MYSQLX.EXE
A MySQL ActiveX control that can be accessed from VC++, VB, etc... Uses
the MySQL API instead of ODBC... Sounds pretty versatile.
-Original Message-
From: Chris Anderson [mailto:[EMAIL PROTECTED]]
[message format fixed]
..s.c.o.t.t.. [EMAIL PROTECTED] writes:
I'm trying to send PHP errors into a separate log file. I have the
following in php.ini:
log_errors = On
error_log = /var/www/logs/php-errors.log
After apache restarted the errors are now being sent to apache's
I used to read this list via the newsserver news.php.net. It has been
down for a while: is the news service going to be restored eventually?
Thanks,
--
Arcady Genkin
i=1; while 1, hilb(i); i=i+1; end
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
I used to read this list via the newsserver news.php.net. It has been
down for a while: is the news service going to be restored eventually?
Jim Winstead is currently applying all sorts of magic pixie dust to this
thing. It should be back up and better than ever in the next couple of
days.
Is there any real way to protect against possibility of session
hijacking? I thought of checking IP address on subsequent requests,
but apparently this cannot be relied on because of HTTP proxies etc.
Any wizdom on the matter? (I'm already saving the session files in a
directory protected from
Arcady Genkin wrote:
[message format fixed]
..s.c.o.t.t.. [EMAIL PROTECTED] writes:
I'm trying to send PHP errors into a separate log file. I have the
following in php.ini:
log_errors = On
error_log = /var/www/logs/php-errors.log
After apache restarted the errors are
Does PHP provide no high-level means of iterating over the UNIX
/etc/group file, a la getgrent() C function? The task is to figure
out all groups that a user is in on a system with PHP in _safe mode_
(hence, cannot read from /etc/group directly).
Am I overlooking something?
Many thanks,
--
Hello:
I'm trying to send PHP errors into a separate log file. I have the
following in php.ini:
log_errors = On
error_log = /var/www/logs/php-errors.log
After apache restarted the errors are now being sent to apache's error
log, but not the one I specified. Any ideas?
Thanks,
--
Arcady
101 - 178 of 178 matches
Mail list logo