This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Calculator Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => Calculator Programming
Author Message
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 08 Mar 2006 09:36:25 pm    Post subject:

If I have made php files correctly which I copied from a cd rom and have properly installed apache, mysql, and php why is it that when I submit a form it takes it for processing and returns a blank page?
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 09 Mar 2006 12:54:45 am    Post subject:

http://sourceforge.net/projects/webserv/
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 09 Mar 2006 06:51:07 am    Post subject:

Are the script ment to show anything but a blank page as a response to that form submit?
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 09 Mar 2006 11:37:41 am    Post subject:

Ooh... I just skimmed over the first post and thought you said that apache, mysql, etc are not properly installed.

Sorry about that, nevermind the link. Do you have a link to the form?
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 09 Mar 2006 12:05:55 pm    Post subject:

Quote:
Are the script ment to show anything but a blank page as a response to that form submit?


Yeah its suppose to return the topic in the forum I just created, but it doesn't show that, it just shows a blank page.

Quote:
Sorry about that, nevermind the link. Do you have a link to the form?


Yeah, I'm at school right now so I can't post the script created but I will post it up later. I guess you can review the source code and figure out why it's not working. Also with php when it has been coded right the script disappears in a php file. How can I show you the code that is gone? Maybe I can rename the file extention?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 09 Mar 2006 02:36:44 pm    Post subject:

Newbie wrote:
Also with php when it has been coded right the script disappears in a php file. How can I show you the code that is gone? Maybe I can rename the file extention?[post="71757"]<{POST_SNAPBACK}>[/post]
Huh, what? :confused:
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 09 Mar 2006 03:16:50 pm    Post subject:

Arcane Wizard wrote:
Newbie wrote:
Also with php when it has been coded right the script disappears in a php file. How can I show you the code that is gone? Maybe I can rename the file extention?[post="71757"]<{POST_SNAPBACK}>[/post]
Huh, what? :confused:
[post="71765"]<{POST_SNAPBACK}>[/post]

I thought I read that somewhere but I'm probably mistaken.
Anyway here are the files. Put all of them in the folder apache gets your files from. Dont leave any download out. Try and run it on your computer and see what happens.


Last edited by Guest on 28 Jun 2006 12:21:12 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 09 Mar 2006 04:41:19 pm    Post subject:

Only works if you have the mysql db set up.

But addtopic.html won't even show anything for some reason.
Back to top
elfprince13
Retired


Super Elite (Last Title)


Joined: 11 Apr 2005
Posts: 3500

Posted: 09 Mar 2006 05:09:27 pm    Post subject:

shows fine for me...
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 09 Mar 2006 05:14:39 pm    Post subject:

Arcane Wizard wrote:
Only works if you have the mysql db set up.

But addtopic.html won't even show anything for some reason.
[post="71776"]<{POST_SNAPBACK}>[/post]


How do I setup the mysql db. I did insatll mysql from a disk.

elfprince13 wrote:
shows fine for me...
[post="71779"]<{POST_SNAPBACK}>[/post]


Are you talking about everything or just add topic.html?


Last edited by Guest on 09 Mar 2006 05:15:55 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 10 Mar 2006 06:34:01 am    Post subject:

Firefox was being rather silly yesterday, started to get really slow and didn't show content after loading for a lot of pages.

And now this:



:|

I guess this is the weekend where I install Opera.


Last edited by Guest on 10 Mar 2006 06:35:26 am; edited 1 time in total
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 10 Mar 2006 09:58:51 am    Post subject:

lol... I'm more amazed at your other tabs.
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 10 Mar 2006 10:55:48 am    Post subject:

Arcane were you able to get anything besides that? Because I originally was able to get the screen you showed with no problem because its html.

Last edited by Guest on 10 Mar 2006 10:56:29 am; edited 1 time in total
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 10 Mar 2006 12:10:54 pm    Post subject:

In order for the php to show and not be asked to download as a file, you have to run it off a local server (Apache, PHP, and MySQL installed). Either that or FTP it into your host.

That means that running file:///D:/www/addtopic.html won't work; you need to run it as http://127.0.0.1/addtopic.html

I was able to get do_addtopic.php showing but need to setup stuff in the database (table and user).

Newbie, could you try exporting your the MySQL into a file.sql? It's easy if you have phpmyadmin...


Last edited by Guest on 10 Mar 2006 12:15:39 pm; edited 1 time in total
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 10 Mar 2006 12:16:02 pm    Post subject:

How would I export that file into .sql?

Last edited by Guest on 10 Mar 2006 12:33:36 pm; edited 1 time in total
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 10 Mar 2006 12:16:55 pm    Post subject:

Do you have phpmyadmin?
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 10 Mar 2006 12:19:49 pm    Post subject:

If it dosn't come with the php installation no. If it does yes.
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 10 Mar 2006 12:21:09 pm    Post subject:

[ot]You use Notepad++ too![/ot]
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 10 Mar 2006 12:21:22 pm    Post subject:

Newbie wrote:
If it dosn't come with the php installation no. If it does yes.
[post="71868"]<{POST_SNAPBACK}>[/post]


Then you don't Sad

Try installing the thing in the second post. IMHO, phpmyadmin is crucial for the beginner.


Last edited by Guest on 10 Mar 2006 12:21:41 pm; edited 1 time in total
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 10 Mar 2006 12:22:20 pm    Post subject:

Oh, and by the way, since the serv was trying to send you the php file as a DL, it sounds like your MIME definitions are incomplete.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2  Next
» View previous topic :: View next topic  
Page 1 of 2 » All times are UTC - 5 Hours

 

Advertisement