[PHP] Templates???
Can anyone direct me to some sample PHP code that extracts HTML from a template file and replaces the, say, "%field%" tags in the HTML with variables from the PHP file. Just like what Gossamer Threads Links program does with Perl. So, any 1 have any links?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] 2 NEWBIE QUESTIONS
1) Is there any PHP command that'll convert a MySQL database timestamp into a format that humans can read?!! For example, I want to change "20010822001245" into "00:12.45 on the 22-08-2001"? 2) This is the hard question. I have a script that gets values from a database and then includes a php page which contains "echo $variable" code to get the values from the database onto the page. What I want to do is have the PHP page code in the main script instead of being included externally. So i tried putting the code into a variable and then including, but it didnt work. Then I tried echoing the variable but the PHP code isnt executed. If you dont fully understand my question, mail me. I'm really stuck and NEEDD HELP!!! TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Dynamic Pages and Search Engines
Ok, i have a script that creates a page that will be submitted to search engines. I had originally planned on having one line of code on the search engine page: include(http://localhost/freelance.php3?id=1); But for some reason, it doesnt work. I've tried everything, changing the php3 to php and include("freelance.php3?id=1") The only thing that works is header location("balh balh... but that redirects to the freelance.php3?id=1 page and *i think* thats bad for search engines (isnt it?) So what I'd like some info on is why my include() function doesnt work and does a header lcoation command make any difference to the search engines. THANKS IN ADVANCE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Database Function
I have a simple php script that searchs a MySQL database and returns results that I made myself and I'm trying to implement code that splits the results into x amount of pages, buts it really tricky. Can anyone give me a link to some code or even better, a search database script that I could adapt for my own needs? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Logged in User?
How do I find out with PHP who the current .htaccess user is??? Enviroment variables? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Logged In User???
How do I find out with PHP who the current logged in .htaccess user is??? Enviroment variables? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Check Boxes and updating records. (HELP ME....)
OK, I've a page for my users to sign up on my website and in the form, there's a few checkboxes fields. So I set the name of the check boxes as name[] and PHP made an array of all the options choosen. All the check boxes values are numbers, so I got all the numbers from the array, put a comma between them all and inserted them as one field in my database. Easy. It worked well. But now I've a problem. I want to give users the option of changing their details when they log into the site. So I get the form and put in every text box so the user sees their record. I had a small problem with showing choosen values in dropdown lists and radio options but i solved them both. But I cannot think of any way to show what check boxes were choosen by the user. Could anyone help me? PLEASE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Writing PHP files from inside a PHP file
I want to extract information from a database table and create a half-static, half-dynamic PHP page from the info. I want to store the template for the new page in an external file with tags in the places where I want variables to be printed. What;s the best of achieving this?? I tried "fread" but that just printed "" to the static page instead of replacing it with the value. Any suggestions? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Writing PHP files from inside a PHP file
yea, evals() exactly what i needed, tanx "J Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > include() and require() were suggested, but you may also want to look into > eval(), which parses a string as PHP code and returns the parsed PHP. > Sounds like what you're looking for. (I.e. storing PHP code in a database, > right?) > > J > > > > Georgie Casey wrote: > > > I want to extract information from a database table and create a > > half-static, half-dynamic PHP page from the info. I want to store the > > template for the new page in an external file with tags in the places > > where I want variables to be printed. What;s the best of achieving this?? > > > > I tried "fread" but that just printed "" to the > > static page instead of replacing it with the value. > > > > Any suggestions? > > -- > > Regards, > > Georgie Casey > > [EMAIL PROTECTED] > > > > *** > > http://www.filmfind.tv > > Ireland's Online Film Production Directory > > *** > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search Page
I'm making a search page on my site where users enter certain criteria and I ouput the results like many other webistes: By first telling how many results were generated, then having dynamic pages to view, say, 10 results at a time. So first I have to SQL the database to get totalresults, then cancel that query and query again with a "LIMIT" tag on the end to display the first 10 results. Is there a more efficient way of doing what I'm trying to do? I coded it myself so its probably poor, design-wise. Am I going about it the right way? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] A MYSQL COUNTER
whenever they're is a new unique visitor, I want a script to email the member about who visited. And have a permanent record for each member of who viewed their pages, accesible when they login. "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The question you must answer first: what do you intend to do with the data > once it's collected? Will you simply review the data without sorting it or > performing data manipulation? If so, why incur the overhead of MYSQL? If > all you need to do is log the user page hits, use a text file; then use > grep/awk/sed/perl/php to search for specific users with their page hits, > etc. > > Define your requirements more explicitly, then choose a solution. > > -Original Message- > From: Matthew Walker [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 11, 2002 6:39 PM > To: Georgie Casey; [EMAIL PROTECTED] > Subject: RE: [PHP] A MYSQL COUNTER > > > This is too much for a text file. You should definitely use MySQL for > this. > > Matthew Walker > Ecommerce Project Manager > Mountain Top Herbs > > > -Original Message- > From: Georgie Casey [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 11, 2002 3:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP] A MYSQL COUNTER > > I need a way of tracking what user was logged in when vieweing a > particular > member page, so I'm thinking of having EVERY unique page view of each > member > page added to a MySQL database, which just the ip, time and date, server > name and browser, stuff like that. Is this too much for a MySQL DB??? > Should > I just write all the info to a textfile??? > > TANX > > -- > Regards, > Georgie Casey > [EMAIL PROTECTED] > > *** > http://www.filmfind.tv > Ireland's Online Film Production Directory > *** > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] A MYSQL COUNTER
yea, I'm going to use MySQL for it. Tanx "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I just looked at your website (http://www.filmfind.tv) to get a better > feeling for what you might be after. Based upon your comments below and the > purpose of filmfind.tv, it appears a mysql solution might be required. At > the least, you need to store the email address of your members. I assume > you already have that stored elsewhere. > > Second, the requirement for "new unique visitor" is the phrase that pays > here. You will need to maintain a list of visitors and search that list to > determine uniqueness. A database would be the fastest to develop. > > As to whether your application is too much for MYSQLworry not. There > are MYSQL DBs out there with millions of rows and very complex relational > structures. > > -Original Message- > From: Georgie Casey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 11:00 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] A MYSQL COUNTER > > > whenever they're is a new unique visitor, I want a script to email the > member about who visited. And have a permanent record for each member of who > viewed their pages, accesible when they login. > > "Rick Emery" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > The question you must answer first: what do you intend to do with the data > > once it's collected? Will you simply review the data without sorting it > or > > performing data manipulation? If so, why incur the overhead of MYSQL? If > > all you need to do is log the user page hits, use a text file; then use > > grep/awk/sed/perl/php to search for specific users with their page hits, > > etc. > > > > Define your requirements more explicitly, then choose a solution. > > > > -Original Message- > > From: Matthew Walker [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 11, 2002 6:39 PM > > To: Georgie Casey; [EMAIL PROTECTED] > > Subject: RE: [PHP] A MYSQL COUNTER > > > > > > This is too much for a text file. You should definitely use MySQL for > > this. > > > > Matthew Walker > > Ecommerce Project Manager > > Mountain Top Herbs > > > > > > -Original Message- > > From: Georgie Casey [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 11, 2002 3:22 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] A MYSQL COUNTER > > > > I need a way of tracking what user was logged in when vieweing a > > particular > > member page, so I'm thinking of having EVERY unique page view of each > > member > > page added to a MySQL database, which just the ip, time and date, server > > name and browser, stuff like that. Is this too much for a MySQL DB??? > > Should > > I just write all the info to a textfile??? > > > > TANX > > > > -- > > Regards, > > Georgie Casey > > [EMAIL PROTECTED] > > > > *** > > http://www.filmfind.tv > > Ireland's Online Film Production Directory > > *** > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problems with Cookies
Rite, a user logs in at http://localhost/employers/login.php and PHP sets a cookie, eusername, that has his username, funnily enough. then he clicks on to the /employers/search.php, submits his query and clicks on the page of http://localhost/freelancers/some_guy/index.php When I have a bit of PHP code at the top of /some_guy/index.php that check if an employer is looking at this site. ""){ do this; } ?> But PHP keeps telling me that eusername IS equal to "" and no employer is logged in, when they're definately is. WHY?? Has it something to do with the scope of cookies?? Because when I check if eusername exists in a page in the employers directory, it works fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Problems with Cookies
email me if you dont understand something about my question. I read it back to myself, and it all sounds so complicated! TIA "Georgie Casey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rite, a user logs in at http://localhost/employers/login.php and PHP sets a > cookie, eusername, that has his username, funnily enough. > > then he clicks on to the /employers/search.php, submits his query and clicks > on the page of http://localhost/freelancers/some_guy/index.php > > When I have a bit of PHP code at the top of /some_guy/index.php that check > if an employer is looking at this site. > if ($eusername <> ""){ > do this; > } > ?> > > But PHP keeps telling me that eusername IS equal to "" and no employer is > logged in, when they're definately is. WHY?? Has it something to do with the > scope of cookies?? Because when I check if eusername exists in a page in the > employers directory, it works fine. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Uploading Files through PHP
I'm trying to let users upload word files through a PHP form but its not working! The script keeps telling me that the file path doesn't exist. HERE'S THE CODE I USE IN THE FORM PAGE: is the code on the form page, when i submit i'm told the $wordcv is a null. WHY?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] the date90 fucntions gone haywire!
The date() function is returning the 19th of Januray 2038 as *ALL* dates no matter what timestamp i feed it! whats goin on?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] the date90 fucntions gone haywire!
the time stamp i'm giving its perfect! i echoed some already and there's no problem. i'm using the code: $time = date("d-m-y", $timestamp); the £timestamp i'm feeding its is perfect, with the year first, then month, date, etc... "Dl Neil" <[EMAIL PROTECTED]> wrote in message 077b01c1c0aa$7531dd20$c200a8c0@jrbrown...">news:077b01c1c0aa$7531dd20$c200a8c0@jrbrown...; > Hi Georgie, > > > The date() function is returning the 19th of Januray 2038 as *ALL* > dates no > > matter what timestamp i feed it! whats goin on?? > > > Result outside the UNIX epoch. > Sounds like DATE()'s being fed some crazy data. > What is the server's ToD clock showing? > Make sure you debugECHO the source data before you feed it to DATE(). > Post some code and results from the browser and we may be able to point > fingers! > > Regards, > =dn > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpAdsNew
I'm getting loads of "undefined variable" errors with this script. any1 know why? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpAdsNEW HELP!!!!
I just download the 6.1 beta of phpAdsNew off sourceforge and installed it on my localhost. I set everything right but when I login to admin I get a "undefined variable, $zoneid" error from config.inc So I just added a "global $zoneid;" line and I half got into the admin page. But I'm still getting loads of these errors. The script is unusable because of all the errors. Does anyone know what the problem is? Could it be something to do with magic_quotes or something?? TIA -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] phpAdsNew
no, registerglobals has nothing to do with it "Dl Neil" <[EMAIL PROTECTED]> wrote in message 158e01c1c2fc$57b0db80$c200a8c0@jrbrown...">news:158e01c1c2fc$57b0db80$c200a8c0@jrbrown...; > Georgie, > > > I'm getting loads of "undefined variable" errors with this script. > any1 know > > why? > > > You're using a recent release of PHP aren't you? Check out > http://www.php.net/manual/en/security.registerglobals.php for an > explanation of changes in 4.1.n. > > Regards, > =dn > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Random Selecting from mySQL
I know how to use the "ORDER BY rand()" command on the end of queries to randomize selection, but that's no good when you want to only display 10 results per page. The next page the user chooses, randomizes again and could show duplicate fields and not at all show other fields. Does anyone know a way round this? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] COOKIES QUESTION
do you have to delete cookies on the same level (directory) you created them? coz mine dont seem to be deleting -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-DB] Random Selecting from mySQL
yea, i know how to display 10 results per page, but that doesnt work when you want to do a ORDER BY rand() query. "Gurhan Ozen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > are you just looking for a way to display 10 results per page? If yes then > you can just use LIMIT to limit your result to 10 .. So, for the first page, > you can do "SELECT LIMIT 1, 10;" and for the second page "SELECT ... > LIMIT 11, 20" etc etc . > You can sure use "ORDER BY" with "LIMIT" to to sort the results for a > given criteria .. > > Gurhan > > > -Original Message- > From: Georgie Casey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 2:00 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP-DB] Random Selecting from mySQL > > > I know how to use the "ORDER BY rand()" command on the end of queries to > randomize selection, but that's no good when you want to only display 10 > results per page. The next page the user chooses, randomizes again and could > show duplicate fields and not at all show other fields. > > Does anyone know a way round this? > > -- > Regards, > Georgie Casey > [EMAIL PROTECTED] > > *** > http://www.filmfind.tv > Ireland's Online Film Production Directory > *** > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] DHTML Trouble please help
fix ure clock!! "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Saturday, March 13, 2010, at 10:15 PM, Jennifer Downey wrote: > > > I am no DHTML expert and don't even know the language also didn't know > > where > > to post this. But after today I am going to learn. > > Isn't DHTML more of a buzzword? i don't think it's really a language. > It just refers to using scripting languages and plugins like JavaScript, > Flash, CSS tricks, and even server-side manipulation to achieve an > effect. > > There's a lot of stuff on this topic at http://dhtmlcentral.com/ if > you're interested. > > Erik > > > > > > > Erik Price > Web Developer Temp > Media Lab, H.H. Brown > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Temporary MySQL Tables
Hi, On my site now, there's a lengthy register process where the user has to fill in 5 forms, one after the another. I get the PHP script to echo the values from the previous into the next form by using "; ?> for example. Then I keep carrying the information over to each extra form until the user reaches the last page and I insert all the info into a table called "tempmembers" with an extra timestamp field which I use to verify email addresses. The user gets an email saying click here to verify your membership with the username and timestamp in the URL. The users clicks it, and I run a SQL command that copies the row from "tempmembers" into the "members" table. This process worked well for a while until I discovered if users enter a single or double quote into any of the fields, it fecks everything up. So I added an addslashes command but it's all getting a bit hairy so I was looking for some advice on MySQL temporary tables for either using after every form or at the end of all the forms. Or does anyone have any other method I could use??? Thanks for any help you might have. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Exec command problems
when i try to execute a program, PHP just stalls there for ages, my page doesnt load or anything. the program is a dos pogram, i pass variables thru d command line and when the program runs it just returns 1 line of output and stops. WHATS D PROBLEM? btw, i first get PHP to write a text file and then get the program to open this text file and yes, i closed the file before trying to exec the program -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PEAR
This whole PEAR thing is really confusing. The sites documentation is crap compared to PHP. what is it and how do i install it on my windows system? and more, importantly do i have 2 force my host to install it or can i do it myself. i'm just looking to use the file_find package. they say pear is automatically installed with php4 but i cant seem to find it. -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PEAR] PEAR
oh, i thought there was supposed to be some software or stuff in the pear directory (which doesnt exist) so i just create one and put the package i downloaded into it, then add the line to php.ini and use it in my scripts. dats it? and i need no permissions to use the stuff on the server? i dont have to ask the admin to do anyhting for me? "Martin Jansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Wed, 3 Apr 2002 20:12:46 +0100, Georgie Casey wrote: > > >The sites documentation is crap compared to PHP. > > I love to hear people critizing constructively. > > >what is it and how do i install it on my windows system? > > Add the directory, where your PEAR code is located (e.g. c:\php4\pear), > to include_path in your php.ini and you're done. > > >and more, importantly do i have 2 force my host to install it or can i do it > >myself. i'm just looking to use the file_find package. > > Upload the desired package somewhere on your website and again > add the location to your include_path. > > - Martin > > -- > Martin Jansen, <[EMAIL PROTECTED]> > http://www.martin-jansen.de/ > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] post request
i have to interact with a php script on a distance server through one of my scripts. i need to pretend i posted a form from my script... i understand there's 2 options. sockets and a PEAR thingy for HTTP POST n stuff. i was reading bout sockets in d php dev cookbook and its just really confusing. can any1 shed some light? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Getting my host to implement CURL
Would it be hard? Like, is it a lot of work for them and/or a security risk? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HELP!
I need to execute a script on another server in one of my scripts, eg by visiting a link http://www.com.com/script.php?var1=blah&var2=blah i cant use curl or sockets as my server dont have them insatlled. what other options do i have? the variables being passed are sensitive so they cant be viewed in the source HTML -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HELP! Errors!
my host returns this err message when i try to open a page on another server: Warning: php_hostconnect: connect failed in Warning: fopen("http://www.blah.com/index.php?api_id=12123&user=blah&password=blah&fr om=353879820641&to=353879820641&text=Your+confirmation+code+is%3A+%0A45746", "r") - Bad file descriptor Warning: Supplied argument is not a valid File-Handle resource in it works fine when testing on my win32 apache with php WHY AM I GETTING AN ERROR? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] WAP
How do I configure my Win98 Apache/MySQL/PHP test server to be able to show me WAP pages. I followed a tutorial on PHPBuilder but when I test pages with my WAP emulator, it returns a "empty page" error. Does anyone know any other web links for configuring to WAP, especially for WIN32 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Simulating a FORM POST thing (HELP!)
Rite, when you see a web form, you know you can simulate the submit by filling in the values in the address field, just like a GET method, and it usually works the exact same. But how do you do it when one of the fields in the form is a file upload?!?!?! For the record, its a GIF file you've to upload. Is there any way to do this in PHP?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Simulating a FORM POST thing (HELP!)
i'm getting an error message saying my BMP file i'm trying to convert isnt a valid WBMP file? is dere a difference between BMP and WBMP? I just opened my GIF file into PSP7 and and saved as a windows bmp. why isnt it working? "Peter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > $im = createfrombmp("image"); > print ""; > print ""; > ?> > you get the idea > > I think PHP does have other funtions for file uplading though. > > "Georgie Casey" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Rite, when you see a web form, you know you can simulate the submit by > > filling in the values in the address field, just like a GET method, and it > > usually works the exact same. But how do you do it when one of the fields > in > > the form is a file upload?!?!?! > > > > For the record, its a GIF file you've to upload. Is there any way to do > this > > in PHP?? > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Simulating a FORM POST thing (HELP!)
that function doest exist! "Peter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Windows Bitmap = BMP file > a WBMP is a wireless bitmap image and is designed for display on mobile > phones. A lot of software doesn't understand the format. > > You need to use createfrombmp() not createfromwbmp() > > > "Georgie Casey" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > i'm getting an error message saying my BMP file i'm trying to convert isnt > a > > valid WBMP file? is dere a difference between BMP and WBMP? I just opened > my > > GIF file into PSP7 and and saved as a windows bmp. > > > > why isnt it working? > > "Peter" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > $im = createfrombmp("image"); > > > print ""; > > > print ""; > > > ?> > > > you get the idea > > > > > > I think PHP does have other funtions for file uplading though. > > > > > > "Georgie Casey" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > Rite, when you see a web form, you know you can simulate the submit by > > > > filling in the values in the address field, just like a GET method, > and > > it > > > > usually works the exact same. But how do you do it when one of the > > fields > > > in > > > > the form is a file upload?!?!?! > > > > > > > > For the record, its a GIF file you've to upload. Is there any way to > do > > > this > > > > in PHP?? > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SAFE MODE
How do i setup safe mode scripting (each script has a different uid) on my win32, apache, php setup? my plesk host has to use it and i want to be able to test my scripts on my own computer. i set "safe mode = On" in my php.ini file but the script still lets me include a file, whereas the script on my proper host doesnt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] safe scripting
How do i setup safe mode scripting (each script has a different uid) on my win32, apache, php setup? my plesk host has to use it and i want to be able to test my scripts on my own computer. i set "safe mode = On" in my php.ini file but the script still lets me include a file, whereas the script on my proper host doesnt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Emulating HTTP File Uploads
Does anyone know how to upload a file through PHP through the HTT interface. I use fopen() to open remote php scripts using the GET method for non-file uploads but it doesnt work with HTTP POST or file uploads. Does anyone have any ideas? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Tar and GZIP functions
I want users to be able to select files from a folder and then a php script would wrap em up in a tar file. Can zlib funtions do this? the files are small gifs, if that helps tia -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] MySQL question
I have a table set as auto_update for the primary ID field, but sometimes the PHP script adds fields which don't fill up all of the ID numbers, as I delete a few records manually. is there any way to ensure all primary id field nos. are filled up is this a potential problem -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]