[PHP] Re: How to make a script sleep for 5 seconds?

2005-05-30 Thread Ryan A
> Disclaimer: This has been a weak attempt at jest. Only 2 cute and fluffy > bunny rabbits were harmed during this endeavour. I sure hope one of them was Bugsthe SOB gets away with murder! J/k Cheers, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. V

[PHP] php forum and (almost certainly 0T) client editor

2005-05-31 Thread Ryan A
Hey guys (and girl...as we have one on the list...(that i know of)), Can anybody recommend a real bare bones forum that i can modify or a tutorial for creating a forum or URLs/Classes etc to help me create a simple forum? I checked on google but I couldnt find any tutorials or code, went to hot

Re: [PHP] php forum and (almost certainly 0T) client editor

2005-05-31 Thread Ryan A
Thanks guys, Yep, it certainly sounds like a PITA (pain in the ... ) project but the client is payingand so..the client's right :-) The good thing is, I'll learn something here (hopefully), only think left to do is start going to the URLs you have mentioned and reading and downloadin

Re: [PHP] php forum and (almost certainly 0T) client editor

2005-05-31 Thread Ryan A
> > Thanks guys, > > Yep, it certainly sounds like a PITA (pain in the ... ) project but the > > client is payingand so..the > client's right :-) > > out of interest (and maybe to spark new ideas) can you give specs? > what kind of user management s

[PHP] Quick q, most prolly 0T

2005-06-01 Thread Ryan A
Hey, I noticed a site that is using php, but he is has shortened the url so that the filename was not shown.. eg: somesite.com/?a=1 How did they do that? if it was url rewriting it would be somesite.com/1/ so what is he using? Thanks, Ryan -- No virus found in this outgoing message. Checked

Re: [PHP] Quick q, most prolly 0T

2005-06-01 Thread Ryan A
dex file I would like to use main.phphow would i do that? The reason I dont think its url rewriting is the rest of the files have all their values eg: somesite.com/?blah=blah somesite.com/?something=something&do=1 somesite.com/?page=intro&flash=no etc Thanks, Ryan > On Wed, J

Re: [PHP] Quick q, most prolly 0T

2005-06-02 Thread Ryan A
Hi Chris, Thanks for replying > > I noticed a site that is using php, but he is has shortened > > the url so that the filename was not shown.. > > eg: > > somesite.com/?a=1 > > > > How did they do that? > > It's called a directory index. Examples in

[PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
Hey, The end of the world is at hand how do I know this? coz my mom wants her own site! My mom; the person who hated computers coz "those 'things' are too damn complicated"! Anyway, thought I'll do it for her to kind of repay a bit of carrying me for whole 9 months, a

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: > Ryan A wrote: > > > > I had a real good flash header which she too liked, so I modified the > header > > and she really liked it, > > problem is, its around 230kb to load, so I thought > I&#x

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
mation and the intro music will play each time...which I am > > guessing can > > be quite irritating. .. > It's > very irritating everytime, even the first time. And it might very > well be the reason why it's also the last time. :-) its for a womens sitemo

RE: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-04 Thread Ryan A
Hey, Thanks for replying. > > Since its a forum and she is not doing any advertising its important the search engines index the site > > properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like > > frames muchso I was thinkin

Re: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A rock and a hard place" etc) - - - -> (0T)

