Jump to content


Need Help Fast Plzzz


4 replies to this topic

#1 InSane-Network

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 29 August 2006 - 02:50 AM

Ok i have looked everywhere for a tut that explains how to write a file to input db info and write that to a config.php file

Thnxs url removed

Edited by PSgirl: Please don't bump topics.

Edited by PSgirl, 29 August 2006 - 04:52 AM.


#2 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 August 2006 - 05:07 AM

Well you wont get a tutorial on exactly what you want, you need to break it up. Think about it.

You need mysql intergration and the file writing functions.

File: http://pixel2life.com/tutorials/php_coding...d_manipulation/
mySQL: http://pixel2life.com/tutorials/php_coding...ql_integration/

Now if there isnt a tutorial on inserting data into a database and another to writing info to a file my name aint Jim :)

#3 Hayden

    P2L Jedi

  • Members
  • PipPipPip
  • 716 posts
  • Gender:Male
  • Location:Texas

Posted 29 August 2006 - 08:06 AM

as your post was removed before I saw what was you wanted, I'm not sure what exactly your wanting; however going by what Matt posted....

if you're going to have a lot of users uploading a lot images, I might look into storing the information for those images in the database.

1. so you don't have to worry about file permissions
2. easier to code deleting a image if you or your user(s) don't want it anymore.

I coded and assisted in running a web site where artists could upload pictures and have it posted under their name. If I did something like that again, I would store the images in the database instead of writing a jpg or gif file.

#4 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 August 2006 - 08:07 AM

ummm, what he wants is still there rofl.

Quote

Ok i have looked everywhere for a tut that explains how to write a file to input db info and write that to a config.php file

:)

#5 InSane-Network

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 30 August 2006 - 12:29 AM

i want it to be like The install file runs the $sql queries to instert ininto the db after writing the config.php file then write adim user to the db

edit:
ok this is what i mean by what i want. well i want to make an installer files where you enter the DB info With Admin info Set Url Setting in the db and have the installer write the db info to a file

thnxs InSane-NetWork

well anyone





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users