«Home

Php/mysql. Does Every Php Script Need A Database?

Hi PHP/MySQL gurus,I don't know much about PHP/MySQL.I want to embed PHP in my Login and Contact form pages in my website.Do I also need to set up a database for this to work?

Thanks!

Avatar
Newbie
51 answers

More off-topics and a put a key signal. Please new thread with better things to say. Oya, next is a programming challenge. Nobody should run outta it. This chapter here is now closed. Chikinah!

0
Avatar
Newbie

Tanx, got it, Just Sent u a mail.

0
Avatar
Newbie

logged out of my email, but my email is support@.com

0
Avatar
Newbie

k, info2stan@gmail.com, i'l b expectin it ritaway man, tanx alot, So how long av u bin into programming, php 2 b spec?

0
Avatar
Newbie

saw it with a nairalander, send me an email and i will try link you up

0
Avatar
Newbie

where, how much, n how do i get it, ?

0
Avatar
Newbie

seriously there are some packages that you can use to package your script as a trial version, the script or utility will expire after a given number of days or months. i have seen it used before, but i did not buy the package

0
Avatar
Newbie

Trial means just created the same project with limited features and all Php development are usually like in offline mode since u install a webserver on ur system.but your question is not that clear.

0
Avatar
Newbie

hey guyz back 2 work! Can some1 tel me how izit possible to make a system developed in php offline n a kinda trial version, I need it badly, but is it possible to make a trial version of that system? n How?

0
Avatar
Newbie

you think sey i no know the boiler plate template wey u use for ? na becos i no wan talk since. Oya call me Uncle Broda DC now or I spill the extreme beans.

0
Avatar
Newbie

just because you can save a microsoft word document as an html page does not mean you sabi code not to talk

of saying i no sabi html.

0
Avatar
Newbie

letz restart the fight again as DC vs DHTML ? round one fight. . .(dc you go first)

0
Avatar
Newbie

Can y'all just let the fight take its course? Don't you gerrit? The fight was stopped once but came up again. Doesn't this tell you something? This fight is meant to be fought. If I waste money on popcorn again, una no go like my demonstration.

0
Avatar
Newbie

one coder looking down on another is not a good thing. We are all here to help out one another. .no one is an island

0
Avatar
Newbie

Wow. i think i've kinda notice that pattern where one coder looks down on another. i think we should all ignore this and work together afterall we all learn from each other.i myself ain't perfect that's why i teach the few i know to get those i don't from here.so i think we should just ignore the conflict and move on.there's code to be written. @gdcomms if ur webpage is DB oriented like a Content Management System then a Database Access is a must. but if not if it's just a regular retrieve information from server or stuff or storing contents i usually advise xml cuz i find it less resource oriented and unlike mysql xml relies on no server or service.so it all balls on the kind of website u are building

0
Avatar
Newbie

@Quad, tot u've 4goten abt me.Anyway am still waiting!Got some quests to pose.

restoringh@yahoo.com

0
Avatar
Newbie

You beta come down from dat fence b4 them fight fall the fence. LOL.

Donpuzo na one funny guy, as you can see he give everyone their deserved respects so u guy should just leave him when he talks.

like tuface said "I know it sounds like bragging but, it true that am talking" - (from street credibility)

that's is why I don't pick offence in whatever he says, (especially the one about what a web developer should know).

ONE LOVE GUYS,

- SAFE

0
Avatar
Newbie

Here they go again.4heaven's sake when will u put an end to all this.Why the war anyway?

0
Avatar
Newbie

@ Dual tanx, I saw ur handwork, Stay bless

0
Avatar
Newbie

@My core friend

1. Oga me, i no insult you, Just spoke like how i do. If there is anybozy i regard, na you!!! Reasons best reserved.

2. You know few stuffz about me. Ask well, i no dey boy for any bozy, I have raised issues with the Big and Small on nland, simply cause if i see a shitzz that does not go well with me i go talk.

3. If i need an help from you, i go mail you. No pride anywhere, maybe you think cause i don say i won message my guy, you think say na code i want, What if it's it? That's where some peepz get it wrong. There is love in learning.

4. Speaking of life. Me i don chop am well. If there is any dude here that has seen cash or fame. NA ME. but that one no mean shitzz cause money fades but life stayz.

5. Speaking of that your work. Honestly i saw it, it was very impressive and nice. Among my least of A's.

Go back to your desk, i bet a lotta work dey there.

@Dual. I don mail you.

0
Avatar
Newbie

@phpcore, go and create a review thread for your website first. Reviewing it here will lead to posting of off-topics (which is a nairaland offence)

0
Avatar
Newbie

Ok, aint seen no mails from you as of this moment.

0
Avatar
Newbie

Leave the review until next year then we can review it

0
Avatar
Newbie

hey guyz you guyz should review this site 4me and no crazy commentz, just d truth, www.studio042nigeria.com

0
Avatar
Newbie

well not every script need db access.

0
Avatar
Newbie

The day this fence go collapse, I go laff die!

0
Avatar
Newbie

Dude, what's your issue? Like seriously, these don't look like solutions?

You should spend more time facing the "Bandwidth Limit Exceeded" issues you got on your site by increasing the bandwidth limit for the affected package on your whm.

0
Avatar
Newbie

@dat dude. Guy na great advice u get today!!!. But like seriously you are a newbie, Look wella ohhh,

@Pc guru. You are right!!!

@All. I think the dude has to be the first to be decongested!!!

0
Avatar
Newbie

Nairaland is congested I think it should be decongested.

imagine the young man who asked question hasn't received any solution but gurus abound.

0
Avatar
Newbie