2005-06-05 Thread Ryan A
/* Personally I reckon: a) you should simplify that flash banner quite a bit. It keeps animating for a long time(forever?). You're drawing the readers attention away from the site, and to a flash banner. I think for subsequent pages, there should be no animation(at all), and for the initial

Re: [PHP] Happy Birthday, PHP!

2005-06-08 Thread Ryan A
> Ten years ago today, Rasmus announced Personal Home Page Tools (PHP > Tools) version 1.0. Today, numerous people contribute to PHP and to the > nurturing of its community, but the project has never lost sight of > Rasmus's original goal of solving the web problem. > > Thanks (of course) to Rasm

[PHP] Email screwing my swedish characters

2005-06-27 Thread Ryan A
Hi guys, Having a bit of a problem, I've just completed a project for a Swedish company, when someone joins the site they get a welcome letter, but unfortunatly in the welcome letter the Swedish characters ÖÅÄ and öåä are getting replaced with a "?" (without quotes) Any idea what

Re: [PHP] Re: Email screwing my swedish characters

2005-06-27 Thread Ryan A
Hi, Thanks for replying. > > when someone joins the site they get a welcome letter, but > unfortunatly in > > the welcome letter > > the Swedish characters ÖÅÄ and öåä are getting replaced with a "?" > (without quotes) > You cannot send messages with 8

Re: [PHP] Zeus Technology wins again!

2005-06-28 Thread Ryan A
SPAMMING SOB. On 6/27/2005 7:20:45 PM, Jock Busuttil ([EMAIL PROTECTED]) wrote: > Zeus Technology has won a further two awards from TechWorld for our > groundbreaking Zeus Extensible Traffic Manager (ZXTM), an advanced load > balancing and application traffic management solution. ZXTM

Re: [PHP] looking for a pure startup opportunity..OT

2005-06-28 Thread Ryan A
> The fact is... there are at least 4 people that regularly post on this > list that "misinterpreted" what you stated. Umm, I dont know if you have counted me, but if you have not...make that atleast 5 ppl :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] looking for a pure startup opportunity..OT

2005-06-28 Thread Ryan A
On 6/29/2005 12:16:58 AM, [EMAIL PROTECTED] wrote: > Well, unfortunately you just contradicted yourself as well. I had about 18 > e-mails of the same thing, so I was replying about those. > > Thanks for your input though, It's appreciated. Sure thing, you're welcome dude! -- PHP General Mailing

Re: [PHP] looking for a pure startup opportunity..OT

2005-06-29 Thread Ryan A
On 6/29/2005 4:00:30 PM, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > > >This really > shouldn't be getting out of hand the way it is... if you don't > >like it, > trust it, agree with it - why not just ignore it? > It's as simple as &g

Re: [PHP] Do not send private email to a public list (was Re: [PHP] looking for a pure startup opportunity..OT)

2005-06-29 Thread Ryan A
> I apologize to continue this but what Ryan A did was rude (regardless of > the original issue) and should be a lesson of what not to do for others. And i apoligise for coninueing this too but... > Ryan A replied to a private email from me and sent it to this list. You > w

Re: [PHP] Conceptional question

2005-06-29 Thread Ryan A
Hey, > Depends entirely on how many images you expect to be held in this > folder at any one time. Whilst all modern operating systems can cope > with lots of files, you hit a certain level* beyond which system > performance suffers increasingly. > > Personally I'd c

Re: [PHP] Technology Forums

2005-07-01 Thread Ryan A
Hi, > We've our new Technology Forums started from India. > http://forums.mediasworks.com/ > I invite you all to join our community. > http://forums.mediasworks.com/ > > > Thanks & regards. > > This mail is not a SPAM or solicitation badly. > This is a

Re: [PHP] Technology Forums

2005-07-01 Thread Ryan A
My bad, sorry. Have a habit of hitting the reply all button, used to only reply to the person who sent the email but then got told to reply to the list too as others too can follow the help thread.. so made a habit of that Damned if i do, damned if i dont :-) -Ryan > > I would rath

[PHP] x years old

2005-07-02 Thread Ryan A
Hey guys, This is the code I am using to display a persons age from the mysql db: $day1=strtotime($age); $day2 = strtotime(date("Y-m-d")); $dif_s = ($day2-$day1); $dif_d = ($dif_s/60/60/24); $age = round(($dif_d/365.24)); but when someone entered their birth day($age) as 1988-07-06 it

Re: [PHP] Re: x years old

2005-07-02 Thread Ryan A
Hey, On 7/3/2005 2:12:35 AM, Colin Ross ([EMAIL PROTECTED]) wrote: > and for completeness of the topic, ceil() will round fractions up. > i.e. > > ceil(16.1) = 17 > ceil(16.0) = 16 > > I think the Credit Card Industry using ceil() alot ;P > Well, either i am dumb or that is pretty go

Re: [PHP] Re: x years old

2005-07-02 Thread Ryan A
> Use floor() instead of round(). Using the round() function will round > anyone whose age is above 16.5 to 17, while floor() always rounds down. Thanks mate...silly me. Cheers, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unsubscribe me

2005-07-05 Thread Ryan A
What problems are you having when trying to unsub yourself when you go here: http://www.php.net/unsub.php ?? -Ryan On 7/5/2005 7:41:32 AM, anshul ([EMAIL PROTECTED]) wrote: > Please unsubscribe me. > I don't wanna recieve many e-mails to inbox. > > -- > PHP General Mailing List (http://www.php

[PHP] date() problem

2005-07-06 Thread Ryan A
Hi, I'm confused, this should give me the age as 17 instead of 16...but it does not...any ideas why? Thanks, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date() problem

2005-07-07 Thread Ryan A
Hey Richard, Thanks, you've pulled my butt outa the fire again :-) Cheers, Ryan On 7/6/2005 10:59:36 PM, Richard Lynch ([EMAIL PROTECTED]) wrote: > On Wed, July 6, 2005 12:07 pm, Ryan A said: > > > I'm confused, this should give me the age as 17 instead of 16...but it

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ryan A
Hey, > > The typical way that forums handle this is to use what is called > > "BBCode". In short, you have a non-HTML way for users to supply > > [i]This text will be in italics.[/i] > > [b]This text will be in bold.[/b] > If you're gonna all

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ryan A
Hey, > > The problem with this approach is if people dont close their tags properly > Nothing makes it impossible for me to hand type and not close one of those > tags. > > [i]blah Yep, but this has no way of breaking my html the max you would get is: [i this will be in italics which is

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ryan A
> > Yep, but this has no way of breaking my html > > If [/i] is missing, it'd be the same as being missing. > > I can just as easily clean out any missing tags as I can any > missing [/i] tags. > I am not really bothered about the closing tags (for example ) I am more bothered about the ope

[PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ryan A
Hey, At this stage am pretty much brain dead and getting a simple percentage is too much for me now. Basically, I have these two fields: $pic_no_of_votes $vote_total_pts and this totals them up and keeps the average: $average_pts people vote on a scale of 1-5, so the average should be between 1

RE: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ryan A
> > people vote on a scale of 1-5, so the average should be between 1-5 > > (right?? am not even sure of this!) > > Yes. > > > I was thinking of rounding it with a 2 decimal point...eg: > > round(5.045, 2) > > > > Just need to solve this and them

[PHP] skewed up images

2005-07-15 Thread Ryan A
Hey, Below the code code I am using, but before you see it let me try to explain it a bit to you. Basically I first check to see if a certain image has a bigger width, bigger height or they are equal, according to that I call the correct function. I point the script to a image file (.jpg) then

Re: [PHP] skewed up images

2005-07-16 Thread Ryan A
th is more I want to cut out 90pix from > RA> the middle of the pic...instead its giving me a skewed image as > RA> you can see from > > RA> Any ideas? I know I screwed up somewhere in the function...but just > cant > RA> figure it out... > > If the width is great

Re: [PHP] Is there a way to get a variable name as a string?

2005-07-18 Thread Ryan A
Maybe something like: Function myname ($foo) { $return_value="the variable name passed in is ".$foo; return $return_value; } echo myname($bar); Just a guess. On 7/19/2005 3:27:57 AM, Daevid Vincent ([EMAIL PROTECTED]) wrote: > Is there a way to get the name of a variabl

Re: [PHP] Is there a way to get a variable name as a string?

2005-07-18 Thread Ryan A
I didnt totally understand you q in the beginning (and still dont fully), but > > Is there a way to get the name of a variable as a string? For example... > Nope, not possible. > -Rasmus the man has spoken :-D -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] how to post a question?

2005-07-22 Thread Ryan A
> I was wondering how can I ask a question to the other subscribers? Dude, when you figure it out let me know too... :-p -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to post a question?

2005-07-22 Thread Ryan A
Hey, Getting the code from the remote site is easy enough, you just gotto find the images now, but heres something that should get you the basic code including the javascript: http://www.dtcc.com/ThoughtLeadership/menu.htm'); echo $filename; ?> once you have the code, start converting the relativ

Re: [PHP] how to post a question?

2005-07-22 Thread Ryan A
Hey, The problem might be with your php settings, run phpinfo() and see if allow_url_fopen is set to ON heres where i uploaded what i did so far, little more needs to be done so that the mouseover images work: http://php-php.com/a2ztips/test.php The way I did it is in a *very very very dirty way

Re: [PHP] how to post a question?

2005-07-22 Thread Ryan A
$filename); echo $filename; echo "done"; ?> You would still have to replace the links to the full path instead of the relative path that it now has. The str_replace calls are kinda expensive IMHO, a good regex would be better (like I said in my last mail) another thing to note is sometimes

Re: [PHP] how to post a question?

2005-07-24 Thread Ryan A
Hey Rich, > > The str_replace calls are kinda expensive IMHO, a good regex would be > > better > I'd be interested to see a benchmark (any benchmark) where str_replace is > SLOWER than the corresponding Regex... I am not very good with RegEx's myself, and I have n

[PHP] safe mode

2005-07-26 Thread Ryan A
Hey! I presently require hosting with a company that has their servers in Sweden, and I need a shared hosting account, any recommendations are welcome, the server is for a client. I have found quire a few via google but I noticed most of them are with Safemode ON and Register_globals ON which I

RE: [PHP] safe mode

2005-07-28 Thread Ryan A
Hey Kim, > I would *never* host anything on a server with safe_mode on! Just 1 day late :-( just bought hosting for a year with b-one.se :-( Whats the main reasons you would never host with safe mode on? and whats this: s/safe_mode on/safe_mode off/ ?? Thanks, Ryan -- PHP General Mail

[PHP] input type=file problem (Maybe 0T)

2005-07-30 Thread Ryan A
Hey, Heres what I am doing, I have a form where a user can enter values and in the form I have a FILE box so the user can upload her pic, if she screws up anywhere (eg: putting an alphabet in her date of birth) I send her back to the form and her date of birth gets highlighted plus the value she

Re: [PHP] input type=file problem (Maybe 0T)

2005-07-30 Thread Ryan A
> > setting a VALUE="path/file" but that > > does not work. > As far as I know, you > can't set the initial values for 'file' inputs. > It's a security thing. H, you're right,saw the same thing on google after digging a little dee

[PHP] Limit emails from servers & recommend a control panel (most prolly 0T)

2005-08-01 Thread Ryan A
Hi, A client of mine wants to offer freehosting to tech companies in Sweden. (He plans to take a dedicated *unix server) 1) The main problem with offering hosting is there are some SOBs who will use that account to spam, so he asked me if it is possible to limit the amount of emails from each

Re: [PHP] Limit emails from servers & recommend a control panel (most prolly 0T)

2005-08-01 Thread Ryan A
Hey, > 'prolly' is not a member of the english language. > and yes it's completely off topic but you knew that... Yep, I prolly did :-) Should have taken out the "most prolly" and just had OT, my apoligies. Cheers, Ryan P.S Join me in my campaign to get &quo

RE: [PHP] Limit emails from servers & recommend a control panel O T

2005-08-01 Thread Ryan A
> [/snip] > P.S Join me in my campaign to get "PROLLY" as a member of the > English langauge... > > If enough people use it, it will prolly get into the dictionary in a few > years. > [snip] > > I ceriusly dowt it. Hahahahah good one -- PHP General

Re: [PHP] Limit emails from servers & recommend a control panel (most prolly 0T)

2005-08-01 Thread Ryan A
> > P.S Join me in my campaign to get "PROLLY" as a member of the > > English langauge... > > > > If enough people use it, it will prolly get into the dictionary in a few > > years. > > > > :-D > > > Here in Texas it's > a

[PHP] Getting average down to 5

2005-08-11 Thread Ryan A
Hey, Having a bit of a problem working out the logic to this one (its 5am now...), basically people vote on pics like hotornot.com, but here they vote on a scale of 1-5 (one being something like what was hit by a bus at birth and five being the person you will never have a chance to have

[PHP] formatting problems:

2005-08-16 Thread Ryan A
Hi, My database has a table called movies which has data like this: flick_name ,flick_cover, part_url flick_name is the name of the movie, the movie is cut into several pieces for faster downloads part_url is the full path to each of the pieces eg: home movie 1 ,a.gif, http://movieserver.com

Re: [PHP] formatting problems:

2005-08-16 Thread Ryan A
On 8/16/2005 9:59:30 PM, Scott Noyes ([EMAIL PROTECTED]) wrote: > It's not clear to me how strict you want to be regarding the > formatting. Are you trying to keep scenes together on each line, or > just dump everything and let it wrap where it needs to? Perhaps you > could

Re: [PHP] Be careful! Look at what this spammer did. (Thank you)

2005-08-18 Thread Ryan A
Hey, Funny, was following this thread and suddenly I got a few emails that were almost exactly in the same format... Anyway, I just want to send a thank you to whoever had the bright idea of replacing the @ with something else its a quick and easy method and should solve that problem (in tests it

Re: [PHP] php vulnerability

2005-08-22 Thread Ryan A
> If you > don't have the ability to do this yourself, you can hire > someone to do a code audit for you. Chris Shiflett (brainbulb.com) I > believe provides this service. Chris is a dude who has helped me and a lot of others dozens of times on this list as he is a regular co

[PHP] read directory and paginate

2005-08-26 Thread Ryan A
Hi! A little while back there was a post where someone needed to read all files (images/thumbs) from a gallery and paginate them automatically, I cannot find the thread in the archive but if anybody can point me to the thread or knows how the poster solved his problemplease reply as i need

Re: [PHP] read directory and paginate

2005-08-26 Thread Ryan A
Thanks mate, will check them out Cheers, Ryan On 8/26/2005 6:45:34 PM, Philip Hallstrom ([EMAIL PROTECTED]) wrote: > > A little while back there was a post where someone needed to read all > files > > (images/thumbs) from a gallery > > and paginate them automatically, I c

[PHP] online/offline...but on a list of users

2005-09-04 Thread Ryan A
Hi, I have a profiles page where next to the username I have a icon that says "Online" or "Offline" if the persons whose profile you are browsing signed in or clicked anything in the last 3 minutes (I am also using a meta refresh to call a script every 2 1/2 mins) this

Re: [PHP] online/offline...but on a list of users

2005-09-04 Thread Ryan A
> I want to add this same functionality to a forum on the same site (the forum > was custom programmed > from scratch and not any of the popular ones), but since in a single thread > there can be a lot of different > people/usernames that answer I would prefer _not_ to do a se

[PHP] Better timestamp explanation to the client

2005-09-08 Thread Ryan A
way to make it look like this: Last seen: Less than a minute ago! Last seen: 25 mins ago Last seen: 2 hours 11 mins ago Last seen: 1 (or 2 or 3) day/s ago else{ echo $last_seen; } I have seen this done on a few sites (Swedish sites actually, I can give you the URLs if you need them) I

Re: [PHP] Variables not available

2005-09-12 Thread Ryan A
On 9/12/2005 9:00:46 AM, Dotan Cohen ([EMAIL PROTECTED]) wrote: > I am running php 5.0.4 at home on my Fedora Core 4 box. Post and get > variables are not available in my scripts. For instance, in > file.php?foo=bar the variable $foo is empty. Same thing for variables > passed in forms (get or pos

[PHP] Best way to mass mail

2005-09-12 Thread Ryan A
Hi, My client has a dating site and now he wants to mail all his members, he does not want to use any of the already installed mailing lists but wants us to make one for him, he's on a dedicated server. Presently he does not have too many members, just a few thousand (around 3k i gues

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Ryan A
Hey, Thanks Mark, Matthew, Manuel and Miles. (Yep, even i thought it was quite funny how only ppl with their firstnames that start with M replied :-D , sounds almost like I will be quoting the bible next!) You guys have given me some very good starting points, will look into it. Feel free to chi

Re: [PHP] Best way to mass mail

2005-09-12 Thread Ryan A
Hey, > You may even try to look at: http://pear.php.net/package/Mail_Queue Thanks, Will do! Cheers, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Quick Poll: PHP 4 / 5

2005-09-13 Thread Ryan A
Hi, I work for a company that makes websites and does custom programming for private indviduals and companies, I also freelance (like many on this list) I'm a bit curious, so far I have had no need to upgrade my skills or use the slightly different format / functions of PHP 5.x.infact I

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-13 Thread Ryan A
Hey all, Hehe, sorry, didnt mean to ruffle anyones feathersjust reply to me and not the list if you want to. Thanks to everyone who replied, esp those like Manuel Lemos who wrote a pretty long explanation for his reasons, as did [EMAIL PROTECTED] (sorry mate, you didnt leave your name in the

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Ryan A
Hey everyone, I'm the original guy who started this thread, now that it has taken a totally different curve from what I originally wrote, kindly dont forward your reply to me and the list, the discussion is good though,I just dont need two copies of it :-) Cheers, Ryan -- PHP General Ma

[PHP] delete duplicates from array and insert statement

2005-09-17 Thread Ryan A
Hi, I have a movie database with this structure: flick_name text part_url text part_size varchar(50) time_length varchar(50) part_format varchar(10) and my select statement is something like this: insert into table values ("abba",http://...abba1.wmv,"3 mb&

Re: [PHP] It's A Windows World

2005-09-18 Thread Ryan A
> > no! > it's not a Windows World anymore.. ;-) > > > > http://news.netcraft.com/archives/web_server_survey.html > > And for those who need a second opinion: > http://www.securityspace.com/s_survey/data/200508/index.html I would like to think I helped a

[PHP] Problem with mysql_connect(...)

2005-09-19 Thread A T
ster!"); $host, $user, and $password are set to correct values (checked and double checked). The funny thing is that not only does the function call fail, but I'm not even getting the text defined by die("..."). It seems that the function call is more or less a black hole. Of co

Re: [PHP] Is PHP the language for me???

2005-09-23 Thread Ryan A
On 9/24/2005 12:14:55 AM, Greg Donald ([EMAIL PROTECTED]) wrote: > On 9/23/05, Emily McCall <[EMAIL PROTECTED]> wrote: > > I am trying to figure out whether php will help me to set up a website > > which is essentially just links to donwloadable material. > > > >

Re: [PHP] Is PHP the language for me???

2005-09-23 Thread Ryan A
On 9/24/2005 12:46:39 AM, Thorsten Suckow-Homberg ([EMAIL PROTECTED]) wrote: > > Yep, PHP can certainly do that, and once you start you wont find a > > friendlier place > > if you need help...without this list I wouldnt be a programming in PHP > > todayokay, maybe I w

[PHP] Fatal error loading extension

2001-02-13 Thread A. Giacomelli
Hi, I have managed (with some struggle) to compile an extension for PHP. I tried to open a test page, loading the extension wit the dl command, and this is what I get: Fatal error: Unable to load dynamic library '/opt/gislab/php/extensions/php_mapscript.so' - ld.so.1: /opt/gislab/

[PHP] ALLOW FILE UPLOADS...?

2005-08-12 Thread <&lt; z a p a n >>
hello, sorry in advance if my question is naive.. i'm trying to allow file uploads. optimally i'd like to store these files (jpgs, mostly) directly to a folder in my httpdocs.. i've heard something about file uploads not being allowed if server is set to safemode.. not sure wh

[PHP] conditional statement inside while loop?

2005-09-01 Thread <&lt; z a p a n >>
Hello everyone, I'm using a while loop to display a list of people contained in my database. I'd like to assign different font colors to each depending on which city they're from, but I can't seem to get an if/elseif/else statement to work inside the while loop. Is there an

Re: [PHP] conditional statement inside while loop?

2005-09-02 Thread <&lt; z a p a n >>
Murray, Miles, Cristea & Jim: Thanks a lot, I got it figured out. Peace, -z >> Hello everyone, >> >> I'm using a while loop to display a list of people contained in my >> database. >> I'd like to assign different font colors to each depending on whi

[PHP] does anybody know PHPlib's source site?

2002-12-03 Thread Alexander A. Savenkov
Hi All. does anybody know PHPlib's source site? or may be you can tell me which template engine is more efficient or usefull or comfortable? Alexander A. Savenkov System Administrator mailto:[EMAIL PROTECTED] JSC "Terminal GMB" http://www.terminalgmb.ru -- PHP

[PHP] need advice on template engine

2002-12-03 Thread Alexander A. Savenkov
Hi PHP. Suggest me which template engine is more popular? I try select engine for me but I alredy become involved in that number different version Alexander A. Savenkov System Administrator mailto:[EMAIL PROTECTED] JSC "Terminal GMB" http://www.terminalgmb.ru -- P

Re[2]: [PHP] need advice on template engine

2002-12-03 Thread Alexander A. Savenkov
Hi Justin. JF> http://smarty.php.net seems polular It seems to me too but i thick may be I can miss smthng important Alexander A. Savenkov System Administrator mailto:[EMAIL PROTECTED] JSC "Terminal GMB" http://www.terminalgmb.ru -- PHP General Mailing List (http://www

Re: [PHP] apache on w2k

2002-12-03 Thread Alexander A. Savenkov
r as public internet server Alexander A. Savenkov System Administrator mailto:[EMAIL PROTECTED] JSC "Terminal GMB" http://www.terminalgmb.ru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] freelancer site

2002-12-04 Thread Alexander A. Savenkov
Hi adi. You whant this script for free? a> I'm looking for an open source kit php for making a freelancer site like: a> http://www.scriptlance.com/ a> The hired can bid for a job posted by employer. a> Anyone found one? a> Tx in adv for any help, I tried google, sourceforge

[PHP] Missing logos

2002-12-31 Thread Richard A Downing
I have just installed 4.3.0 with apache2.0.43. Running a standard test.php file consisting solely of: results in incorrect html with the image sources of the logo incorrectly formed. See below. The src="d/public_html/test.php?=PHP... should, I think be src="~/public_html/test.php

[PHP] Missing logos

2002-12-31 Thread Richard A Downing
I have just installed 4.3.0 with apache-2.0.43. I did not have this problem with 4.3.0RC4 which this build overwrote. My system is Linux-2.4.21pre1, gcc-3.2.1, glibc-2.3.1. Running a standard test.php file consisting solely of: results in incorrect html with the image sources of the php and

[PHP] Cookies problem

2003-01-23 Thread Sabina A. Schneider
x27;t know what to put in cookieDomain... it should be my server name, no? But doesn't function... I want to do the following: first the user enters a page and if he/ she doesn't have a cookie so I can recognize him/ her, I display a form so the user can complete it with hi

[PHP] MySQL Functions Setup

2003-01-23 Thread Michael A Smith
Hello All, I'm trying to setup a RedHat Psyche (8.0) server. So far, all well. However, I just ran into a problem with MySQL. PHP doesn't have the MySQL functions in it. Is there another way to install those without having to re-compile PHP? Thanks for any and all help, -Michael S

[PHP] Locale install

2003-02-17 Thread David A Dickson
The system I am wroking on only has english locales. How do I install the french locales? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Data from DB

2003-02-17 Thread David A Dickson
On Mon, 17 Feb 2003, Miguel Brás wrote: > Hello gents, > > I have a table with users and passwords with over than 100 rows. > I have 7 specific users that I wanna display on a page, as well their data. > > How can I display this specific users on the page? A little more info

[PHP] Convert *.PST Files to Something Else (LDAP...)

2003-02-21 Thread Michael A Smith
Hi, Is there any way using PHP (or any thing else, preferably PHP) to convert a MS Outlook *.PST file to another file that would be usable by PHP, using only PHP scripts, or even a CGI? I am working on an open-source project called falconmail that needs to be able to import all sorts of mail

Re: [PHP] Displaying images

2003-02-22 Thread Sam A. Funk
flat file */ $img_loc_filename = "032902.jpg"; $img_width = 300; $img_height = 200; $img_description = "Description Here"; echo ""; --End Code Here Or something along those line Sam I'm a newbe to php and am trying to develop a routine to display artwork on my

