|
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: Sat Aug 11 2001 - 18:06:07 CDT
php-general Digest 11 Aug 2001 23:06:07 -0000 Issue 810
Topics (messages 62255 through 62278):
PHP Ad campaign
62255 by: legal.HEROCYCLES.COM
Re: replacing variables in file
62256 by: CC Zona
62278 by: Paul Roberts
Re: what websites do u surf every day ...
62257 by: Micha
Re: squirrelmail
62258 by: Rouvas Stathis
Re: compiling apache 1.3.20 with php 4.0.6
62259 by: Roy Wilson, Jr.
java
62260 by: Rip
Libtool broke it (was Re: [PHP-DEV] php and autoconf 2.50)
62261 by: Markus Fischer
File upload, file size checking and directory creation in php
62262 by: Coconut Ming
62263 by: Data Driven Design
Re: open_basedir and safemode-ish things
62264 by: Chris Cameron
62265 by: Rasmus Lerdorf
PHP Corporate settings again
62266 by: Michael Kimsal
Compiling PHP as a SHARED Module
62267 by: Steve Haemelinck
Re: PHP, Apache, PostgreSQL, and RedHat
62268 by: m mounse
Are Your Breasts To Small? Do You Get PMS? MLM Marketers. Welcome To This 4 Tier System
62269 by: David<spoon.soupstone.com
FREE SAFELIST with ONLINE EMAILERS!
62270 by: thesuperpromoter2001.yahoo.com
strange permission errors
62271 by: Joe Sheble \(Wizaerd\)
62272 by: Joe Sheble \(Wizaerd\)
62273 by: Joe Sheble \(Wizaerd\)
Design question (MySQL vs flat files)
62274 by: Dana Holt
62275 by: Henrik Hansen
Interaction with text files!
62276 by: Kyle Smith
Having problems with REVOKE
62277 by: Richard Kurth
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:
Dear Evan,
Yours is a good mission to propagate PHP. I would like to be part of it.
Right now, I am setting up a website on Ludhiana (INDIA) naming
www.LudhianaInfoline.com Ludhiana is my home town where I live in. Ludhiana
is also called Manchester of India. This site contains HTML pages right
now, later I will be using PHP/MySql on it by adding more features.
I can put banner ads (of PHP) on my site pointing to Combined developed
site for PHP or to your page and also in the Newsletter. I will also try
to convince my fellow developers to do this type of thing.
At this stage, I can make this much of contribution only. But you will
agree that if all of the members of this group do things like this, It will
definitely become a major campaign.
Ajay K. Ratra
Ludhiana (INDIA)
ajay
LudhianaInfoline.com
***********************************************
Evan,
I agree with you. I face the same problem too and need a way to convince
my cleints.
Adrian
On Thu, 9 Aug 2001, Evan Nemerson wrote:
> Bill has hit it right on! Programmers all over the world have already
> recognized that PHP is a superior language, and open-source is not the
root
> of all evil (as M$ would have us believe). However, many (most?) execs do
not
> listen to reason, but rather only to TV and glossy ads. Therefore, I
propose
> we fight fire with fire!
>
> Lets band together and form a web site not altogether unlike
LinuxFund.org.
> However, instead of development of new technology, our site could focus
on
> the spread of PHP, or perhaps open source technology. Get our own credit
> card, ask for donations, be those donations money or time.
>
> We could use this money to fund ad-campaigns. Ad-campaigns targeted not
at
> programmers who already know the merit of PHP (and open-source in
general),
> but rather the "Big Corporate Executive" who has the power to make or
break
> PHP.
>
> The ads could go in magazines like Forbes, Fortune, etc. instead of Open
> Magazine.
>
> If you are interested in this, either helping make the site, providing
> expertise in other areas (such as marketing), or would just be willing to
> make a donation, visit a page I just set up:
> http://www.coeus-group.com/AdCamp.php . I'll consider this post to be a
kind
> of market analysis. I sincerly hope that you are as interested- and
willing-
> as I.
>
> Evan Nemerson
> evan
coeus-group.com
>
-- 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:
In article <007801c121de$828fc100$f28e883e
portable1>,
roberts_paul
bigfoot.com (Paul Roberts) wrote:
> in Perl I use template files and parse them through a regx to change say
> $cat
> to the value of in the variable, I would like to do the same in php 4
>
> example
>
> #open template and replace title and story then save to a new file
> open (TEMPLATE, "$template") or die "cannot open template please try again";
>
template = <TEMPLATE>;
> close TEMPLATE ;
> foreach $item (
template) {
> $item =~s/\$(\w+)/${$1}/g;
>
> }
> #output data to browser
> $|=1;
> print "Content-type: text/html\n\n";
> print
template ;
> exit;
> }
$template="/path/to/somefile.inc"; include($template);
The variable substitution happens automatically (as long as $var occurs within proper PHP syntax, such as "<?php $myvar1 ?>"). Output to browser is also automatic. See <http://php.net/include> for more info.
-- CC
attached mail follows:
| | $template="/path/to/somefile.inc"; | include($template); | | The variable substitution happens automatically (as long as $var occurs | within proper PHP syntax, such as "<?php $myvar1 ?>"). Output to browser | is also automatic. See <http://php.net/include> for more info. |
I tried this print (include($filelocation)); returns true and prints 1
include($filelocation)); causes the template file to be dumped into the middle of the script causing errors.
I want to have a form template with some of the data pre- filled from another form and print this between a header and a footer. at the moment I have got it to work having $formdata=" at the top of the form template and all the " escaped, but I would have rather had the form template editable without having to mess around.
if I could get to work as in Perl I'd be happy, is there an equivalent of $1 in php
foreach $item (
template) {
$item =~s/\$(\w+)/${$1}/g;
Paul Roberts
roberts_paul
bigfoot.com
+++++++++++++++++++++
attached mail follows:
php.net/manual ;)
Reductor wrote:
> just read the mailing list... sometimes evilwalrus.com or newbienetwork.net
> ----- Original Message -----
> From: "..." <geteasy
seed.net.tw>
> To: <php-general
lists.php.net>
> Sent: Saturday, August 11, 2001 1:10 PM
> Subject: [PHP] what websites do u surf every day ...
>
> what websites do u surf every day ...
> in order to improve ur php coding ability...:)
> i am confused now...><
> thx
>
> ........nick
attached mail follows:
Although I don't use squirrelmail, I have read in its doc that they have implemented their own version of gettext (and some other i18n stuff if I remember correctly). So I would suggest that you first find out which 'gettext' you are calling.
-Stathis.
hans wrote: > > Hello there, > > I have a question about gettext. My provider compiled into PHP4 but when i > try to install squirrelmail (a webmail programm in php4) I get only the > english text. > > When i switch from a language i don't get any error. getenv('LC_ALL') > return's the right language. > > Is there a wy to check if the installation of gettext is right? > > How can help. > > --
attached mail follows:
It helps if you install your development libraries in linux, including gcc to compile it. That gibberish is normal, especially during 'make' or 'configure', as it is actually compiling the program at that point.
Check your local distributions homepage for instructions on how to install your development libraries.
-Roy
At 03:22 PM 8/10/2001 -0500, Jay Paulson wrote:
>hello everyone...
>I'm trying to compile apache with mod_php but it gets to the line "+ Module
>php4: yes" and then spits out all this gibberish.. i've already installed
>php so i really don't know what this junk it has spit out to me.. any help?
>thanks...
>
> + Module php4: yes
>cd ..;
>gcc -DLINUX=22 -I/home/updates/php-4.0.6 -I/home/updates/php-4.0.6/main -I/
>home/updates/php-4.0.6/main -I/home/updates/php-4.0.6/Zend -I/home/updates/p
>hp-4.0.6/Zend -I/home/updates/php-4.0.6/TSRM -I/home/updates/php-4.0.6/TSRM
>-I/home/updates/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o
>helpers/dummy
>helpers/dummy.c -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmo
>dules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-clien
>t -ldl -lxmltok -lxmlparse -lsablot -lpam -lbz2 -lz -lcrypt -lresolv -lm -l
>dl -lnsl -lresolv -lm -lcrypt -ldl
>/usr/bin/ld: cannot find -lxmltok
>collect2: ld returned 1 exit status
>make: *** [dummy] Error 1
>cd ..;
>gcc -DLINUX=22 -I/home/updates/php-4.0.6 -I/home/updates/php-4.0.6/main -I/
>home/updates/php-4.0.6/main -I/home/updates/php-4.0.6/Zend -I/home/updates/p
>hp-4.0.6/Zend -I/home/updates/php-4.0.6/TSRM -I/home/updates/php-4.0.6/TSRM
>-I/home/updates/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o
>helpers/dummy
>helpers/dummy.c -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmo
>dules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-clien
>t -ldl -lxmltok -lxmlparse -lsablot -lpam -lbz2 -lz -lcrypt -lresolv -lm -l
>dl -lnsl -lresolv -lm -lcrypt -ldl
>/usr/bin/ld: cannot find -lxmltok
>collect2: ld returned 1 exit status
>make: *** [dummy] Error 1
>Creating Makefile in src
> + configured for Linux platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + adding selected modules
> o php4_module uses ConfigStart/End
> + using -ldl for vendor DSO support
> + checking sizeof various data types
> + doing sanity check on compiler and options
>** A test compilation with your Makefile configuration
>** failed. The above error output from the compilation
>** test will give you an idea what is failing. Note that
>** Apache requires an ANSI C Compiler, such as gcc.
>
>======== Error Output for sanity check ========
>============= End of Error Report =============
>
>
>
>--
>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:
When I added ming and pdf support in PHP Version 4.0.4pl1, compiled as an Apache module, I just added the .so's, edited php.ini, restarted Apache, no problems. But libphp_java.so is not being found. Must I re-compile php to get java support? I'm running Linux-Mandrake 8.0.
attached mail follows:
Just wanted to let know everyone:
My system (debian/unstable) upgraded to libtool1.4-b2 which broke the ./buildconf process; altough the error message always said something like autoconf2.50 needed etc, it was libtool. Reverting to 1.4 works now ... kopefully ...
- Mar*putting important packages now on hold*kus
On Sat, Aug 11, 2001 at 08:16:15AM +0200, Sebastian Bergmann wrote :
> Daniel Adams wrote:
> > Has anyone got the cvs source to work with autoconf 2.50?
>
> autoconf 2.5x is not supported, please use autoconf 2.13.
>
> --
> Sebastian Bergmann Measure Traffic & Usability
> http://sebastian-bergmann.de/ http://phpOpenTracker.de/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe
lists.php.net
> For additional commands, e-mail: php-dev-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischerguru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend-
attached mail follows:
HI, I wish to ask where has a website demostrating how to do File upload, file size checking and directory creation?? I need to code a page that can upload a file to a server (specific diretory that i created) then check the file size and not allow to upload if the file exist 50K... I have a login system and each user will have a unique ID, I wish to use their unique ID to create a new directory for each user for storing the file they are going to upload... So.. where I can find the sources of doing this? Thanks for telling. Anyway can help me is really appreciated. Thanks in advance and sorry for my poor english.
Sincerely Kok Ming
attached mail follows:
This tutorial is pretty good.
http://www.thickbook.com/extra/php_fileupload.phtml
Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117
http://www.datadrivendesign.com Phone: (386) 226-8979
Websites That WORK For You
----- Original Message -----
From: "Coconut Ming" <coconut
maxis.net.my>
To: <php-general
lists.php.net>
Sent: Saturday, August 11, 2001 12:34 PM
Subject: [PHP] File upload, file size checking and directory creation in php
> HI,
> I wish to ask where has a website demostrating how to do File upload,
> file size checking and directory creation??
> I need to code a page that can upload a file to a server (specific
> diretory that i created) then check the file size and not allow to
> upload if the file exist 50K...
> I have a login system and each user will have a unique ID, I wish to
> use their unique ID to create a new directory for each user for storing
> the file they are going to upload... So.. where I can find the sources
> of doing this? Thanks for telling. Anyway can help me is really
> appreciated. Thanks in advance and sorry for my poor english.
>
>
> Sincerely
> Kok Ming
>
>
> --
> 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:
Yes.
Is anyone other than me trying to use this?
Chris.
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus
php.net]
Sent: Saturday, August 11, 2001 2:13 AM
To: Chris Cameron
Cc: php-general
lists.php.net
Subject: RE: [PHP] open_basedir and safemode-ish things
Did you restart your server?
On Sat, 11 Aug 2001, Chris Cameron wrote:
> Put bluntly, it doesn't work. > > The manual says: > If instead of safe_mode, you set an open_basedir directory then all file > operations will be limited to files under the specified directory. > > I'm assuming that this should work without making any changes to my > php.ini. > The manuals example: > <Directory /docroot> > php_admin_value open_basedir /docroot > </Directory> > > I've got: > <Directory /home/www/chris/www> > php_admin_value open_basedir /home/www/chris/www > </Directory> > > Like I said originally, I must be doing something wrong. > > "php_admin_value" isn't suppose to be set to something is it? I'm also > surprised that (apperantly) nothing has to be changed in the .ini. > > This is inbetween <VirutalHost> and </VirutalHost>, and I'm testing that > it does/doesn't work by reading out my /etc/passwd. That directory does > exist, and is the www root for the Virtual Host. > > Thanks, > Chris
attached mail follows:
I use it. Works fine for me.
-Rasmus
On Sat, 11 Aug 2001, Chris Cameron wrote:
> Yes.
>
> Is anyone other than me trying to use this?
>
> Chris.
>
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus
php.net]
> Sent: Saturday, August 11, 2001 2:13 AM
> To: Chris Cameron
> Cc: php-general
lists.php.net
> Subject: RE: [PHP] open_basedir and safemode-ish things
>
>
> Did you restart your server?
>
> On Sat, 11 Aug 2001, Chris Cameron wrote:
>
> > Put bluntly, it doesn't work.
> >
> > The manual says:
> > If instead of safe_mode, you set an open_basedir directory then all
> file
> > operations will be limited to files under the specified directory.
> >
> > I'm assuming that this should work without making any changes to my
> > php.ini.
> > The manuals example:
> > <Directory /docroot>
> > php_admin_value open_basedir /docroot
> > </Directory>
> >
> > I've got:
> > <Directory /home/www/chris/www>
> > php_admin_value open_basedir /home/www/chris/www
> > </Directory>
> >
> > Like I said originally, I must be doing something wrong.
> >
> > "php_admin_value" isn't suppose to be set to something is it? I'm also
> > surprised that (apperantly) nothing has to be changed in the .ini.
> >
> > This is inbetween <VirutalHost> and </VirutalHost>, and I'm testing
> that
> > it does/doesn't work by reading out my /etc/passwd. That directory
> does
> > exist, and is the www root for the Virtual Host.
> >
> > Thanks,
> > Chris
>
>
>
>
attached mail follows:
Great to see more discussion on this - it seems to crop up again every few months. :)
While I certainly share most people's enthusiasm and dedication to PHP, I'm not sure if credit cards and whatnot is the best route to take, at least to start with.
I'd start (a while back) a site called phpshowcase.com - I'd love for people to get involved with it (visit it to put your details in and/or email me privately for more info). It was started in reaction to many other 'large' companies (MS, Sun, Allaire) having 'success stories' on their sites. They choose a select few large/brand name sites, and do rather in depth stories on them. We've developed a number of sites, some of which we put up at phpshowcase.com as a testbed.
I've seen other PHP sites that simply give a list of 'who's using PHP', but they fail to get comments from the organizations, reasoning from the developers as to why PHP was chosen, etc. We'ved rebuilt ASP sites in PHP, and they've generally run faster, and our development time has been a fraction of the time the ASP version took. IMO, it's the stories like that that have the most pull - WHY something was chosen, what the benefits were (time/money/scalability), and so on.
A 'self-serve' site which allows PHP people to contribute their own info seems like the best of both worlds. Hopefully we'll get some momentum to get some of the larger sites as well as many smaller sites to contribute info such as site usage, development time/costs, hardware, etc. Those are the pieces you read about with respect to other technologies, and I think it's needed in the PHP community.
I would appreciate any feedback on this idea, as well as actual participation. :)
Again, while 'ad campaigns' aren't necessarily a bad idea, I think there's a lot that can be done by simply banding together everyone's success stories into one area.
------------------------------- Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961
attached mail follows:
Normally I use php as a static module build into apache. However because the versions of php follow so quickly I wanted to use DSO. When I compile both apache as php everything goes well and without any error. However when I want to start apache I get the following error:
>> cannot load /usr/local/httpd/libexec/libphp4.so into server: libclntsh.so.8.0: cannot open shared object file : no such file or directory
What is my problem?
NeoNac
attached mail follows:
There is nothing at that page, nor is that article in that subdirectory
Dave Jarvis wrote:
> Hello, everyone! > > I've written a page which I believe people who want to use PHP, Apache, > and PostgreSQL may find useful. It is a result of trying to find a > single page on the Internet that contains a complete step-by-step > coverage of how to get all three wonderful pieces of software to talk > with each other, and coming up dry. My page guides the reader from > downloading and extracting the software to running a simple > Apache-driven PHP script that talks with PostgreSQL (and all the steps > in between). > > http://www.joot.com/articles/php-postgresql.html > > The document is fairly long (roughly 9 pages, though I've tried to be > succinct), covers pitfalls I stumbled into, explains how to get a > database going with PostgreSQL, and much more. Useful comments and > critiques are welcome (flames will be ignored) -- no questions, please > (chances are I don't know, and haven't time to answer). It presumes > minimal knowledge of basic Unix administration, and the Apache web > server software. > > I hope people will find it useful. > > Sincerely, > Dave Jarvis
attached mail follows:
Natural Breast Enlargement Can Happen for You.... IT'S TRUE, tens of thousands of women now have experienced an increase of 1-2 cup sizes and 1-4 inches to their bustline using BUST PLUS all natural breast enhancement herbal suppliments!
BUST PLUS is a safe, natural and effective method to increase your bust line and decrease PMS and menstrual symptoms. It was developed by the world famous herbalist Angela Harris.
What is BUST PLUS? BUST PLUS is a unique, all-natural formula containing a proprietary combination of 9 herbs traditionally used for natural female hormone balancing and promotion of breast size and firmness. Bust Plus is recognized for its results of larger and fuller breasts for the women who use it.
Does BUST PLUS Really Work? Yes, BUST PLUS really does work. After two years of studies and thousands of testimonials, we can very confidently say "YES" the product does indeed work.
How long does it take to see results? Studies indicate that 50% of women see growth in the first month, 72% in two months, and over 80% of women noticed breast growth after three months of use.
Oh yeah and my favorite tale. an end to PMS!!! My name is David Fuchs and let me recount my PMS tale. My girl friend is the sweetest person on the planet. Except for 2-4 days a month when she has PMS and then she becomes a different person. I have the scars to prove it. Her specialty when she has PMS is throwing things at me, books, plates, glasses, etc. Five months ago I did some research on the internet and found BUST PLUS. After the first month there was a small change. I didnt get hit by any flying objects. After the second month she was a little grumpy with PMS but nothing like before. After the third month I didnt even notice that she had PMS. I cant believe The difference. The forth month she chased me around my apartment throwing stuff at me again ... her bra's... you see she made me pay for the 2 cup size increase she achieved while using BUST PLUS.
This Message Was Forwarded To You By the tell a friend server,. by NO NAME ENTERED at http://www.soupstone.com
If you wish to be removed from 800+ bulk e-mailers and bulk email suppliers reply to
Remove
soupstone.com with remove in the subject line
If you would like to become a supplier of BUST PLUS Please
email mlm
soupstone.com . This is a 4 tier Multi Level Marketing
Company that gives you a percentage of the sales from the people you
bring in below you. This requires no purchases. 20% of the 2,500,000
millionares on the planet are result of multi level marketing. This is a
ground floor opportunity. If you have a high traffic site and want to
make large sums of money all that is required is a single small (85k)
banner for sales and to find suppliers. We will be adding a new product
every 2-6 weeks. If you would like to sell BUST PLUS in real life, we
offer a free 200 page course on sales and marketing techniques and
low cost advertising.
attached mail follows:
We were notified that php-general
lists.php.net would be interested in using our service to help your online business succeed. If this is a mistake please accept our apologies and click on the remove link at the end of this email and we will NEVER send you another email!
FREE SAFELIST with ONLINE EMAILERS! Send 100% Spam Free Email Instantly From Your Browser! Fast Online Mailers With Hundreds Of New Prospects Added Daily! All Emails Show From Our Email Address Not Yours! 100% Compatible With All Systems!
http://themailblaster.com/cgi-bin/MailerPro/MoneyMail.cgi
<a href="http://themailblaster.com/cgi-bin/MailerPro/MoneyMail.cgi"> Aol </a>
To unsubscribe from this list copy and paste the following URL into your browser. If it appears as a link, just click it. Note: If you remove your address it will be removed and added to our banned address file.
lists.php.net">http://64.65.15.89/cgi-bin/MailerPro/unsubscribe.cgi?action=unsub&email=php-general
lists.php.net
attached mail follows:
I have a PHP script that uploads an image, and uses ImageMagik to create a thumbnail. SO far no problem. The upload and thumbnail generation piece work great.
However, if I try to either unlink the image or do a 'rm' through exec, the image doesn't get erased. The images are created in a world-readable and world-writable directory (777) and they are owned by nobody. I've even gone so far as after the upload and thumbnail generation, chmod the images themselves to 777. However, I am still unable to delete.
Could anyone give me some suggestions as to what to look at? It's a hosted environment, so there may not be a whole lot I can do about it...
Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, PHP/mySQL & ColdFusion/MSSQL http://www.wizaerd.com ================================= The Canvas Expert Online The #1 Resource For Canvas Information http://www.TheCanvasExpert.com =================================
attached mail follows:
I have a PHP script that uploads an image, and uses ImageMagik to create a thumbnail. SO far no problem. The upload and thumbnail generation piece work great.
However, if I try to either unlink the image or do a 'rm' through exec, the image doesn't get erased. The images are created in a world-readable and world-writable directory (777) and they are owned by nobody. I've even gone so far as after the upload and thumbnail generation, chmod the images themselves to 777. However, I am still unable to delete.
Could anyone give me some suggestions as to what to look at? It's a hosted environment, so there may not be a whole lot I can do about it...
Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, PHP/mySQL & ColdFusion/MSSQL http://www.wizaerd.com ================================= The Canvas Expert Online The #1 Resource For Canvas Information http://www.TheCanvasExpert.com =================================
attached mail follows:
oops, never mind... I've been staring at this monitor too long... I had forgotten to declare the global variable pointing to my path from within my function...
> -----Original Message-----
> From: Joe Sheble (Wizaerd) [mailto:JustForMailingLists
wizaerd.com]
> Sent: Saturday, August 11, 2001 1:10 PM
> To: General PHP List
> Subject: [PHP] strange permission errors
>
>
> I have a PHP script that uploads an image, and uses ImageMagik to create a
> thumbnail. SO far no problem. The upload and thumbnail generation piece
> work great.
>
> However, if I try to either unlink the image or do a 'rm' through
> exec, the
> image doesn't get erased. The images are created in a world-readable and
> world-writable directory (777) and they are owned by nobody.
> I've even gone
> so far as after the upload and thumbnail generation, chmod the images
> themselves to 777. However, I am still unable to delete.
>
> Could anyone give me some suggestions as to what to look at?
> It's a hosted
> environment, so there may not be a whole lot I can do about it...
>
> Joseph E. Sheble
> a.k.a. Wizaerd
> Wizaerd's Realm
> Canvas, 3D, Graphics,
> PHP/mySQL & ColdFusion/MSSQL
> http://www.wizaerd.com
> =================================
> The Canvas Expert Online
> The #1 Resource For Canvas Information
> http://www.TheCanvasExpert.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:
I am designing a site that will have lots of "stories" on it.
Right now, I am using MySQL to store all of the info on each story except for the story text itself. I am writing an individual text file for each story and storing the name of the file in the database. Is this the best way to do this or should I store everything in the database? I don't really have much experience with this kind of thing. There will be many thousands of records, and I don't know how well it will scale.
Thanks in advance for any help!
Dana
-- www.theydidmewrong.com www.shedidmewrong.com www.hedidmewrong.com
attached mail follows:
danah
home.com (Dana Holt) wrote:
> I am designing a site that will have lots of "stories" on it. > > Right now, I am using MySQL to store all of the info on each story except > for the story text itself. I am writing an individual text file for each > story and storing the name of the file in the database. Is this the best way > to do this or should I store everything in the database? I don't really have > much experience with this kind of thing. There will be many thousands of > records, and I don't know how well it will scale.
Well I would store it all in a database, because then I would not have to spend resources on getting the text from the file aswell as getting things from the database. And I dont think you run out of tablespace in the near future there can be from 2-4 GB in your tables (on linux systems depending on kernel) so there can be some text.
-- Henrik Hansen
attached mail follows:
go to http://www.phpbuilder.com/forum/read.php3?num=2&id=149562&loc=0&thread=149562 its all there but.... WAAA!!!
-lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man!
ICQ: 115852509
MSN: dbzno1fan
hotmail.com
AIM: legokiller666
attached mail follows:
I am having problems with the Revoke statement. I add a database and give the user privileges with this Grant statement
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,REFERENCES,DROP,INDEX,ALTER ON
$userdatabase.* TO '$newuser'
'localhost' IDENTIFIED BY '$newuserpass
But when I delete the database I what to take all of the privileges away from the user I have tried REVOKE SELECT,INSERT,UPDATE,DELETE,CREATE,REFERENCES,DROP,INDEX,ALTER on $userdatabase.* from $newuser I get this error with this one 1141: There is no such grant defined for user 'test3456' on host '%'
and I have tried
REVOKE SELECT,INSERT,UPDATE,DELETE,CREATE,REFERENCES,DROP,INDEX,ALTER ON
$userdatabase.* TO '$newuser'
'localhost' IDENTIFIED BY '$newuserpass
The manual does not go into REVOKE as much as it does for GRANT so what am I missing hear. also I realize that the revoke statement does not remove the info from the db table or the usr table. How do I go about that without debiting a user for a different database. On the db table it is easy because I can do it were usr = $user and db = $db but in the usr table every host name is localhost and the password is encrypted is there a way to do somthing like were user =$username and password =$password(encrypted). Yes I could go there manually. and remove it but this is being done by a program in PHP that will remove the database revoke the privileges and reset all of the info in a customers information database
Best regards,
Richard
mailto:rkurth
pacifier.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]