@dhtml thank God someone said it i hate those programmers who crack coding jokes i hate it, it happens in my office. imagine this statement "EmployeeX:I go like be President,"

EmployeeY:Ha if you be president you go dey dash everyone free I.P Address

pc guru: thinking(Gosh this guys are idiots).

as much as i love programming i love the Good Life that gives u some sense of flexibility if u are not one sided even got another programmer here who claims he's php but never codes anything in his life but download completed scripts from Google or tell me to write for him. his sense of humour is whacked that if you say PHP is like Php he'd laugh hard for hours,

inshort if be mod i go dey ban serious minded no sense of humour programmers on nairaland and make cracking a joke compulsory. got that?

0
Avatar
Newbie

i think the problem with some of you guys is that you write too much codes. everything is not about coding you know.

0
Avatar
Newbie

But sometimes you just but have to drop some comments to settle some useless riffs you see coming on.

0
Avatar
Newbie

intwesting. sometimes, i enjoy just hanging on the sidelines and watching.

0
Avatar
Newbie

@Donpuzo.Pls will like to get code.

My email: restoringh@yahoo.com

Thanks

0
Avatar
Newbie

No kwamz guy! I think u guyz, doing ur thing and freestyling @ da same time. Enjoy Guyz, But there are more to coding letz alwyz put that @ d back of our mind! 1love.

0
Avatar
Newbie

@pc guru. If dual no miss you i did, Just came up from coding island. When i met this core php guy wey like core scripts,

@Dualcore. You need help, with all this ur slangs and ways. NA CODING CAUSE AM NA.

@Omnipotens. Just that i have stoped all the code shitssssz and focus on standard web development practice, so i had to practice my new changed skills.

@phpcore. No shitz, we are cool guys now.

@All. Go back to coding, if the poster needs assistance for whatever type we have offered, i sure will spring up with solution,

0
Avatar
Newbie

Ur funny Pc guru, Al the same , Kip coding, Stay bless. I sign out for the moment. Tata 4 now.

0
Avatar
Newbie

Thanks @Pc Guru.Will get back if any probs.

Also gud u settled scores.U knw we all hve just one life to live,lets make judicious use of it.

Again thanks

0
Avatar
Newbie

K, check out d help1 doc i uploaded n make it fit ur needs.

0
Avatar
Newbie

K, guyz my bad! I'm Sorry. @ Donpuzo n All. For the pdf files wahala, why dont u create  a folder at the server, then use the file field 2 upload it to the server wit php > move_uploaded_file<  Try modifying thses codes and see if it hepl u out, any more probz,  We gat big broz here like Donpuzo, Omni n others,  Once again guyz, My bad!  No fighting,

0
Avatar
Newbie

@Donpuzo @phpcore hey guys long time anyone here miss me, u neccessarily mighnt not need to use a database you could even store all information into Xml but the xml might have to be encrypted database is less stressful.holla us here we could help you out, and also Long time Guys how's the Php journey going took a break of 2weeks from php now am back.let's have fun again.

0
Avatar
Newbie

Also I have some pdf files to send immediately after submission of the contact form (like in autoresponders),pls can you throw more light what I need to do?

In anticipation!

Thanks a lot!

(Pls no more war)

0
Avatar
Newbie

Hey guys!Why the war anyway?This is a forum for God's sake and nota battle ground like Afghanistan or, Everyone is good in one way or another and limited somewhere else.

My question was straight and simple and Donpuzo & also Omnipotens have given a clear cut explanation.Am impressed!

Pls we should learn to respect others.

Thanks

0
Avatar
Newbie

Hey, no battles here. This was just a simple question not even the actual codes. Even my simple XHTML question was difficult for answers to be turned in so I wonder why this one,

You can use database for both depending on what you want to achieve. Having a login page means you will like to deal with membership management. In one form or the other, you'll have to register your users. As for the contact form, you might want to track forms using an assigned ID just like in a trouble ticket for easier referencing or tracking or anything related. Else you just use the PHP mail function to forward replies to you email address then alert for successful delivery. You now handle all from your inbox.

Does this solve your problem?

0
Avatar
Newbie

Bros, look at it from this point of view.

You can save files like pdf files in a database and make some call to bring them out.

And also you can simply save it in a folder. Just cause you wanna make a learner good in database workout will not make you make him use that method.

Wed development is yet to be fully known by anyone anywhere. Some things i learn here, or wherever are cause i see immediate need for them. No body is contesting your knowledge and ability.

Even few peeps here, in coding, i go kill them, but in understanding how to manage sites, i go drop my cap.

Learning never stops.

Like Quadrillio will say:

SAFE.

0
Avatar
Newbie

lwkmd! I tot u had eyes but now I know that u are blind. All u guyz think u kno sumfin not knowing that u kno nofing! I see most of all ur comments and posts, Hey bro, u dnt have all it akes 2 be a programmer, ok. FYI, the brotha made mention of Login, besdies that iz the problem wiv u nigerians, u dont like teaching sumone sumfing 2 d core, u do part by part so that the person will come back and u then ask for some box. If u say i'm a 4*****g newbie as u quote, then know it that i'm beta that ur x-works and will be beta than ur next, Av a blissful sunday and u guyz shud stop bragging unnecessary. From the desk of Stan. Stay bless

0
Avatar
Newbie

@phpcore. You are a 4cking newbie,

Shey contact form now needs sql or any database?

Only php is used for major contact pages, For the login/signup/whatever, that's where a database should come in, to save users data.

Although a contact form may use a database, really don't see it's use.

0
Avatar
Newbie
Your answer
Add image

By posting your answer, you agree to the privacy policy and terms of service.