Greenie
Members-
Posts
35 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
Greenie's Achievements
Newbie (1/5)
0
Reputation
-
Return the name of all text files, swf files and XML files in directory
Greenie replied to Greenie's topic in PHP Coding Help
Thank you very much, simcoweb. I've never come across www.hostscripts.com before. It has a lot of good stuff on here, including some tutorials that may help me. -
I want to be able search a folder on my server, return the names of each sub folder and then search each subfolder for a text file, a swf file and an XML file. To illustrate: Folder - Subfolder - .txt - .swf - .xml - Subfolder - .txt - .swf - .xml So, for each subfolder I want four values returned: subfolder name, txt file name, swf file name and xml file name. I would appreciate a link to a tutorial or some search terms you found productive (nothing I've tried has turned up with anything yet). Thanks, Greenie.
-
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
I agree with you, jsladek. I'm here to fit into the community, not go against it and do my own thing. This CakePhp is interesting but again I find myself faced with phrases I don't really understand. For example, the site claims: [quote]Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.[/quote] What exactly do they mean by 'framework'? Some sort of set of rules or a procedure used to develop php websites or some sort of formatting system? And what are these 'design patterns' all about? -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Is it still worth learning how to achieve the same result without the use of these programs, do you think? I really want a firm basis in PHP and I'm wondering if using these programs will stop me from learning all I really should know. -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Alright, thanks for clearing that up for me, thorpe. You've been a huge help. AndyB, this link looks good. Am I correct in saying that phpMyEdit and phpMyAdmin differ in that phpMyAdmin is an already-made way of controlling your database; while phpMyEdit creates forms that you will then use to control your database? Or maybe I've got the wrong impression. Just to ask agian, do you have any recommended reading? I've already checked out most of the tutorials and articles here on phpfreaks.com that I could understand or find any relevance in. -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
I'm sorry but I'm finding what you're saying a little hard to follow. By [i]database scheme[/i] do you mean the way in which the database is set up as far as it's tables and feilds go? Also, what are you referring to when you say [i]application[/i]? I suppose from this point on, asking "how do you do that?" is stupid and broad. I guess I have a lot to read up on. -
Hey sws, I only learnt of phpMyAdmin's existence a couple of hours ago on [url=http://www.phpfreaks.com/forums/index.php/topic,116689.0.html]this thread[/url]. It's something you have to install on your server. You might be able to ask your host company to install it for you, but they may try and hit you with a fee for it. Other than that, I'm not too sure. I thought I'd contribute the little I know.
-
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Sorry, I wasn't vary clear on that. By 'user,' I meant one of a select few that will have administrative rights over the website in question. Normal visitors to the site will have no access to this particular form. However, now that I think about it, I don't think there's anything stopping someone accidentally stumbling across this form if I upload it to the server. I will have to protect it using some sort of password or something, I suppose. I'll be sure to read up on 'database noramlisation techniques.' Is there anything else you would recommend I take a look at? -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Ah, I see. What I'm trying to do is set up a menu using a MySQL database to store the options. I'm doing this because the menu is to be displayed in a .swf (flash file) and I don't want to have to adjust it every time there is an update - which will happen on a regular basis. So I'm thinking of storing each submenu in a table which contains it's options. I want a user of the form to first select the submenu(table) he wants to edit and then the option(table value). I can't help thinking there is a better way of doing this. I want it to be easier to create another level of submenus, but I can't see how that could be done. Any ideas? -
Hey sivanath, w3schools.com has [url=http://www.w3schools.com/php/php_mysql_insert.asp]a tutorial[/url] that explains how to add to your database using some input boxes. Once you know how to do this, it's not too hard to apply it to a list box. It skips over evaluating the input, though. But it will get you off to a good start and should show some results pretty quickly.
-
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Thanks, John. That was a quick reply. :) Your foreword isn't exactly encouraging. :-\ I'll have a closer look a little later, anyway. -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Alright, thanks HuggieBear. I might still try and make my own form because I have a some-what special use in mind for my database. My only concerns are to do with privacy. I don't trust myself to write a secure script. Ah well, that'll come in time, I suppose. Thanks again to all those who contributed to this thread. Much appreciated. ;) -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
Thanks,thorpe. It appears I missed the installation instructions when I was scrolling through the documentation.html file. Is this tool commonly used among the php community and will I have any problems installing it on a server? -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
I've managed to find where to download this PhpMyAdmin from, yet I'm not sure in what form I should get it in. Or how to install it for that matter. Could someone please point me in the right direction? -
Simple Web Form To Access/Modify MySQL Database?
Greenie replied to Greenie's topic in PHP Coding Help
I'm not familiar with this PhpMyAdmin. I'll do some research on google. Thanks!