[PHP] loosing mysql connection with PHP 4.3.1

2003-02-28 Thread Pablo A. Godel
Hello, We recently upgraded a development server running RH Linux 7.2 from Apache 1.3.26/PHP 4.2.3 to Apache 1.3.27/PHP 4.3.1. A day after the upgrade, we started experiencing lost of connections to MySQL DB. The DB server is in a remote server. The error that I am getting is: PHP Warning

Re: [PHP] Is it an apache or a php-problem?

2003-02-28 Thread Sam A. Funk
If you change the call to mysql_connect() instead of mysql_pconnect(), does it work? If so, your recent updates may have messed up the settings for persistent connections. On Fri, 2003-02-28 at 13:09, Henning wrote: Hello I use Apache/1.3.27 Server I use to use a mysql-connection, but now

[PHP] php forgetting variables very easily

2003-03-04 Thread Ian A. Gray
Hi everyone.I am probably doing something obviously wrong but I can't seem to sort it! It's regarding variables.In one script, lets call it main.php I make a variable- say $colour. It inludes a file which prints the variable: main.php new.php Ok, this works fine for me. However

[PHP] trailing slash

2003-03-04 Thread Michael A Smith
Hi all, How come some servers (like one of our RH7.3s) can accept a www.somewhere.com/foldername without the trailing slash and others (like my RH8.0) gives a 404 error? -Michael -- Some people's minds are like cement; all mixed up and permanently set. Life is full of obs

