[PHP] Re: beginer
Go to http://www.interakt.ro/products/PHAkt/index.php for a kick butt PHP development platform extension for DW Ulreadev! Deron Creation Nation "Vania Lavielle Castro" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need a file php.ini and some advices about configuration of a web server > as internet information server to use php. Also i need to know how use the > sqlserver 2000 on my php's pages. > i use Dreamweaver UltraDev 4 too and i think that i must configurate it. > > thanks vania. > > -- 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] Strange problem with some includes...
I have this page: http://www.metalages.com/2002/reviews/rev-evergrey-insearchoftruth.php If you look on the bottom, it says: Warning: Failed opening 'http://www.metalages.com/includes/relatedinfo/inc-evergrey.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/metalages/2002/reviews/rev-evergrey-insearchoftruth.php on line 209 The weird thing is, those paths are CORRECT and DO contain those files! WEIRD! Has anyone had something like this happen or know a cause as to why this would not work even if the paths it is looking for are 100% correct? If you need to know the code in my page I'll be happy to provide, I'm stumped! Deron www.metalages.com -- 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]
Re: [PHP] Strange problem with some includes...
Hi Jim! Ok couple of questions then... .. yesterday these includes WERE working. For some reason I went to the site today and they weren't. VERY weird! Since these includes are showing up on multiple pages in different directories, I currently have them being called like this: Code in page: (out of whack due to cut/paste) 0) { $num=$x+1; } else { $num=''; } $incline=$GLOBALS["prefix"] . $GLOBALS["folders"][$x] . $GLOBALS["preband"] . $bandname . $num . $GLOBALS["suffix"]; include($incline); if ($x<(count($GLOBALS["folders"])-1)) { echo"\n"; } } ?> Then I have a common.php outside of web folder with this code: http://www.metalages.com/includes/'; $folders=array('relatedinfo/','alsosee/','sounds/','progged/'); $preband='inc-'; $suffix='.php'; ?> So, since it DID work yesterday for me, the code I have set up isn't correct? I'm baffled by the fact that it did work for me yesterday, I kinda wish it didn't now! LoL! "Jimtronic" <[EMAIL PROTECTED]> wrote in message news:p05101010b8359cecd8f0@[192.168.1.17]... > > It looks like you put a full URL into your include ... which would be > incorrect. > > The syntax is ... > > include("path/relative/to/your/script"); > > jim > > -- > Jim Musil > - > Multimedia Programmer > Nettmedia > - > 212-629-0004 > [EMAIL PROTECTED] -- 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] "trigger" words
Is there an easy way with PHP, or something else, to have a document on the web where a certain word is mentioned within the page somewhere...in my case a band name and it could automatically take that name/word and create it as a link that's stored in either a flatfile or a database of some sort? Deron www.metalages.com -- 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]
Re: [PHP] Strange problem with some includes...
Yes sir: -rw-rw-r-- Directory : drwxrwsr-x Deron www.metalages.com "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > look at read permissions, does the web server have permissions to read those > files? > > -Original Message- > From: Deron [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 07, 2001 9:03 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Strange problem with some includes... > > > I have this page: > http://www.metalages.com/2002/reviews/rev-evergrey-insearchoftruth.php > > If you look on the bottom, it says: Warning: Failed opening > 'http://www.metalages.com/includes/relatedinfo/inc-evergrey.php' for > inclusion (include_path='.:/usr/local/lib/php') in > /home/www/metalages/2002/reviews/rev-evergrey-insearchoftruth.php on line > 209 > > The weird thing is, those paths are CORRECT and DO contain those files! > WEIRD! Has anyone had something like this happen or know a cause as to why > this would not work even if the paths it is looking for are 100% correct? If > you need to know the code in my page I'll be happy to provide, I'm stumped! > > Deron > www.metalages.com > > > > -- > 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 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] Question for you MySQL gurus...
I have a huge project I am in the midst of developing (something similar to www.allmusicguide.com except exclusively for Metal/Hard Rock). I have set up my MySQL tables/PHP code for the most part. My question is 2 part: Of you all, do you use a GUI platform such as MySQL Manager or MySQLGUI, etc. or do you hard core it via Telnet and command line? Secondly, I hope I can explain this easy enough Comparing to like Access DB... you know if you have multiple tables, you can take one table... put in your data... then in subsequent tables... you can set it up so that certain fields create dropdowns and "display" the data from the first table's field, so that you don't have to use any guesswork and so that if you change the data in the first table, it updates subsequent other tables (I hope that makes sense). Is there anythin in/for MySQL that acts like that? I have read up on the "join table" command in MySQl but that isn't exactly what I am referring to. Any help/knowledge on this appreciated! Pretty much... I have around 12 tables or so.. band, album, producers, logos, etc.. and I have recurring fields between themm such as a field called "bandname". I am just looking to see if I have to manually add this field's data to it or if there is a solution to "tie" these other tables to one source table. thanks! Deron www.metalages.com -- 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] Re: Question for you MySQL gurus...
Let me add that I do currently use PHPMyAdmin. As cool as it is I juts want to see what others are using to make sure I am not missing out on anything! Deron www.metalages.com "Deron" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a huge project I am in the midst of developing (something similar to > www.allmusicguide.com except exclusively for Metal/Hard Rock). I have set up > my MySQL tables/PHP code for the most part. My question is 2 part: > > Of you all, do you use a GUI platform such as MySQL Manager or MySQLGUI, > etc. or do you hard core it via Telnet and command line? > > Secondly, I hope I can explain this easy enough Comparing to like Access > DB... you know if you have multiple tables, you can take one table... put in > your data... then in subsequent tables... you can set it up so that certain > fields create dropdowns and "display" the data from the first table's field, > so that you don't have to use any guesswork and so that if you change the > data in the first table, it updates subsequent other tables (I hope that > makes sense). Is there anythin in/for MySQL that acts like that? I have read > up on the "join table" command in MySQl but that isn't exactly what I am > referring to. Any help/knowledge on this appreciated! > > Pretty much... I have around 12 tables or so.. band, album, producers, > logos, etc.. and I have recurring fields between themm such as a field > called "bandname". I am just looking to see if I have to manually add this > field's data to it or if there is a solution to "tie" these other tables to > one source table. thanks! > > Deron > www.metalages.com > > -- 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] "Talkback" or community type participation.....
Hi there! I have this script I just made based on a tutorial I found online and was wondering if there was a better way to do this or not. Everything works great so far except for a couple little things. Once the $submit is clicked and runs the INSERT data into the table... I am looking to be able to have the page auto refresh and display the new entry as well as the form again. Here's my current code: (I have this built into the main review page via an include. The entire page can be viewed here: http://www.metalages.com/2002/reviews/reviews-test.php?band=Evergrey&album=I n%20Search%20of%20Truth Feel free to post a dummy message, nothing is live yet, all in test mode :) you'll notice once the entry is submitted also, if you try to refresh the page it wants to readd the data again. any help or guidance appreciated, I am a self professed "still learning this stuff"! kinda guy. Unable to connect to the " . "database server at this time." ); exit(); } $sql = "INSERT INTO talkback (band_id, album_id, talkback_name,talkback_email,talkback_comments) VALUES ('$currentid[0]','$currentid[1]','$talkback_name','$talkback_email','$talkba ck_comments')"; $result = mysql_query($sql); echo "Thank you! Information entered.\n"; } else { // display form ?> "> Name/Nickname: Email (optional): Comments: Deron www.metalages.com -- 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]