|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: php-general-digest-help
lists.php.netDate: Mon Sep 03 2001 - 10:04:48 CDT
php-general Digest 3 Sep 2001 15:04:48 -0000 Issue 854
Topics (messages 65681 through 65737):
Is modem compression consistent?
65681 by: Seb Frost
Re: Can PHP and Java work together?
65682 by: Valter Santos
Re: help !
65683 by: Valter Santos
Re: Refreshing php.ini without restart...
65684 by: Valter Santos
65686 by: Valter Santos
Re: The future of PHP
65685 by: Valter Santos
65687 by: Zeev Suraski
65688 by: Valter Santos
Re: literature help
65689 by: Hugh Danaher
http get vars missing?? track vars enabled - HELP
65690 by: news.fbcc.com
65703 by: CC Zona
Re: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working?
65691 by: Bill Carter
65733 by: Peter Clarke
PHP+ Curl (on Unix)
65692 by: John Monfort
65694 by: Jason Murray
65700 by: John Monfort
Mcrypt with PHP on Solaris
65693 by: Han Chuan
CSS with PHP?
65695 by: Ashlyn
65708 by: David Robley
65714 by: Ashlyn
newbie : how to access functions in seperate files???
65696 by: Aaron Moore
65697 by: Don Read
65698 by: Aaron Moore
65699 by: Chris Aitken
65701 by: John Monfort
65702 by: CC Zona
65704 by: Aaron Moore
65706 by: CC Zona
65711 by: Aaron Moore
65724 by: speedboy
Re: hi
65705 by: Morten Winkler Jørgensen
65713 by: * R&zE:
probs with exec, pls pls help
65707 by: taz
65710 by: David Robley
Re: imap?
65709 by: Shi
apache 1.3.20 segfaults with php 4.0.6/midgard/imap
65712 by: Vincent Stoessel
65734 by: Yasuo Ohgaki
Does PHP supports ..BMP images...
65715 by: Girish P
65727 by: Ben-Nes Michael
Re: probs with exec, pls help
65716 by: _lallous
Re: number to word converter
65717 by: _lallous
File Upload Problem
65718 by: Tim Grubb
65721 by: Johan Vikerskog (ECS)
Re: POST without Content-Type?
65719 by: Chris Maresca
Re: potential preg_replace bug; unsure however
65720 by: * R&zE:
Re: If PHP4 existed in 1995 we would of taken over the world by now
65722 by: Maxim Derkachev
65725 by: Bob
Re: Plese help me
65723 by: _lallous
65732 by: hassan el forkani
GD2 and alpha channels
65726 by: Daniel Reichenbach
typerules and german umlauts
65728 by: Otto Brandstätter
EDI with PHP?
65729 by: Jon Farmer
Re: probs with exec, pls help (still)
65730 by: taz
How to call a member from the base class?
65731 by: A. op de Weegh
65737 by: Alexander Deruwe
Error trapping
65735 by: Tim Ward
Build and install PHP 4.0 and Apache 1.3.20 on Digital-Unix 4.0e
65736 by: Krzysztof Kocjan
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
Off-topic I know but hey, it's quiet on the list, and you guys are SO
helpful :-)
I have an HTML file that is 82kb in size. BUT on my 56k dialup it downloads
at 20k/s ~ 4 seconds. This is obviously due to compression.
Winzip compresses it down to 6kb.
Anyway, my question:
Do all modems compress data as well as mine would appear to, or will this be
an insanely slow download for most?
If you want to try it the page is
http://www.raceshoot.com/photos2.php4?shootID=7
- seb
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
attached mail follows:
Of course you can do that!
PHP is server side and javascript is client side...
you can work with javascript within PHP like you work with HTML!
............................................ Valter Santos WEB/WAP Consultant ........
> -----Original Message-----
> From: Jack [mailto:jack
nedcor.com]
> Sent: Friday, August 31, 2001 9:13 AM
> To: php-general
lists.php.net; php-windows
lists.php.net
> Subject: [PHP] Can PHP and Java work together?
>
>
> Dear all
> I want to ask if i want to perform two task after the user had click a
> button,
> 1 is the task perform by PHP
> 2 is the task perform by JavaScript
> is it possible to do so?
>
> I'm actually fresh on JavaScript, before i would call the JavaScript, what
> should i do first or what should i set before though?
>
> Thx
> Jack
> jack
nedcor.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
Nikola,
put your php files in the public html folder of your xitami configuration... something like c:\xitami\public_html or c:\xitami\htdocs
cheers
............................................ Valter Santos WEB/WAP Consultant
> -----Original Message-----
> From: Nikola Veber [mailto:veber
ptt.yu]
> Sent: Friday, August 31, 2001 8:59 AM
> To: php-general
lists.php.net
> Subject: [PHP] help !
> Importance: High
>
>
> I'm sorry I have to ask these stuff, but I havent found anything like
> this in the manual.
> I am running win98 with properly insalled xitami web server with php
> support (I ran installshield). Any way, I cant figure out hov to make
> a smple program with echo command, because I don't know where to
> place the code. I am using opera 5.12 as my default browser, and
> Macromedia Dreamweaver as the html editor. Maybe there is an
> option in Dreamweaver , but I couldn't find it in it's documentation
>
> Please help !
>
> Nikola Veber
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
apache graceful command will restart the server altought it will wait until all web server sessions are finished to restart
............................................ Valter Santos WEB/WAP Consultant
> -----Original Message-----
> From: Gerard Samuel [mailto:trini0
optonline.net]
> Sent: Friday, August 31, 2001 8:48 AM
> To: Raphael Pirker
> Cc: PHP
> Subject: Re: [PHP] Refreshing php.ini without restart...
>
>
> I can only speak for apache...
>
> ==> apachectl graceful
>
>
>
> Raphael Pirker wrote:
> > Hi,
> >
> > i just moved my PHP project from my local PC to the online
> webserver and I
> > will need to do a few adjustments to the server. since the
> server is used by
> > all the employees in the company, there is no chance I can
> reboot it without
> > prior notice... my question: is there any way I can refresh the
> changes I
> > make in php.ini without doing a reboot?
> >
> > TIA,
> >
> > Raphael
> >
> >
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
you really do not to have to rebbot your server... Just restart apache with the graceful action...
apache graceful
............................................ Valter Santos WEB/WAP Consultant
> -----Original Message-----
> From: B. van Ouwerkerk [mailto:bvo
atz.nl]
> Sent: Friday, August 31, 2001 7:08 AM
> To: php-general
lists.php.net
> Subject: Re: [PHP] Refreshing php.ini without restart...
>
>
>
> >i just moved my PHP project from my local PC to the online
> webserver and I
> >will need to do a few adjustments to the server. since the
> server is used by
> >all the employees in the company, there is no chance I can
> reboot it without
> >prior notice... my question: is there any way I can refresh the changes I
> >make in php.ini without doing a reboot?
>
> I assume you're running PHP on a Linux box.. You should be able
> to restart
> apache.. even on NT you could stop and restart the service.
>
> Bye,
>
>
> B.
>
>
> /"\
> \ /
> ASCII Ribbon Campaign X Against HTML Mail and News
> / \
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
> >In this company, they have choose Microsoft stuff because they think it > >is the right choice for what they do. For some things, PHP could be a > >better choice, but it would be hard to convince who is in charge above > >me because PHP does not benefit of a great credibility in the market > >that would help me to make a good case to switch to PHP. > > In the US (and perhaps in the rest of America), that's relatively > true. That's not the case in Europe or the far east. It has a lot to do > with mentality and corporate culture.
I really disagree with you Zeev. I am from Portugal, Europe, and here the idea of "Microsoft is the best" still exist!
Hope this change in the near future! Cheers
............................................ Valter Santos WEB/WAP Consultant
Email : valter.santos
wedo.pt
Mobile: +351 93 9650075
WeDo Consulting - http://www.wedo.pt ............................................
> -----Original Message-----
> From: Zeev Suraski [mailto:zeev
zend.com]
> Sent: Friday, August 31, 2001 1:54 AM
> To: mlemos
acm.org
> Cc: php-general
lists.php.net
> Subject: Re: [PHP] The future of PHP
>
>
> At 01:40 31-08-01, Manuel Lemos wrote:
> >Whoever hears you may even believe that Microsoft products and
> >supporting sites are successful because they don't have flaws. Sorry,
> >but honestely this sounds like an excuse for not doing it.
>
> Microsoft chooses which sites it links from microsoft.com *very*
> carefully
> - a very small select number of sites gets connected to it, and usually
> only for specific purposes (e.g., a specific article). If you draw a
> comparison to the PHP world, you actually proved my point.
>
> >The problem is not PHP-GUI capabilities being able to compete with other
> >languages. The problem is that you seem to be willing to omit them when
> >you present PHP as if it is something you don't want PHP be known for.
>
> I actually mention PHP-GTK in my sessions. I mention it as an anecdote,
> much like I mention some of the other interesting modules and projects in
> PHP (e.g., PEAR). I'm really not sure why people think I'm
> trying to bury
> PHP-GTK. Just because I don't see PHP-GTK as a main course of
> PHP, doesn't
> mean I don't think it's an important and useful project.
>
> >In this company, they have choose Microsoft stuff because they think it
> >is the right choice for what they do. For some things, PHP could be a
> >better choice, but it would be hard to convince who is in charge above
> >me because PHP does not benefit of a great credibility in the market
> >that would help me to make a good case to switch to PHP.
>
> In the US (and perhaps in the rest of America), that's relatively
> true. That's not the case in Europe or the far east. It has a lot to do
> with mentality and corporate culture.
>
> > This is my most
> >important point: to make PHP a credible well known solution in all
> >markets that it could be used with advantage.
>
> I don't think you'd find anybody who would argue with you about that.
>
> Zeev
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
At 03:11 03-09-01, Valter Santos wrote:
> > >In this company, they have choose Microsoft stuff because they think it > > >is the right choice for what they do. For some things, PHP could be a > > >better choice, but it would be hard to convince who is in charge above > > >me because PHP does not benefit of a great credibility in the market > > >that would help me to make a good case to switch to PHP. > > > > In the US (and perhaps in the rest of America), that's relatively > > true. That's not the case in Europe or the far east. It has a lot to do > > with mentality and corporate culture. > > >I really disagree with you Zeev. I am from Portugal, Europe, and here the >idea >of "Microsoft is the best" still exist!
It will continue to exist for a long while in the minds of many people. That's just the way things are - you never get anywhere near 100% of the people supporting you. The question is whether in Portugal, you feel that going with a non-Microsoft solution means a complete up-hill battle or not.
I can tell you that in general, companies in Europe appears to be more open to open-source solutions much more than ones in the US. Of course, Europe is comprised of lots of different countries, and each country has lots of different companies, so your mileage may vary.
Zeev
attached mail follows:
Zeev, I agree with you!
............................................ Valter Santos WEB/WAP Consultant
> -----Original Message-----
> From: Zeev Suraski [mailto:zeev
zend.com]
> Sent: Monday, September 03, 2001 1:21 AM
> To: Valter Santos
> Cc: mlemos
acm.org; php-general
lists.php.net
> Subject: RE: [PHP] The future of PHP
>
>
> At 03:11 03-09-01, Valter Santos wrote:
>
> > > >In this company, they have choose Microsoft stuff because
> they think it
> > > >is the right choice for what they do. For some things, PHP could be a
> > > >better choice, but it would be hard to convince who is in
> charge above
> > > >me because PHP does not benefit of a great credibility in the market
> > > >that would help me to make a good case to switch to PHP.
> > >
> > > In the US (and perhaps in the rest of America), that's relatively
> > > true. That's not the case in Europe or the far east. It has
> a lot to do
> > > with mentality and corporate culture.
> >
> >
> >I really disagree with you Zeev. I am from Portugal, Europe, and here the
> >idea
> >of "Microsoft is the best" still exist!
>
> It will continue to exist for a long while in the minds of many
> people. That's just the way things are - you never get anywhere
> near 100%
> of the people supporting you. The question is whether in Portugal, you
> feel that going with a non-Microsoft solution means a complete up-hill
> battle or not.
>
> I can tell you that in general, companies in Europe appears to be
> more open
> to open-source solutions much more than ones in the US. Of
> course, Europe
> is comprised of lots of different countries, and each country has lots of
> different companies, so your mileage may vary.
>
> Zeev
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
I got the SAMS teach yourself book. It's a beginners level book and I've been able to complete a couple of moderate projects based upon the first 12 chapters. With the book, the online php manual, and the help from the experienced people on this mailing list you should do alright. I'm told, when I get a little more advanced, that the Core PHP book will be more helpful.
Hope this helps,
Hugh
----- Original Message -----
From: Nikola Veber <veber
ptt.yu>
To: php forum <php-general
lists.php.net>
Sent: Sunday, September 02, 2001 8:38 AM
Subject: [PHP] literature help
> Hi
>
> I wish to learn php, but I was wondering if there is a better
esource( something
> like a guide) besides the php manual on php.net ?
>
> Thanx
> Nikola
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
Hi,
I'm about ready to go insane over this one. I have the following link.
http://www.wayneswoodworks.net/test/samples.php3?&key=1
When I get into samples.php3 I do:
$record = $HTTP_GET_VARS["key"];
echo "record=$record<br>";
And the record variable is blank/missing. I have other pages that are passing variables in the same website and it works fine. "Track vars" is enabled. I know I must be missing something but I sure can't figure out what/where. My hosting company has PHP/3.0.13.
Any help would be SINCERELY appreciated! I have been staring at this for 30 minutes.
Thanks in advance! Andre
attached mail follows:
In article <20010903045620.50826.qmail
pb1.pair.com>,
AndreBajew
KatyTexas.Com (News.Fbcc.Com) wrote:
> http://www.wayneswoodworks.net/test/samples.php3?&key=1 > > When I get into samples.php3 I do: > > $record = $HTTP_GET_VARS["key"]; > > echo "record=$record<br>"; > > And the record variable is blank/missing. I have other pages that are > passing variables in the same website and it works fine. "Track vars" is > enabled. I know I must be missing something but I sure can't figure out
(Assuming that you're not trying to access global variables from inside a function...)
Huh. Have you tried calling phpinfo() from that script anyway? Maybe a global configuration setting is getting overridden by a local setting in that one script...?
-- CC
attached mail follows:
Stefan Siefert wrote: > > Hi Bill, > > please tell us how you configured php and apache (e.g. PHP > with --with-apxs=/usr/local/apache/bin/apxs) also be sure to have apache > enabled for DSO ( --enable-module=so or --enable-modul=most)
Sorry but I post email from Win98 and I don't have my compile line for apache and php available to paste in here but I followed the sketchy instructions in the README docs and my compiles completed without errors.
I did compile apache with apxs and did --enable-modul=most. When I do "httpd -l" I see a ton of modules listed, I do have shared modules enabled. And I do have a libphp4.so file which I have configured apache to attempt to load. My problem is that the module does not load. I don't see how it can now that I have looked at the sources, there is no magic cookie. Maybe I'm wrong.
My question is simple. Have you downloaded, compiled, and integrated the most recent versions of Apache and PHP and made them work? Not previous versions. I've seen several people have problems with doing this in the newsgroups dating from late 2000. Someone please wipe out your apache/php installation and attempt to reinstall the most recent versions according to the instructions. I'm starting to think nobody has actually tested this...
attached mail follows:
> > My question is simple. Have you downloaded, compiled, and integrated > the most recent versions of Apache and PHP and made them work? Not > previous versions. I've seen several people have problems with doing > this in the newsgroups dating from late 2000. Someone please wipe > out your apache/php installation and attempt to reinstall the most > recent versions according to the instructions. I'm starting to think > nobody has actually tested this...
I've recently installed: Red Hat Linux release 7.1 (Seawolf), PHP 4.0.6 Apache, 1.3.20 DSO from scratch with no problems. also: Red Hat Linux release 6.1 (Cartman), PHP 4.0.6 Apache, 1.3.20 DSO from scratch with no problems.
Just so you know it can work.
Peter
attached mail follows:
Hello everyone!
I'm a little lost.
As I understand it, PHP 4 has CURL support. 1) is enabling the curl extension a substitute for installing the curl package? In other words, if I enable the extension, do I still need to instal the CURL package?
2) Can I install curl without ROOT access? If so, then please tell me how. I've search the online manual, but didn't notice the answer. I'm still searching.
3) Does FOPEN() NOT support HTTPS, or do I need to do something special.
4) How else can I innitiate a HTTPS connection on a *NIX system? Is Socket the only solution?
Please help.
-John
attached mail follows:
> As I understand it, PHP 4 has CURL support. > 1) is enabling the curl extension a substitute for installing the curl > package? > In other words, if I enable the extension, do I still need to instal > the CURL package?
You need to install CURL, and tell PHP where it is when you compile it, in order to use the extensions.
> 2) Can I install curl without ROOT access?
Probably, but I wouldn't know...
> 3) Does FOPEN() NOT support HTTPS, or do I need to do something > special.
Probably not. As I understand it, you need to install some kind of patch to your system to allow you to open URLs with fopen(). That's unlikely to support encrypted transactions (https).
> 4) How else can I innitiate a HTTPS connection on a *NIX system? > Is Socket the only solution?
CURL works nicely... I doubt you'd get far with sockets since you would have to encrypt and decrypt on your own.
Jasoon
-- Jason Murray jasonmmelbourneit.com.au Web Developer, Melbourne IT "Work now, freak later!"
attached mail follows:
Thanks, Jason!
__________John Monfort_________________ _+-----------------------------------+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___________________________________+-
On Mon, 3 Sep 2001, Jason Murray wrote:
> > As I understand it, PHP 4 has CURL support.
> > 1) is enabling the curl extension a substitute for installing the curl
> > package?
> > In other words, if I enable the extension, do I still need to instal
> > the CURL package?
>
> You need to install CURL, and tell PHP where it is when you compile
> it, in order to use the extensions.
>
> > 2) Can I install curl without ROOT access?
>
> Probably, but I wouldn't know...
>
> > 3) Does FOPEN() NOT support HTTPS, or do I need to do something
> > special.
>
> Probably not. As I understand it, you need to install some kind
> of patch to your system to allow you to open URLs with fopen().
> That's unlikely to support encrypted transactions (https).
>
> > 4) How else can I innitiate a HTTPS connection on a *NIX system?
> > Is Socket the only solution?
>
> CURL works nicely... I doubt you'd get far with sockets since you
> would have to encrypt and decrypt on your own.
>
> Jasoon
>
> --
> Jason Murray
> jasonm
melbourneit.com.au
> Web Developer, Melbourne IT
> "Work now, freak later!"
>
attached mail follows:
Hi,
From the postings, I understand that many people has problems configuring and compiling PHP4 with MCrypt. For those who succeed, could you please advise which version of PHP works with which version of mcrypt?
Thanks.
regards Han Chuan
attached mail follows:
I am using a downloaded PHP sitesearch script and can not get it to read the page contents past the style sheet..
If I search a text file it will give me the contents exactly as I wish, but if I search a html document it only gives me the page title and site links..
The page in question is at http://www.themysticmoon.com/booksfiles/search.php and if you type in conway it will show you exactly what I mean. First listing is html page, second is text... I need it to look like second listing..
In the readme file it said to "When using CSS and Javascript make sure you enclose it in comments or place it in an external file, otherwise the indexer will index it. "
This is way over the top of my head...I am using a linked stylesheet for the whole site.. Any ideas gladly welcomed.. Thanks Ashlyn
attached mail follows:
On Mon, 3 Sep 2001 13:18, Ashlyn wrote: > I am using a downloaded PHP sitesearch script and can not get it to > read the page contents past the style sheet.. > > If I search a text file it will give me the contents exactly as I wish, > but if I search a html document it only gives me the page title and > site links.. > > The page in question is at > http://www.themysticmoon.com/booksfiles/search.php and if you type in > conway it will show you exactly what I mean. First listing is html > page, second is text... I need it to look like second listing.. > > In the readme file it said to > "When using CSS and Javascript make sure you enclose it in comments or > place it in an external file, otherwise the indexer will index it. " > > This is way over the top of my head...I am using a linked stylesheet > for the whole site.. > Any ideas gladly welcomed.. > Thanks > Ashlyn
Well, without knowing more about your search engine, in your page http://www.themysticmoon.com/booksfiles/celtic.html
try referencing your stylesheet without a full URL. That is, use
<LINK REL=stylesheet HREF="/sitestyle.css" TYPE="text/css">
Oh, and I think your stylesheet has a specific font referenced which doesn't exist on my machine. Somehow I don't think the results are as you would like them to be :-)
-- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIAClosed Hearing for the Caption Impaired...
attached mail follows:
> Well, without knowing more about your search engine, in your page > http://www.themysticmoon.com/booksfiles/celtic.html > > try referencing your stylesheet without a full URL. That is, use > > <LINK REL=stylesheet HREF="/sitestyle.css" TYPE="text/css"> > > Oh, and I think your stylesheet has a specific font referenced which > doesn't exist on my machine. Somehow I don't think the results are as you > would like them to be :-) > > -- Thanks for your reply.. I tried it and it still doesn't work... (I'm very new at this!) The script I am using is named "Sitesearch" and it works fine except that it shows the page title and links instead of the page content..
I can send you a copy of the actual script if you like? search.php Thanks again for your help..
Ashlyn
attached mail follows:
ok i have this at the top of my page:
include("/www/data/vi2/root/layout/functions.php"); include("/www/data/vi2/root/layout/config.php"); require("/www/data/vi2/root/layout/init.php");
but when I call one of the functions included in functions.php i get a message saying :
Fatal error: Call to undefined function: get_total() in /www/data//root/test.php on line 7
how do i get it to know that the function exists?
Thanks for your help and time.
attached mail follows:
On 03-Sep-2001 Aaron Moore wrote: > ok i have this at the top of my page: > > include("/www/data/vi2/root/layout/functions.php"); > include("/www/data/vi2/root/layout/config.php"); > require("/www/data/vi2/root/layout/init.php"); > > but when I call one of the functions included in functions.php i get a > message saying : > > Fatal error: Call to undefined function: get_total() in > /www/data//root/test.php on line 7 > > > how do i get it to know that the function exists? > if (function_exists('get_total')) echo 'got'; } else { echo 'not'; }
Regards,
-- Don Read dreadtexas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.
attached mail follows:
Its obviously not finding it... my question is why the includes don't work???
Thanks
Aaron Moore
"Don Read" <dread
texas.net> wrote in message
news:XFMail.20010902233959.dread
texas.net...
> On 03-Sep-2001 Aaron Moore wrote:
> > ok i have this at the top of my page:
> >
> > include("/www/data/vi2/root/layout/functions.php");
> > include("/www/data/vi2/root/layout/config.php");
> > require("/www/data/vi2/root/layout/init.php");
> >
> > but when I call one of the functions included in functions.php i get a
> > message saying :
> >
> > Fatal error: Call to undefined function: get_total() in
> > /www/data//root/test.php on line 7
> >
> >
> > how do i get it to know that the function exists?
> >
>
> if (function_exists('get_total'))
> echo 'got';
> } else {
> echo 'not';
> }
>
> Regards,
> --
> Don Read dread
texas.net
> -- It's always darkest before the dawn. So if you are going to
> steal the neighbor's newspaper, that's the time to do it.
attached mail follows:
At 10:15 PM 2/09/2001, Aaron Moore wrote: >Its obviously not finding it... my question is why the includes don't >work??? > >Thanks
Are you 100% positive that the get_total() function is defined in your functions.php file ?
Check it, make sure there is no typos because this seems synonymous with a function not being in an included file anywhere, or having a typo in the function name defined.
Chris
--
Chris Aitken - Administration/Database Designer - IDEAL Internet
email: chris
ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890
__-----------------------------------------__
*** Big Brother ***
It just shows that the dull will rule the world. And we will be watching it.
attached mail follows:
A few things to consider:
1) double check the include path. 2) if you're not the appropriate file is being included, then user REQUIRE, as that will stop the program.
3) Variable Scope Your function variables may be out of scope. Double check them, or make them global.
4) If you include a file from within a function, then the scope of that file is only WITHIN that function. {something to that line...}
double check your variable scopes.
hope that helped.
-john
attached mail follows:
In article <20010903081816.11051.qmail
pb1.pair.com>,
vi2
vi2.com (Aaron Moore) wrote:
> Its obviously not finding it... my question is why the includes don't > work???
Make sure you have error_reporting set to E_ALL and display_errors turned on, then try running the script again.
-- CC
attached mail follows:
Heres what I have so far. I've put all the fiels into one folder, and i know the paths are correct since they don't give an include error. The error resides in line 6 of test.php where i try to call a function which is in function.php
the test.php file : _______________________________________ <?php require("functions.php"); require("config.php"); require("init.php");
$id = get_total("news");
$row = get_newspost($id);
$row["news_subject"]
?> _______________________________________
function.php file : _______________________________________ <php
// Returns and array to the fields of a newspost of $id function get_newspost($id) { $sql = "SELECT news_id, news_subject, news_news, news_date, news_image, news_link, news_link_style FROM news WHERE news_id = '$id'";
if(!$result = mysql_query($sql, $db)) return("ERROR"); if(!$row = mysql_fetch_array($result)) return("ERROR");
return $row; }
// Returns the total number of $type posts function get_total($type) { $sql = "SELECT count(*) AS total FROM $type";
if(!$result = mysql_query($sql, $db)) return("ERROR");
if(!$myrow = mysql_fetch_array($result)) return("0");
return($myrow[total]); } ?> _______________________________________
init.php file _______________________________________ <?php
global $db;
// Connect to database and create $db tag
if(!$db =
mysql_connect("$dbhost", "$dbuser", "$dbpasswd"))
die('<font size=+1>An Error Occured</font><hr>phpBB was unable to connect
to the database. <BR>Please check $dbhost, $dbuser, and $dbpasswd in
config.php.');
if(!
mysql_select_db("$dbname",$db))
die("<font size=+1>An Error Occured</font><hr>phpBB was unable to find the
database <b>$dbname</b> on your MySQL server. <br>Please make sure you ran
the phpBB installation script.");
?> _______________________________________
config.php file (info replaced with ### for security sorry): _______________________________________
<?php
// Database Information $dbname = "######"; $dbhost = "######"; $dbuser = "######"; $dbpasswd = "######";
?> _______________________________________
attached mail follows:
In article <20010903092205.39397.qmail
pb1.pair.com>,
vi2
vi2.com (Aaron Moore) wrote:
> resides in line 6 of test.php where i try to call a function which is in > function.php > > the test.php file : > _______________________________________ > <?php > require("functions.php");
<snip>
> function.php file :
Umm, so is the file called "function.php", or is it "functions.php"? 'Cuz it's the latter that you've attempted to include...
-- CC
attached mail follows:
its functions.php
as i've said my include works... because i'm able to echo from it... i just
can't access the functions.
"Cc Zona" <cczona
nospam.invalid> wrote in message
news:20010903093339.44698.qmail
pb1.pair.com...
> In article <20010903092205.39397.qmail
pb1.pair.com>,
> vi2
vi2.com (Aaron Moore) wrote:
>
> > resides in line 6 of test.php where i try to call a function which is in
> > function.php
> >
> > the test.php file :
> > _______________________________________
> > <?php
> > require("functions.php");
>
> <snip>
>
> > function.php file :
>
> Umm, so is the file called "function.php", or is it "functions.php"? 'Cuz
> it's the latter that you've attempted to include...
>
> --
> CC
attached mail follows:
What do people do with required files? I have a file called config.php which contains all my functions. It is 329526 bytes. Should I split this up into other files? I don't think so, but what do others think?
attached mail follows:
If you want to make a fixed size of your <SELECET ...> in IE you can do it like this:
<SELECT NAME="aname" STYLE="width : 250px"> <OPTION VALUE="a">a <OPTION VALUE="b">b <OPTION VALUE="c">c <OPTION VALUE="d">d </SELECT>
or use 100% to make the box be as wide as the container it is within.
Kind regards, Morten Winkler
attached mail follows:
<Reply>
Hey there,
This is the solution for setting the width of your select-box (which I think you want to do):
<SELECT width="200" style="width: 200px;"> ---options here--- </SELECT>
The width-attribute sets the width in NS, while the style-attribute sets the width in IE. Don't you just love this kind of compatibility?!?! Anyway... using both attributes makes sure the select-box is shown with the same width in both browsers.
</Reply>
--* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze
datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««
attached mail follows:
Should this work, if not, why not?
<?php exec("mysqlimport -u root -ppasword test one.txt") ?>
the import works fine from the command line exec("ls") works too
TIA Terry
attached mail follows:
On Mon, 3 Sep 2001 17:00, taz wrote: > Should this work, if not, why not? > > <?php exec("mysqlimport -u root -ppasword test one.txt") ?> > > the import works fine from the command line > exec("ls") works too > > > TIA > Terry
Probably the user that your webserver, and hence your php script, runs as does not have permissions to execute mysqlimport.
-- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIASelf-made man: A horrible example of unskilled labor.
attached mail follows:
it still dosen't work????????????????
Help
Shimon
"Richard Lynch" <ceo
l-i-e.com> wrote in message
news:00f701c133ef$b52b5200$6401a8c0
Lynchux100...
> You're missing a closing ) on the final print() statement...
>
> --
> WARNING richard
zend.com address is an endangered species -- Use
> ceo
l-i-e.com
> Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: Shi <shimon
oek.dk>
> Newsgroups: php.general
> To: <php-general
lists.php.net>
> Sent: Sunday, September 02, 2001 11:01 AM
> Subject: imap?
>
>
> > I'm using imap_header to get all the headers in a newsgroup on a
> NNTP-server
> > like this
> >
> > if($nntp=imap_open("{sunsite.auc.dk/nntp:119}dk.admin","",""))
> > {
> > for($i=1;$i<5;$i++)
> > {
> > $header = imap_header($nntp, $i);
> > echo "MESSAGE ID: " .
> > HTMLSpecialChars($header->message_id) . "<BR>\n";
> > echo "SUBJECT:<a href='visInd.php'>" .
> > $header->Subject . "<br>\n</a>";
> >
> > echo "SENDER ADDRESS: " .
> > HTMLSpecialChars($header->senderaddress) . "<BR>\n";
> > echo "REPLY-TO: " .
> > HTMLSpecialChars($header->reply_toaddress) . "<BR>\n";
> > print("DATE: $header->date<br>\n");
> > echo "REFERENCES: " . HTMLSpecialChars($header->references)
.
> > "<BR>\n";
> > print("XREF: " . $header->xref) . "<BR>";
> > }
> > }
> >
> > But I can't get it to write the XREF on the screen. Every thing else
> works.
> >
> > I hope that you can help me
> > Thanks
> >
> > Shimon
> >
> >
>
attached mail follows:
I am trying to use php 4.0.6 with imap. midgard and mysql extentions compiled in. When I start apache I get information in the logs about many child proccesses dying. Yet I have plenty memory left and everthing else seems OK. Not a lot of traffic here at 3.27 am.
I ran gdb and this is what I got:
(gdb) run -X Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault. 0x2ac57f51 in ?? () from /usr/local/apache/libexec/libphp4.so (gdb) bt #0 0x2ac57f51 in ?? () from /usr/local/apache/libexec/libphp4.so #1 0x2ac6fee6 in ?? () from /usr/local/apache/libexec/libphp4.so #2 0x2ac6f0ca in ?? () from /usr/local/apache/libexec/libphp4.so #3 0x2ac6e99d in ?? () from /usr/local/apache/libexec/libphp4.so #4 0x2afaac03 in ?? () from /usr/local/apache/libexec/libphp4.so #5 0x2af80985 in ?? () from /usr/local/apache/libexec/libphp4.so #6 0x2af838ca in ?? () from /usr/local/apache/libexec/libphp4.so #7 0x2af7fafd in ?? () from /usr/local/apache/libexec/libphp4.so #8 0x2af908b6 in ?? () from /usr/local/apache/libexec/libphp4.so #9 0x2af8e5a6 in ?? () from /usr/local/apache/libexec/libphp4.so #10 0x8071cce in run_cleanups () #11 0x80704fd in ap_clear_pool () #12 0x8070571 in ap_destroy_pool () #13 0x80704ec in ap_clear_pool () #14 0x807fcff in child_main () #15 0x80802bc in make_child () #16 0x8080419 in startup_children () #17 0x8080a56 in standalone_main () #18 0x80811e3 in main () #19 0x2ab649cb in __libc_start_main (main=0x8080e9c <main>, argc=2, argv=0x7ffffaf4, init=0x804ef6c <_init>, fini=0x80b59ec <_fini>, rtld_fini=0x2aab5e60 <_dl_fini>, stack_end=0x7ffffaec) at ../sysdeps/generic/libc-start.c:92
any clue bricks would be helpful. System in an intel 800mhz redhat 6.2 server with 256M
configure line was :
./configure --disable-xml --with-mysql=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-midgard=/usr/local --with-imap
Thanks
-- Vincent Stoessel vincentxaymaca.com Java Linux Apache Mysql Php (JLAMP) Engineer (301) 362-1750 Mobile (410) 419-8588
attached mail follows:
Vincent Stoessel wrote:
> I am trying to use php 4.0.6 with imap. midgard and mysql > extentions compiled in. > When I start apache I get information in the logs about many child > proccesses dying. Yet I have plenty memory left and everthing else seems > OK. Not a lot of traffic here at 3.27 am. > > I ran gdb and this is what I got:
You need to build PHP with debug option ("--enable-debug" when you configure)
Anyway, search bug report see if this problem is reported (hopefully it may be fixed) If this problem is not reported, get backtrace from debug enabled PHP core file and report this as a bug.
Yasuo Ohgaki
attached mail follows:
HI , PHP is not able to load bmp images... is there any setting to be done in ini file??? TIA Girish
attached mail follows:
What do you want to do to the BMP Images ?
----- Original Message -----
From: "Girish P" <girishp
aztec.soft.net>
To: <php-general
lists.php.net>
Sent: Saturday, September 01, 2001 10:55 AM
Subject: [PHP] Does PHP supports ..BMP images...
HI , PHP is not able to load bmp images... is there any setting to be done in ini file??? TIA Girish
-------------------------- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-4-6991122 http://sites.canaan.co.il --------------------------
attached mail follows:
should'nt I guess.... I should at least specify full path of mysqlimport as in: exec("/usr/local/mysql/bin/mysqlimport -u -p dada dasda")
"Taz" <terry
tazwebservices.co.uk> wrote in message
news:002801c133f3$1e2204e0$0feafea9
reynolds...
Should this work, if not, why not
<?php exec("mysqlimport -u root -ppasword test one.txt") ?>
the import works fine from the command line
TIA Terry
attached mail follows:
What was the solution?
"Carry Ian" <carry
bharatnet.com> wrote in message
news:php.general-65592
news.php.net...
> thanks to everybody who responded.
>
>
> carry
>
> Carry Ian
> e-mail: carry
bharatnet.com
>
>
>
> --------------------------------------------------------------------------
------------------------
> Get real solutions to all your problems.
>
> http://www.salahkarindia.com - India's first advisory Portal
>
> Your friend, advisor, healer,companion!!!
>
> Register now to get free advice on all your problems.
>
> --------------------------------------------------------------------------
------------------------
>
attached mail follows:
I have a problem uploading files that just started the other day. I have been using the same script for 8 mos.
Site is hosted at a hosting facility. Anyone outside of our company router can still upload fine. From our office noone can upload. Only 8097 bytes get sent. Regular access to the web has not been affected. I can still do file uploads to Hotmail, Yahoomail etc... but they use a CGI.
The very odd thing is that if I go to a computer that has not yet uploaded a file I can send one but then cannot send again. I have tried IE,Netscape and used PC, Mac and Linux.
Any Ideas?
attached mail follows:
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:tim.grubb
pbschoools.com]
Sent: den 3 september 2001 09:55
To: php-general
lists.php.net
Subject: [PHP] File Upload Problem
I have a problem uploading files that just started the other day. I have been using the same script for 8 mos.
Site is hosted at a hosting facility. Anyone outside of our company router can still upload fine. From our office noone can upload. Only 8097 bytes get sent. Regular access to the web has not been affected. I can still do file uploads to Hotmail, Yahoomail etc... but they use a CGI.
The very odd thing is that if I go to a computer that has not yet uploaded a file I can send one but then cannot send again. I have tried IE,Netscape and used PC, Mac and Linux.
Any Ideas?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribelists.php.net For additional commands, e-mail: php-general-help
lists.php.net To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
After struggling with this for a bit, I determined that the problem was not in fact with PHP but with Apache.
I wound up writing a mod_perl Apache module which took an incoming request to a particular location and parsed out the stream to find the POST content, and inserted it into the HTTP header.
That allowed PHP to get access to it...
Hope this helps someone down the line.
Chris.
On Sat, 25 Aug 2001, Rasmus Lerdorf wrote:
> Well, first of all, you are using an ancient version of PHP. That message > was changed from a fatal error to a warning over a year ago. > > And if you really want to have PHP accept non-typed POST data, it's an > obvious one-line change in main/SAPI.c > > -Rasmus > > On Sat, 25 Aug 2001, Chris Maresca wrote: > > > > > All, > > > > I've been coding a PHP page that listens for a connection from an embedded > > device (a piece of hardware) that sends a POST query to Apache (and to my > > PHP pages...). > > > > I've having a problem that I can't seem to solve. The embedded > > application does not set a Content-Type header on the POST, so PHP fails > > with the following error: > > > > -- > > HTTP/1.1 200 OK > > Date: Sun, 26 Aug 2001 05:26:14 GMT > > Server: Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/4.0.2 > > Connection: close > > Content-Type: text/html > > > > <br> > > <b>Fatal error</b>: No content-type in POST request in <b>Unknown</b> on > > line <b>0</b><br> > > Connection closed by foreign host. > > -- > > > > The connection that the embedded system makes looks like this: > > > > -- > > POST http://host.mysite.foo/dir/phppage HTTP/1.0 > > User-Agent: ImEmbedded > > Host: host.mysite.foo > > Content-Length: 123 > > Pragma: no-cache > > Cookie: embeddedsession=myverylongsessionvariablegeneratedbythehardware > > > > <?xml version="1.0"?> > > -- > > And below is some XML stuff... > > > > I've tried setting 'Content-Type' in $HTTP_POST_VARS, using mod_rewrite in > > Apache to change the content-type (with the -T flag) and looked at all the > > options in php.ini. I'm using PHP 4.0.2 w/Apache 1.3.12 (if you couldn't > > tell from the sig above...) > > > > Nothing works correctly. The mod_rewrite trick would work, but it makes > > everthing to that URL text/xml, including the PHP script, which no longer > > executes. I look on the mailing lists here and on usenet, but I don't see > > a good solution... > > > > Anyone have any ideas? At this point, I'm thinking of re-writing my code > > in Perl or Python since there seems to be no solution to this problem. > > > > Note that it's PHP that rejects the request, not Apache. I don't see why > > a missing content-type should do this. It should just default to > > text/plain or something. > > > > Anyway, thanks for any help. > > > > Chris. > > > > -- > > chris maresca > > internet systems architect -- www.chrismaresca.com > > > > "linux, only up 138 days, because california has flaky power... " > > > > > > > > >
--
chris maresca
internet systems architect -- www.chrismaresca.com
"linux, only up 138 days, because california has flaky power... "
attached mail follows:
<Original message>
From: alvarez
sto13.st-oneline.de <alvarez
sto13.st-oneline.de>
Date: Sat, Sep 01, 2001 at 08:55:15PM +0200
Message-ID: <200109011855.UAA14431
sto13.st-oneline.de>
Subject: [PHP] potential preg_replace bug; unsure however
> I built a Perl-style regex to match function calls in C-like
> languages where $name is the functions name. The functions
> are assumed to accept a single string as parameter.
>
> Here it is.
>
> /$name\s*\(\s*\"(.*)\"\s*\)\s*;/s
>
> The expression is successfully preg_match'ed on a stream
> of code, but when preg_replace is passed the same expression
> it does not return. The piece of code I tested this with was
> fairly small so that an increased demand of computation time
> is unlikely be the reason for this behaviour.
>
> Substituting the subexpression (.*) by ([^\"]*) remedies this.
>
> The version of the PHP install is 4.05.
>
>
> Any ideas?
>
>
> D. Alvarez Arribas <alvarez
st-oneline.net>
</Original message>
<Reply>
Well... Don't think this is a bug. Regexps usualy are greedy. They try to take as much code/text as they can get. And well... '.*' can take up about everything it encounters. Actually (IMO) you should try to avoid using '.*'. What you mentioned "Substituting the subexpression (.*) by ([^\"]*) remedies this." is a much better solution. It's what you're looking for in the first place. I mean... you're looking for some text that goes 'till the ". Why would you want to use '.*' then?
</Reply>
--* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze
datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««
attached mail follows:
Hello Bob,
If someone's grandmother had balls, she would have been someone's grandfather (Russian idiom).
Do you really think that the development language a company choose will make the company successful ??
Saturday, September 01, 2001, 7:55:19 AM, you wrote:
B> If PHP4 existed in 1995 then http://www.squirrelmail.org could of been B> hotmail.com B> If PHP4 existed in 1995 then http://phpwebsite.appstate.edu could of B> been geocities.com B> If PHP4 existed in 1995 then http://www.phpauction.org could of been B> ebay.com B> If PHP4 existed in 1995 then http://www.audiogalaxy.com could of been B> napster.com
-- Best regards, Maxim Derkachev mailto:max.derkachevbooks.ru System administrator & programmer, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 www.books.ru, www.symbol.ru
attached mail follows:
Hi Maxim
People have been talking about the future of php and I think that it is the functionality of the language that will propel php as the defacto language for websites. If in 1995 you tell a project manager that I can program hotmail.com in a couple weeks and that it would be a lot faster then cgi then they would of been forced to use it and all the marketing would not matter. I think first to market is important and php needs to be pushing the boundaries even more. I personally think php should be directing their efforts to something like this site --> http://karaoke.getmusic.com/start.php It uses flash and java to record your voice and a song together and let's you play it back and send to a friend. Now that's cool.
Maxim Derkachev wrote:
> Hello Bob,
>
> If someone's grandmother had balls, she would have been someone's
> grandfather (Russian idiom).
>
> Do you really think that the development language a company choose
> will make the company successful ??
>
> Saturday, September 01, 2001, 7:55:19 AM, you wrote:
>
> B> If PHP4 existed in 1995 then http://www.squirrelmail.org could of been
> B> hotmail.com
> B> If PHP4 existed in 1995 then http://phpwebsite.appstate.edu could of
> B> been geocities.com
> B> If PHP4 existed in 1995 then http://www.phpauction.org could of been
> B> ebay.com
> B> If PHP4 existed in 1995 then http://www.audiogalaxy.com could of been
> B> napster.com
>
> --
> Best regards,
> Maxim Derkachev mailto:max.derkachev
books.ru
> System administrator & programmer,
> Symbol-Plus Publishing Ltd.
> phone: +7 (812) 324-53-53
> www.books.ru, www.symbol.ru
_________________________________________________________
Do You Yahoo!?
Get your free
yahoo.com address at http://mail.yahoo.com
attached mail follows:
are you sure that php_oci.dll is located in c:/php/extentions/ folder? are you sure you have that file?
"Soawarat Weangkawe" <soawarat
hotmail.com> wrote in message
news:F3kiChiwV6ASUc9LNYb0000466b
hotmail.com...
> We have installed PHP4.06 manually to use it with IIS 5 on win2000server
>
> We did everything the installation guide told us to do.
> We uncommented some options in php.ini including
>
> extension=php_oci8.dll
>
> Afer we stopped and started the Web server every dll was loaded except
> php_oci.dll
>
> "unable to load dynamic library 'C:/PHP/extentions/php_oci.dll'-The
> specified procedure could not be found."
>
> What should I do?
> Your help will be very appreciated
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
attached mail follows:
hi just a suggestion as itworked for me,
try to edit the dll in notepad and do a string search for "dll" without the quotes make sure all the dlls you find exist in your windows/system folder that kind of error usually happens when there are some dlls referenced in the extension;
www.php4win.de provide everything that is needed
regards
At 11:20 03/09/01, _lallous wrote:
>are you sure that php_oci.dll is located in c:/php/extentions/ folder?
>are you sure you have that file?
>
>"Soawarat Weangkawe" <soawarat
hotmail.com> wrote in message
>news:F3kiChiwV6ASUc9LNYb0000466b
hotmail.com...
> > We have installed PHP4.06 manually to use it with IIS 5 on win2000server
> >
> > We did everything the installation guide told us to do.
> > We uncommented some options in php.ini including
> >
> > extension=php_oci8.dll
> >
> > Afer we stopped and started the Web server every dll was loaded except
> > php_oci.dll
> >
> > "unable to load dynamic library 'C:/PHP/extentions/php_oci.dll'-The
> > specified procedure could not be found."
> >
> > What should I do?
> > Your help will be very appreciated
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> >
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
>For additional commands, e-mail: php-general-help
lists.php.net
>To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hy,
i would like to use the alpha channel funtionality in GD2 to put a jpeg into a PNG (24bit) with alpha channel. As i'm a total newbie with GD, i'd love to see some examples. Can somebody shed a light on this?
Greetings from Germany, Daniel
attached mail follows:
Hello !
i have the following problem:
when using sendfax for sending a german text file including german umlauts, i get: cannot determine file type ?!? does anyone know how to modify typerules to handle that file type correctly ?
one strange thing: when i try to sendfax from the shell, everything works fine. when trying it from within php, the error occurs ?!? i even tried it as user nobody (= apache-user) in a shell.... it works fine.... when i tried it from within php, it doesn´t... :-(((
it would be great if anyone could give me a hint....
thank you !
ps: please reply also to otto
liwest.at as i am not subscribed to the
mailing list. thanks a lot !
attached mail follows:
Hi,
The company I work for is starting to lose contracts because they are not capable of EDI. As I seem to be the only person in the company who has heard of EDI and knows what it stands for I am assumed to be an expert :-)
Anyway, I would like to suggest that instead of EDI we use XML and use PHP both as a parser and a creater of the EDI like transactions. I would propose they are sent over the net and probably PGP encrypted or signed. I have done some minor work with PHP and XML, mainly credit card authorisation, but wondered how suited it would be to this kind of app?
Any ideas/pointers?
Regards
Jon
-- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07968 524175 PGP Key available, send blank email to pgpkeybctech.co.uk
attached mail follows:
Hi
I've put the full path in for mysql, i've included -h -u -p and included the paths of the txt & table files
Still don't work.
I'm logged in as root, working on my own box (linux) . I'm really struggling with this one. Has anyone out there done this ??
Many TIA
Terry
----- Original Message -----
From: "_lallous" <elias_bachaalany
yahoo.com>
To: <php-general
lists.php.net>
Sent: Monday, September 03, 2001 9:24 AM
Subject: [PHP] Re: probs with exec, pls help
> should'nt I guess....
> I should at least specify full path of mysqlimport as in:
> exec("/usr/local/mysql/bin/mysqlimport -u -p dada dasda")
>
> "Taz" <terry
tazwebservices.co.uk> wrote in message
> news:002801c133f3$1e2204e0$0feafea9
reynolds...
> Should this work, if not, why not
>
> <?php exec("mysqlimport -u root -ppasword test one.txt") ?>
>
> the import works fine from the command line
>
> TIA
> Terry
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
Hi all, I am wondering, if I do the following:
class A { function something() { } }
class B extends A { function something() { } }
var $varB = new B; $varB->something();
How do I make sure in the something() member of class B, that the parent class member something() is also called? Can I do this:
class B extends A { function something() { // some other actions... A::something(); } }
Or do I need to do something else?
Thanks, Alexander.
-- PS: Replace the underscore (_) in my e-mail address with a minus sign (-).
attached mail follows:
On Monday 03 September 2001 09:47, A. op de Weegh wrote:
> How do I make sure in the something() member of class B, that the parent > class member something() is also called? Can I do this:
Hello there, person with the same name as self, :)
class B extends A { function something() { // some other actions $this->something(); // calls A::something } }
I've used this code for calling base class constructors. These ofcourse have different names, while your functions are both called the same. I don't think that should make any difference, though.
ad.
attached mail follows:
I've gone an annoying problem. On our site I've trapped "file does not exist" errors at Apache level to send out my own error screen with a company logo, link to home page and a mailto link, but this doesn't work for any request for a page that would be parsed by php if it existed. In this case a valid html page (containing the php error) is returned. The problem seems to be that as far as Apache is concerned there isn't an error. I haven't found anything in php that allows me to trap errors like this. Error reporting levels aren't helpful as I still need the error trapped.
I'm sure I'm not the first person who has come across this, and I'm hoping someone out there has found a way around it.
I'm running PHP 4.0.0, Apache 1.3 on NT (yes I know, but our network manager has promised me a linux box)
Tim Ward Senior Systems Engineer
Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html
attached mail follows:
Hi
Is it possible to bulid PHP 4.0 and Apache 1.3.20 on Digital Unix 4.0E, DEC ALPHA. I've only bulid and installed them on RedHat 6.x and 7.x, few times without any problems :-))) . Is there any problems on Digital Unix. Thank You for Your any advice or comments.
Krzysztof Kocjan
--------------R--E--K--L--A--M--A-------------- Czym jest asertywnosc? Przeczytaj i nie pozwol sie wykorzystywac! http://www.polki.interia.pl/rodzina/partnerstwo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]