[PHP] Re: php forgetting variables very easily

2003-03-05 Thread Ian A. Gray
won't have the link tag or if $name = contact then contact won't be linked. I know I am not explaining this very well, but I hope this is clear. Ian Gray = - Ian A. Gray Manchester, UK Telephone: +44 (0) 161 224 1635 - Fax: +44 (0) 870 135 0061 - Mobile: +

[PHP] Re: php forgetting variables very easily

2003-03-05 Thread Ian A. Gray
Thanks, John- that works brilliantly. Just wandering how I can include a file in a different directory so that it still remembers variables. for example what if I want to include the file www.example.com/two/example.php in the file: www.example.com/one/example.php ? would include('

[PHP] html mail

2003-03-10 Thread Ian A. Gray
Hi, I am quite new to php and I am trying to find a way of sending details of a web form over e-mail in both text and html format. There are numerous sites on the web that try and explain how to do this but they are worded very complicated and to be honest I haven't found one that is particu

[PHP] html mail

2003-03-10 Thread Ian A. Gray
l programme can decide how to read it. Ian Gray = ----- Ian A. Gray Manchester, UK Telephone: +44 (0) 161 224 1635 - Fax: +44 (0) 870 135 0061 - Mobile: +44 (0) 7900 996 328 US Fax no.: 707-885-3582 E-mail: [EMAIL PROTECTED] - Websites: www.baritone.uk.c

[PHP] PEAR DB Error

2003-03-13 Thread Michael A Smith
Hello, I am using a script running PEAR. I did a: $db = DB::connect($database_string); at I get the error: Fatal error: Undefined class name 'db' in /var/www/html/prattcms/variables/global.inc.php on line 17 Any ideas? -Michael -- Some people's minds are like cement; a

[PHP] PHP5 - Bugs

2003-07-01 Thread Michael A Smith
Hey, Can't figure this out... whenever I try to use any mysql functions or anything, I get problems. PHP throws a DNS error... what's up with that? -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    8   9   10   11   12   13   14   15   16   17   >