Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 178
Entire Site: 6 & 953
Page Staff: pokemon x, pennylessz, Barathemos, tgags123, alexanyways, supercool22, RavusRat,
04-30-24 01:09 AM

Thread Information

Views
26,831
Replies
135
Rating
0
Status
CLOSED
Thread
Creator
Davideo7
12-04-05 04:35 PM
Last
Post
Lazlo Falconi
05-24-16 12:54 AM
Additional Thread Details
Views: 3,584
Today: 6
Users: 0 unique

Thread Actions

Thread Closed
New Thread
New Poll
Order
Posts


<<
7 Pages
 

Official PHP Thread

 

02-17-09 12:39 AM
BigBob85 is Offline
| ID: 80866 | 68 Words

BigBob85
Level: 151

POSTS: 6262/6381
POST EXP: 217397
LVL EXP: 42893204
CP: 170.6
VIZ: 49768

Likes: 0  Dislikes: 0
Interesting..

You know how I do pages, with my head() foot() functions, and then I also have my table() to draw content and stuff?

At the bottom part of head, i've got a bit of code thats like,

if user isnt logged in
if is this page in list of freely available pages to access
if its not print login page, print foot, exit;
end if
end if
Interesting..

You know how I do pages, with my head() foot() functions, and then I also have my table() to draw content and stuff?

At the bottom part of head, i've got a bit of code thats like,

if user isnt logged in
if is this page in list of freely available pages to access
if its not print login page, print foot, exit;
end if
end if
Vizzed Elite
Member Of The Year 07


Affected by 'Laziness Syndrome'

Registered: 12-09-04
Location: Melbourne, Australia
Last Post: 1608 days
Last Active: 1242 days

02-17-09 12:43 AM
is Offline
| ID: 80867 | 22 Words


JigSaw
Level: 164


POSTS: 1313/7936
POST EXP: 584185
LVL EXP: 57426324
CP: 8045.8
VIZ: -46031833

Likes: 0  Dislikes: 0
Hmmm thats an interesting way to go about it lol. Great thing about programming so many ways to do the same task
Hmmm thats an interesting way to go about it lol. Great thing about programming so many ways to do the same task
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 1738 days
Last Active: 1733 days

05-15-09 09:04 AM
is Offline
| ID: 90139 | 71 Words


JigSaw
Level: 164


POSTS: 1487/7936
POST EXP: 584185
LVL EXP: 57426324
CP: 8045.8
VIZ: -46031833

Likes: 0  Dislikes: 0
How do you make MySQL print cartraige returns without coding tags like br and p and n or r and such?

Currently when I input data from a form the cartraige returns show in MySQL but when I retreive it it fuses the text together in one big block of text.

So basically I want it to print like this message without users having to input br or n... any ideas?
How do you make MySQL print cartraige returns without coding tags like br and p and n or r and such?

Currently when I input data from a form the cartraige returns show in MySQL but when I retreive it it fuses the text together in one big block of text.

So basically I want it to print like this message without users having to input br or n... any ideas?
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 1738 days
Last Active: 1733 days

03-07-10 04:57 PM
septembern is Offline
| ID: 151872 | 0 Words

septembern
Level: 202


POSTS: 1549/13800
POST EXP: 413008
LVL EXP: 117565194
CP: 3808.9
VIZ: 230780

Likes: 0  Dislikes: 0
Vizzed Elite
Winner of the April 2012 Tour de Vizzed


Affected by 'Laziness Syndrome'

Registered: 12-05-09
Last Post: 4339 days
Last Active: 3726 days

(edited by septembern on 10-11-10 07:23 PM)    

03-07-10 05:06 PM
is Offline
| ID: 151877 | 13 Words


JigSaw
Level: 164


POSTS: 3232/7936
POST EXP: 584185
LVL EXP: 57426324
CP: 8045.8
VIZ: -46031833

Likes: 0  Dislikes: 0
Your thinking of HTML, use < i > text here < /i >
Your thinking of HTML, use < i > text here < /i >
Vizzed Elite
PHP Developer, Security Consultant

Affected by 'Laziness Syndrome'

Registered: 04-06-06
Location: Area 51
Last Post: 1738 days
Last Active: 1733 days

03-07-10 06:14 PM
DarkHyren is Offline
| ID: 151893 | 40 Words

DarkHyren
Level: 160


POSTS: 4695/7842
POST EXP: 744411
LVL EXP: 52016260
CP: 996.2
VIZ: 483924

