OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
php-general-digest-help_at_lists.php.net
Date: Sun Sep 01 2002 - 16:23:17 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    php-general Digest 1 Sep 2002 21:23:17 -0000 Issue 1560

    Topics (messages 114818 through 114850):

    Re: problem with links
            114818 by: CHAILLAN Nicolas

    Re: image manipulation
            114819 by: CHAILLAN Nicolas
            114833 by: Andre Dubuc

    Re: UPDATE Query
            114820 by: Tony Harrison
            114828 by: Brian J. Celenza

    Word docs
            114821 by: DC
            114822 by: Justin French

    Re: suggestion for .hinge
            114823 by: Justin French
            114824 by: Justin French

    Safe mode? <newbie alert!>
            114825 by: Ryan A
            114829 by: . Edwin

    Re: alter switch variable inside case?
            114826 by: . Edwin

    Setting HTACCESS user/pass with php?
            114827 by: Brian J. Celenza
            114834 by: eriol
            114849 by: CHAILLAN Nicolas

    Edwin->Re: [PHP] Safe mode? <newbie alert!>
            114830 by: Ryan A

    Excel sheets
            114831 by: -C-
            114837 by: robert mischke

    Q:Making an 'expired event' for sessions
            114832 by: Mehran Ziadloo
            114838 by: robert mischke
            114848 by: Mehran Ziadloo

    getimagesize with image in database
            114835 by: Chuck Barnett
            114839 by: CHAILLAN Nicolas

    Re: getimagesize with image in database clairifation
            114836 by: Chuck Barnett

    Imagemangick, can I install on a virtual host?
            114840 by: Al

    RE : [PHP] RE : include interpreted php file
            114841 by: you

    auction scripts?
            114842 by: jaxon
            114843 by: JohnP

    PHP shopping
            114844 by: Ryan A
            114847 by: CHAILLAN Nicolas

    str_replace question
            114845 by: Gregor Jak¹a
            114846 by: CHAILLAN Nicolas

    addslashes($variable)?
            114850 by: cLeAnEr

    Administrivia:

    To subscribe to the digest, e-mail:
            php-general-digest-subscribelists.php.net

    To unsubscribe from the digest, e-mail:
            php-general-digest-unsubscribelists.php.net

    To post to the list, e-mail:
            php-generallists.php.net

    ----------------------------------------------------------------------

    attached mail follows:


    If you use global variables in your scripts, please put register global on
    into php.ini.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Brad Lahr" <blahrvisi.com> a écrit dans le message de news:
    3D71600A.FB7FC96Evisi.com...
    > I compiled php on a linux machine and am experiencing problems whith
    > links.
    >
    > going to www.domainname.com/index.php in a browser works fine.
    > Clicking on links on this page such as
    > www.domainname.com/?page=team&teamcode=4938412 just sends me back to the
    > main www.domainname.com page.
    >
    > Did a forget to compile in a specific feature of php or apache?
    >
    > Here is the commands I used when compiling php and apache.
    >
    > cd php-4.2.2
    > ./configure --with-apache=/usr/local/src/apache_1.3.26
    > make
    > make install
    >
    > *** added AddModule modules/php4/libphp4.a  to
    > apache_1.3.26/src/configuration  ***
    >
    > cd /usr/local/src/apache_1.3.26
    > ./configure --activate-module=src/modules/php4/libphp4.a
    > make
    > make install
    >
    > Any help is greatly appreciated.  I apoligize iin advance for being such
    > a newbie.
    >
    > Brad
    >
    >
    >
    

    attached mail follows:


    Here is the list of the PHP's images functions: http://www.php.net/manual/en/ref.image.php You can look at filesize and getimagesize for the size / height width. For the second question, I dont know look at the list.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Tux" <tuxengimped.net> a écrit dans le message de news:
    1030900775.2597.34.cameltuxen.gimped.net...
    >
    > Hey all,
    >
    > I was just wondering if anyone could recommend any tutorials or books or
    > functions i should look into, to do the following:
    >
    > - decrease the size(kilobytes wise not height/width) of an image
    > - imprint a transparent logo onto every picture displayed
    >
    > any feedback greatly appreciated.
    >
    > jo
    >
    

    attached mail follows:


    Hi tux,

    For your second question, try:

    http://www.linuxfocus.org/English/July2001/article211.shtml

    It'll give some basci info on image manipulation using ImageMagick.

    Hth, Andre

    On Sunday 01 September 2002 01:19 pm, tux wrote: > Hey all, > > I was just wondering if anyone could recommend any tutorials or books or > functions i should look into, to do the following: > > - decrease the size(kilobytes wise not height/width) of an image > - imprint a transparent logo onto every picture displayed > > any feedback greatly appreciated. > > jo

    attached mail follows:


    What about multiple tables? Can that be done?

    "Mark Charette" <charettewoodwind.org> wrote in message news:ODEKKKOHBFKHBBNEGHMLKEDACBAA.charettewoodwind.org... > No, only one db at a time may be updated. The "where" clauses can contain > multiple db. > > -----Original Message----- > From: Sascha Braun [mailto:saschabraungmx.de] > Sent: Saturday, August 31, 2002 7:04 PM > To: PHP Mailingliste > Subject: [PHP] UPDATE Query > > > I want to know if its possible to update two databases with one query? > > Please look at this example: > > UPDATE news_db, newsreferenz_db SET news_db.head = 'DFB Pokalasfasf', > news_db.text = 'alkfhaslk fl akshf lakshf lkahs lfk aslf yxvyxvyxvyxv', > newsreferenz_db.kat_id = '3' WHERE news_db.id = '6' AND > newsreferenz_db.news_id = '6' > > it doesn't work. >

    attached mail follows:


    Try changing your query to this: UPDATE news_db, newsreferenz_db SET news_db.head = 'DFB Pokalasfasf', news_db.text = 'alkfhaslk fl akshf lakshf lkahs lfk aslf yxvyxvyxvyxv', newsreferenz_db.kat_id = '3' WHERE (news_db.id = '6' AND newsreferenz_db.news_id = '6')

    Adding the ()'s around the WHERE definition is essential in an update query, although I have no clue why.

    "Sascha Braun" <saschabraungmx.de> wrote in message news:000c01c25142$b4d1b990$0f00a8c0squitta... I want to know if its possible to update two databases with one query?

    Please look at this example:

    UPDATE news_db, newsreferenz_db SET news_db.head = 'DFB Pokalasfasf', news_db.text = 'alkfhaslk fl akshf lakshf lkahs lfk aslf yxvyxvyxvyxv', newsreferenz_db.kat_id = '3' WHERE news_db.id = '6' AND newsreferenz_db.news_id = '6'

    it doesn't work.

    attached mail follows:


    Hi,

    I have 200 items in a mysql database. Each has a word document with the path:

    Assets/Reports/Docname.doc

    How do I open the word doc that is specific to the particular item?

    Thanks

    david php novice

    attached mail follows:


    Hi,

    What's your definition of "open the word doc"?

    Do you want to parse the contents of the Word Doc into a var? Do you want to produce a link on the page TO the word doc?

    Please be more specific -- it helps us give better answers.

    Justin French

    on 01/09/02 9:11 PM, DC (dcurranpowerup.com.au) wrote:

    > Hi, > > I have 200 items in a mysql database. > Each has a word document with the path: > > Assets/Reports/Docname.doc > > How do I open the word doc that is specific to the particular item? > > Thanks > > david > php novice > > > >

    attached mail follows:


    I go this email to my hinge address...

    I guess they want .h stubby holders!!

    J

    ---------- From: "Karen and Jimmy" <comarosebigpond.net.au> Organization: Full Scale Reply-To: "Karen and Jimmy" <comarosebigpond.net.au> Date: Sun, 1 Sep 2002 21:20:17 +1000 To: <justinhinge.net.au>

    stubbie holders!!!!!

    attached mail follows:


    Apologies to the list -- I *totally* sent this to the wrong mailgroup!!!!

    sorry!

    Justin

    on 01/09/02 10:00 PM, Justin French (justinindent.com.au) wrote:

    > I go this email to my hinge address... > > I guess they want .h stubby holders!! > > J > > ---------- > From: "Karen and Jimmy" <comarosebigpond.net.au> > Organization: Full Scale > Reply-To: "Karen and Jimmy" <comarosebigpond.net.au> > Date: Sun, 1 Sep 2002 21:20:17 +1000 > To: <justinhinge.net.au> > > stubbie holders!!!!! > >

    attached mail follows:


    Hi Everyone, I have a small question and just need some general direction, tried the mothership(google) but got too many results and got more confused.....

    What is safe mode?

    If you have any URL or file that can explain it kindly give it to me... cheers and thanks again, -Ryan.

    attached mail follows:


    Try the "mothership" again and type

    php and "safe mode"

    Click "Search". The first two results:

    http://www.dynamic-webpages.de/php/features.safe-mode.php http://info.ccone.at/INFO/PHP4/features.safe-mode.html

    You can read only ONE so as not to get more confused... :)

    - E

    PS Of course, you can the info here as well: http://www.php.net/manual/en/features.safe-mode.php

    > >Hi Everyone, >I have a small question and just need some general direction, tried the mothership(google) but got too many results and got more confused..... > >What is safe mode? > >If you have any URL or file that can explain it kindly give it to me... >cheers and thanks again, >-Ryan.

    _________________________________________________________________ $B$+$o$$$/$FL{2w$J%$%i%9%HK~:\(B MSN $B%-%c%i%/%?!<(B http://character.msn.co.jp/

    attached mail follows:


    I'm not sure if you've already tried the idea I posted earlier. Anyway, I tried it myself and it works! (At least with this simple example...)

    <!-- whatevername.php --> <?php echo 'myvar BEFORE the switch : ' . $_GET['myvar']; echo '<hr />'; switch ($_GET['myvar']){ case 1: $_GET['myvar'] = 2; case 2: echo "Hello!<br />"; break; case 3: $_GET['myvar'] = 4; case 4: echo "Hello again!<br />"; break; } echo '<hr />'; echo 'myvar AFTER the switch : ' . $_GET['myvar']; ?> <!-- end of whatevername.php -->

    Try it. For example,

    http://www.your_domain_name.com/whatevername.php?myvar=1

    will change myvar to 2 and will echo "Hello!" (without executing the other "cases"). Then,

    http://www.your_domain_name.com/whatevername.php?myvar=3

    will change myvar to 4 and will echo "Hello again!".

    As you can see, the key is using "break" ONLY in places you want to "break"...

    So, setting the variable in the first (or third) case CAN "cause execution of the second [or fourth] case segment".

    - E

    > >Could you elaborate? > >In the example I posted, setting >foo=step1 in the first case segment does NOT cause >execution of the second case segment, as would be the >case if it was actually re-evaluating the match upon >subsequent case statements. > >--- CHAILLAN Nicolas <nicosphp.net> wrote: > > Yes you can. > > > > -- > > Merci de nous avoir choisi. - Thanks you for your choice. > > Nicos - CHAILLAN Nicolas > > nicosworldakt.com > > nicosphp.net > > www.GroupAKT.com - H$BqC(Bergement Group. > > www.WorldAKT.com - H$BqC(Bergement de sites Internet > > "Joe Janitor" <joe_janitoryahoo.com> a $BqD(Brit dans le message de news: > > 20020831181245.45286.qmailweb10803.mail.yahoo.com... > > > I'd like to be able to modify the switch variable inside a case > > > statement, like this: > > > > > > switch ($foo) { > > > case 'step2': > > > do_step2(); > > > if ($error) $foo='step1'; //repeat step1 > > > break; > > > > > > case 'step1': > > > do_step1(); > > > break; > > > > > > case 'a_third_thing': > > > do_something_else(); > > > break; > > > } > > > > > > Can you modify the variable ($foo) inside a case statement and > > > have it evaluated for subsequent 'case's like this? If not, I > > > will have to revert to a series of if statements, in which this can > > > be done: > > > > > > if ($foo=='step2') { > > > do_step2(); > > > if ($error) $foo='step1'; > > > } > > > if ($foo=='step1') { > > > do_step1(); > > > } > > > etc. > > > > > > Switch-case seems cleaner, and I'd prefer to stick with it. > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Finance - Get real-time stock quotes > > > http://finance.yahoo.com > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php

    _________________________________________________________________ $B%O%$%;%s%9$J>&IJ$r5$7Z$K9XF~(B MSN $B%7%g%C%T%s%0(B http://shopping.msn.co.jp/

    attached mail follows:


    Is it possible to set, delete, or alter htaccess usernames and passwords using a php script? If so, where might I find a reference to the code for it or even a walkthrough? I have searched the php functions and I haven't found anything like that.

    Thank you in advance.

    --
    ---------------------------------------------------------------
    Brian J. Celenza
    Chief Design Architect - Millennium Dreamworks
    bcelenzamdreamworks.net
    ICQ: 100942424
    AIM: BJCKnight
    

    attached mail follows:


    http://www.hido.net/projects/htadmin/

    That may be what you're looking for.. Searching google for "php user authentication htaccess" turns up several more results.. HTH..

    Take care.. peace.. eriol

    ====

    "Brian J. Celenza" <bcelenzamdreamworks.net> disgorged:

    : Is it possible to set, delete, or alter htaccess usernames and passwords : using a php script? If so, where might I find a reference to the code for it : or even a walkthrough? I have searched the php functions and I haven't found : anything like that.

    attached mail follows:


    Hi,

    Note that it is just a fileaccess, you can use htpasswd to put a password to the correct file, you can make your own class easily if you know how to parse a file and write in it. You can use exec() to make an apache/bin/htpasswd call assuming you're using apache.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Brian J. Celenza" <bcelenzamdreamworks.net> a écrit dans le message de
    news: 20020901122716.29003.qmailpb1.pair.com...
    > Is it possible to set, delete, or alter htaccess usernames and passwords
    > using a php script? If so, where might I find a reference to the code for
    it
    > or even a walkthrough? I have searched the php functions and I haven't
    found
    > anything like that.
    >
    > Thank you in advance.
    >
    > --
    > ---------------------------------------------------------------
    > Brian J. Celenza
    > Chief Design Architect - Millennium Dreamworks
    > bcelenzamdreamworks.net
    > ICQ: 100942424
    > AIM: BJCKnight
    >
    >
    

    attached mail follows:


    Hey, Thanks for the reply, what you sent me I had already read on other sites....I just didnt understand them! I basically wanted a longer explanation.....

    Thanks anyway, -Ryan.

    ----- Original Message ----- From: " Edwin" <copperwallshotmail.com> To: <rjumac.com> Cc: <php-generallists.php.net> Sent: Sunday, September 01, 2002 2:49 PM Subject: Re: [PHP] Safe mode? <newbie alert!>

    > Try the "mothership" again and type > > php and "safe mode" > > Click "Search". The first two results: > > http://www.dynamic-webpages.de/php/features.safe-mode.php > http://info.ccone.at/INFO/PHP4/features.safe-mode.html > > You can read only ONE so as not to get more confused... :) > > - E > > PS > Of course, you can the info here as well: > http://www.php.net/manual/en/features.safe-mode.php > > > > >Hi Everyone, > >I have a small question and just need some general direction, tried the > mothership(google) but got too many results and got more confused..... > > > >What is safe mode? > > > >If you have any URL or file that can explain it kindly give it to me... > >cheers and thanks again, > >-Ryan. > > > > > _________________________________________________________________ > $B$+$o$$$/$FL{2w$J%$%i%9%HK~:\(B MSN $B%-%c%i%/%?!<(B http://character.msn.co.jp/ >

    attached mail follows:


    Hey, sorry if this has already been answered somewhere, but I cant find a clear answer to this question.

    I have multiple xls files with 4 sheets a piece. I need to load them into either mysql or directly php. From what I understand I could simply save as text file tab delimited, but I need something automatic. These xls sheets will be updated at random, and I will need the most current version avalible online.

    Any comments would be welcome.

    -C-

    attached mail follows:


    hi

    take a look at http://phpclasses.org as far as I remember there are some excel classe

    robert

    > > Hey, > sorry if this has already been answered somewhere, but I cant > find a clear answer to this question. > > I have multiple xls files with 4 sheets a piece. I need to > load them into either mysql or directly php. From what I > understand I could simply save as text file tab delimited, > but I need something automatic. These xls sheets will be > updated at random, and I will need the most current version > avalible online. > > Any comments would be welcome. > > -C- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    Well since I was working with ASP before PHP, there's an event for sessions when they start and when they expire in ASP. Well in PHP I can put an IF statement to check if my variables are set or not for on_start event. But what should I do to have an event for the time they expire?

    Thanks for your help.

    attached mail follows:


    hi

    in php.ini you can control behavior of sessions, for example (take a look for you self;) -> session.gc_maxlifetime = 1440, in script you you may use ini_set for "dynamic control"

    hope this is the right direction ..

    robert

    > Von: Mehran Ziadloo [mailto:mehran20hotmail.com] > > Well since I was working with ASP before PHP, there's an > event for sessions when they start and when they expire in > ASP. Well in PHP I can put an IF statement to check if my > variables are set or not for on_start event. But what should > I do to have an event for the time they expire? > > Thanks for your help. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    Hi Thanks for replying, There are some settings for sessions in php.ini but I can't find the thing that I'm looking for. It should exist, I mean isn't there any one who needs to know when the session has expired? Once again I ask my question: How to make a session_on_end event in php? Any help will be appreciated.

    "Robert Mischke" <moppipostweb.de> wrote in message news:001601c251db$9877c930$6364a8c0fatalerror... > hi > > in php.ini you can control behavior of sessions, > for example (take a look for you self;) > -> session.gc_maxlifetime = 1440, > in script you you may use ini_set for "dynamic control" > > hope this is the right direction .. > > robert

    attached mail follows:


    Hi, I'm trying to get an image size from an image in a database.

    here's my code $imagesize = getimagesize(http://domain/image.jpg); echo $imagesize[3];

    but it returns nothing. If I use a local file, without http it works.

    I have php 4.0.6

    any suggestions.

    Thanks, Chuck

    attached mail follows:


    Hi,

    There is no way to get the filesize of a file using a remote file. You should download it to a tmp directory then check. If it is get with an http server, you should code something with sockets to ask to the http server the filesize using a request.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Chuck Barnett" <xobytebellsouth.net> a écrit dans le message de news:
    006901c251d8$3ce1ec20$0101a8c0chuck...
    Hi, I'm trying to get an image size from an image in a database.
    

    here's my code $imagesize = getimagesize(http://domain/image.jpg); echo $imagesize[3];

    but it returns nothing. If I use a local file, without http it works.

    I have php 4.0.6

    any suggestions.

    Thanks, Chuck

    attached mail follows:


    in my example I'm not pulling from a db. It does not even work like I have it in my example though.

    Thanks, Chuck ----- Original Message ----- From: "Chuck Barnett" <xobytebellsouth.net> To: <php-generallists.php.net> Sent: Sunday, September 01, 2002 11:54 AM Subject: [PHP] getimagesize with image in database

    Hi, I'm trying to get an image size from an image in a database.

    here's my code $imagesize = getimagesize(http://domain/image.jpg); echo $imagesize[3];

    but it returns nothing. If I use a local file, without http it works.

    I have php 4.0.6

    any suggestions.

    Thanks, Chuck

    attached mail follows:


    I'd like to use some of the Imagemagick functions; but my virtual host doesn't include it and won't bother to install it.

    Is it practical to install Imagemagick php on a virtual host?

    Has php. It's not a shell account. FTP is the only basic access.

    attached mail follows:


    nope sorry...

    -----Message d'origine----- De : Chris Knipe [mailto:savagesavage.za.org] Envoyé : samedi 31 août 2002 20:10 À : you; 'Richard Lynch' Cc : php-generallists.php.net Objet : Re: [PHP] RE : include interpreted php file

    fopen()

    Regards, Chris Knipe Cell: (072) 434-7582 MegaLAN Corporate Networking Services

    /------- | This email is confidential and may contain legally privileged information. | If you are not the intended recipient, you must not disclose or use | the information contained in it. If you have received this email in error, | please notify us immediately by return email and delete the document. \-------

    ----- Original Message ----- From: "you" <kciopifrance.com> To: "'Richard Lynch'" <richphpbootcamp.com> Cc: <php-generallists.php.net> Sent: Saturday, August 31, 2002 7:44 PM Subject: [PHP] RE : include interpreted php file

    Hi,

    Thanks for u help. But i just wanna include a php file in an other. But the included file must be interpreted before including it.

    Thx kciop

    -----Message d'origine----- De : Richard Lynch [mailto:richphpbootcamp.com] Envoyé : samedi 31 août 2002 02:12 À : you Cc : php-generallists.php.net Objet : Re: include interpreted php file

    >pb : include a php file in an other php file >contraints : the php file must be interpreted before being included >solution known : fsock then get the html code from the server and include >it... > >Is there an other solution (easier) to include that file?

    Not real sure if you *want* the PHP file interpreted or not, but if not, try this:

    <?php $html = file("http://example.com/whatever.htm") or die("Could not load remote HTML"); echo implode('', $html); ?>

    You may (or may not) also want to use http://php.net/htmlentities to show the actual HTML source instead of making it a part of your web design layout HTML...

    --
    Like Music?  http://l-i-e.com/artists.htm
    

    -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

    attached mail follows:


    hi,

    can anyone relay experience or recommend a php-based ebay-style auction script?

    tkx, jaxon

    attached mail follows:


    PHP Auctions I think you can find it on http://www.hotscripts.com if not just search google

    "Jaxon" <jaxonsalamander.net> wrote in message news:63F7034F-BDE4-11D6-A6EA-0003939A1066salamander.net... > hi, > > can anyone relay experience or recommend a php-based ebay-style auction > script? > > tkx, > jaxon >

    attached mail follows:


    Hi guys, Kinda reached the end of my line, searched on yahoo,google,altavista,excite etc and hotscripts,scriptsearch etc but could not find what i require....

    I need a shopping cart software which will display and sell .swf files, it does *not* have to integrate with ANY ecom credit card processing.

    Basically all I want it to do is give me a chance to upload a .swf file in a category (eg: images/text/movies etc) and should allow the visitor to search that category,take an order and email it to me....

    Have any or you seen such a script anywhere? unfortunately I dont know PHP to make it myself and am not rich to order custom programming......I am hoping that someone has already made the script and has made it available to the public. Anybody?

    or even if you know a place (URL) where I can learn shopping cart examples kindly direct me to it so maybe i can learn?

    Cheers and thank you for reading this message. -Ryan

    attached mail follows:


    Hi,

    Making an upload script is really easy, I can't do it because of too much work, but you should learn php yourself to do that, anyway this is not a newsletter to get free programs. Just look at www.php.net and start reading the manual to learn PHP.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Ryan A" <rjumac.com> a écrit dans le message de news:
    000a01c251f7$d80eb650$61d396c1l2zcaxu7emppqh...
    Hi guys,
    Kinda reached the end of my line, searched on yahoo,google,altavista,excite
    etc and hotscripts,scriptsearch etc but could not find what i require....
    

    I need a shopping cart software which will display and sell .swf files, it does *not* have to integrate with ANY ecom credit card processing.

    Basically all I want it to do is give me a chance to upload a .swf file in a category (eg: images/text/movies etc) and should allow the visitor to search that category,take an order and email it to me....

    Have any or you seen such a script anywhere? unfortunately I dont know PHP to make it myself and am not rich to order custom programming......I am hoping that someone has already made the script and has made it available to the public. Anybody?

    or even if you know a place (URL) where I can learn shopping cart examples kindly direct me to it so maybe i can learn?

    Cheers and thank you for reading this message. -Ryan

    attached mail follows:


    Hello, i have array $reserved_words which i want to replace with bold .. but when i tried to do str_replace($reserved_words, "<b>".$reserved_words."</b>", $string) it showed Array instead of <b>word</b> if i simply do str_replace($reserved_words, $reserved_words, $string) then it shows the words not Array but not in bold ;) I know i could use 2 arrays one with bold words one without or i could use foreach but i want a simpler solution :)... Any suggestions ?

    thx in advance !

    attached mail follows:


    What about a str_replace($reserved_words, "<b>$reserved_words</b>",$string);

    Tell me.

    --
    Merci de nous avoir choisi. - Thanks you for your choice.
    Nicos - CHAILLAN Nicolas
    nicosworldakt.com
    nicosphp.net
    www.GroupAKT.com - Hébergement Group.
    www.WorldAKT.com - Hébergement de sites Internet
    "Gregor Jak¹A" <gre-gordelphi-si.com> a écrit dans le message de news:
    20020901205050.69029.qmailpb1.pair.com...
    > Hello, i have array $reserved_words which i want to replace with bold ..
    > but when i tried to do str_replace($reserved_words,
    > "<b>".$reserved_words."</b>", $string) it showed Array instead of
    > <b>word</b>
    > if i simply do  str_replace($reserved_words, $reserved_words, $string)
    then
    > it shows the words not Array but not in bold ;)
    > I know i could use 2 arrays one with bold words one without or i could use
    > foreach but i want a simpler solution :)... Any suggestions ?
    >
    >
    > thx in advance !
    >
    >
    

    attached mail follows:


    Hi. I have recently started prograemming some php. Now I wonder exactly what addslashes() is good for... I´ve read about it that it insert slashes where needed to get data in right form to Mysql? and then use stripeslashes() to remove slashes when reciving data out of database?

    And I´ve also got this article that its good for not getting a harmful query along with my own query $sql="SELECT * FROM adresses;DELETE * FROM adress" ???

    plz explain to me!

    reg: Niclas