Likes: 0  Dislikes: 0
JS: you don't always have to put those spaces in to show coding on the forums.
Just use the <z> command. For example, I would have written that <i>text here</i> command like this:
<<z>i>text here<<z>/i>
Hope that little hint helps
JS: you don't always have to put those spaces in to show coding on the forums.
Just use the <z> command. For example, I would have written that <i>text here</i> command like this:
<<z>i>text here<<z>/i>
Hope that little hint helps
Vizzed Elite
Elite Lurker King

2nd Place in the June 2009 VCS!
2nd Place in the December 2009 VCS!


Affected by 'Laziness Syndrome'

Registered: 12-19-08
Last Post: 2620 days
Last Active: 1423 days

(edited by DarkHyren on 03-07-10 06:14 PM)    

03-23-10 08:43 PM
septembern is Offline
| ID: 158259 | 31 Words

septembern
Level: 202


POSTS: 1988/13800
POST EXP: 413008
LVL EXP: 117565194
CP: 3808.9
VIZ: 230780

Likes: 0  Dislikes: 0
When I save a notepad file as a .php, why does the file always stay a text file instead of becoming a PHP file? Do I need to install any software?
When I save a notepad file as a .php, why does the file always stay a text file instead of becoming a PHP file? Do I need to install any software?
Vizzed Elite
Winner of the April 2012 Tour de Vizzed


Affected by 'Laziness Syndrome'

Registered: 12-05-09
Last Post: 4339 days
Last Active: 3726 days

03-24-10 12:06 AM
DarkHyren is Offline
| ID: 158328 | 39 Words

DarkHyren
Level: 160


POSTS: 4965/7842
POST EXP: 744411
LVL EXP: 52016260
CP: 996.2
VIZ: 483924

Likes: 0  Dislikes: 0
No, you don't need any extra software.
What you need to do is choose "save as" then change the "save as type" to "all files" instead of "text files" then put in your filename like this: filename.php
Then save.
No, you don't need any extra software.
What you need to do is choose "save as" then change the "save as type" to "all files" instead of "text files" then put in your filename like this: filename.php
Then save.
Vizzed Elite
Elite Lurker King

2nd Place in the June 2009 VCS!
2nd Place in the December 2009 VCS!


Affected by 'Laziness Syndrome'

Registered: 12-19-08
Last Post: 2620 days
Last Active: 1423 days

03-24-10 04:41 PM
septembern is Offline
| ID: 158524 | 23 Words

septembern
Level: 202


POSTS: 2017/13800
POST EXP: 413008
LVL EXP: 117565194
CP: 3808.9
VIZ: 230780

Likes: 0  Dislikes: 0
How do I open a PHP File?, because when I use IE it just tells me whether to open or save the file...
How do I open a PHP File?, because when I use IE it just tells me whether to open or save the file...
Vizzed Elite
Winner of the April 2012 Tour de Vizzed


Affected by 'Laziness Syndrome'

Registered: 12-05-09
Last Post: 4339 days
Last Active: 3726 days

03-25-10 02:04 AM
DarkHyren is Offline
| ID: 158771 | 126 Words

DarkHyren
Level: 160


POSTS: 4991/7842
POST EXP: 744411
LVL EXP: 52016260
CP: 996.2
VIZ: 483924

Likes: 0  Dislikes: 0
If you want to open a php file to edit it just open it with notepad.
But I suspect you mean you want to view it like a web page.

From what I recall you can't just load a php file into IE (or any browser) and expect to view it.
You need a server set up (either online, at home, or virtually) and to have a website (again it can be a virtual one, not online) set up.
Then you need to browse to that site to view the php file as a web page.
(if you have the site and server set up at home or as a virtual server you will need to configure your PC to read the server as its DNS)
If you want to open a php file to edit it just open it with notepad.
But I suspect you mean you want to view it like a web page.

From what I recall you can't just load a php file into IE (or any browser) and expect to view it.
You need a server set up (either online, at home, or virtually) and to have a website (again it can be a virtual one, not online) set up.
Then you need to browse to that site to view the php file as a web page.
(if you have the site and server set up at home or as a virtual server you will need to configure your PC to read the server as its DNS)
Vizzed Elite
Elite Lurker King

2nd Place in the June 2009 VCS!
2nd Place in the December 2009 VCS!


Affected by 'Laziness Syndrome'

Registered: 12-19-08
Last Post: 2620 days
Last Active: 1423 days

04-03-10 10:04 PM
septembern is Offline
| ID: 163479 | 29 Words

septembern
Level: 202


POSTS: 2261/13800
POST EXP: 413008
LVL EXP: 117565194
CP: 3808.9
VIZ: 230780

Likes: 0  Dislikes: 0
I have a webs account (www.webs.com), so can I upload it to there and be able to see it? Or does the server need something special to interpret it?
I have a webs account (www.webs.com), so can I upload it to there and be able to see it? Or does the server need something special to interpret it?
Vizzed Elite
Winner of the April 2012 Tour de Vizzed


Affected by 'Laziness Syndrome'

Registered: 12-05-09
Last Post: 4339 days
Last Active: 3726 days

04-27-10 02:03 PM
wingmakerace is Offline
| ID: 174432 | 82 Words

wingmakerace
Level: 16


POSTS: 20/41
POST EXP: 1718
LVL EXP: 18811
CP: 3.0
VIZ: 6104

Likes: 0  Dislikes: 0
A php file can be 'loaded' on to a web browser, with its related path, for example.

www.testphp.com/php/testfile.php

testfile.php is located in a folder called php. Your web browser loads the php file. (given that your php file is web compatible, like having html or css)

if you want to upload your php file outside your local machine the php file needs to be place in a web server on a server or machine. a web server are apache or lls.

WING.

A php file can be 'loaded' on to a web browser, with its related path, for example.

www.testphp.com/php/testfile.php

testfile.php is located in a folder called php. Your web browser loads the php file. (given that your php file is web compatible, like having html or css)

if you want to upload your php file outside your local machine the php file needs to be place in a web server on a server or machine. a web server are apache or lls.

WING.

Member

Affected by 'Laziness Syndrome'

Registered: 04-09-10
Last Post: 5085 days
Last Active: 4325 days

03-16-11 02:02 AM
alexanyways is Offline
| ID: 348734 | 9 Words

alexanyways
Level: 193


POSTS: 6370/12496
POST EXP: 610413
LVL EXP: 100520642
CP: 14496.0
VIZ: 137160

Likes: 0  Dislikes: 0
I want to learn PHP, where should I start?
I want to learn PHP, where should I start?
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 02-24-10
Last Post: 229 days
Last Active: 216 days

04-09-11 12:17 AM
septembern is Offline
| ID: 364429 | 53 Words

septembern
Level: 202


POSTS: 8573/13800
POST EXP: 413008
LVL EXP: 117565194
CP: 3808.9
VIZ: 230780

Likes: 0  Dislikes: 0
alexanyways : I am fairly certain that if you go through w3schools and a few basic php books (like the ones that you find in the library), then it will be fairly easy.

I found that going through everything in w3schools to begin with is the best way to start and get proficient.
alexanyways : I am fairly certain that if you go through w3schools and a few basic php books (like the ones that you find in the library), then it will be fairly easy.

I found that going through everything in w3schools to begin with is the best way to start and get proficient.
Vizzed Elite
Winner of the April 2012 Tour de Vizzed


Affected by 'Laziness Syndrome'

Registered: 12-05-09
Last Post: 4339 days
Last Active: 3726 days

(edited by septembern on 04-10-12 06:52 PM)    

03-10-12 09:39 AM
RequiemHaunt is Offline
| ID: 549809 | 33 Words

RequiemHaunt
Level: 77


POSTS: 765/1503
POST EXP: 138087
LVL EXP: 4035496
CP: 2040.4
VIZ: 84769

Likes: 0  Dislikes: 0
I am reopening this since people still have questions they want to ask. I see no reason why this should of been closed. People can now ask their questions pertaining to the topic.
I am reopening this since people still have questions they want to ask. I see no reason why this should of been closed. People can now ask their questions pertaining to the topic.
Vizzed Elite
Vizzed #1 Galerians fan!


Affected by 'Laziness Syndrome'

Registered: 03-13-11
Location: New York
Last Post: 4225 days
Last Active: 4188 days

05-24-16 12:54 AM
Lazlo Falconi is Offline
| ID: 1271433 | 20 Words

Lazlo Falconi
Level: 99


POSTS: 2682/2750
POST EXP: 199963
LVL EXP: 9669717
CP: 3100.7
VIZ: 182754

Likes: 0  Dislikes: 0
Oh man, where was this thread when I was a regular? If anyone has questions I'll be happy to help!
Oh man, where was this thread when I was a regular? If anyone has questions I'll be happy to help!
Vizzed Elite
The Shake Zula


Affected by 'Laziness Syndrome'

Registered: 01-07-12
Location: Cartoon Hell
Last Post: 1414 days
Last Active: 1288 days

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×