LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-14-2009, 11:47 PM   #1
ChinookPiroh
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
help with php and/or mysql in xampp


Our company monitors security cameras for businesses and converts and uploads important video to our clients. Currently the system is set up in a xampp 1.6.4 installation that (unfortunatley) runs under windows. Each client can only access their page after they login.
What I'm trying to do is upload the video file to rapidshare and put the link on the page of the appropriate client.
I can't figure this out! I have no experience with php or sql and the guy who set all this up no longer works for us. Obviously or I wouldn't have to do this
 
Old 05-15-2009, 09:31 AM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,953

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
I doubt that I'll be able to help you but I think more details would let someone else help. What is rapidshare? Sounds like it might be a web site to which you can upload video? Then put a link on a page to rapidshare? Where do you want to put this link? On your server/website? If you have write permissions on your server you should be able to post the link? I'm not sure from the information you have given where php/sql fit in?
 
Old 05-15-2009, 09:36 AM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
In short you're looking for an automatic upload to rapidshare? You might need to see if they have an API you can hook into, as many of those video/picture/music sharing sites dislike automatic uploads.
 
Old 05-15-2009, 10:16 AM   #4
ChinookPiroh
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
The rapidshare isn't important, it was mainly an example. I just need to upload the video somewhere off our server and put a link to the video on the the right page so our client can download and view it. The site is pretty minimal, logging in takes the client to a list of links of their cameras and theres only an option to add a new camera from within the site.

Personally I think the site needs to be done from scratch especially since we want to host it on an external server. Also the pages don't seem to be "dynamic," nothing moves. The site is ramalarms.ca. Isn't php overkill here? I'd like to do it in html if possible but I don't know how to do this either. The most experience I've had in making websites is a little bit of Kompozer.
Also if anyone knows a good place to start learning about this, that'd be nice too.

Last edited by ChinookPiroh; 05-15-2009 at 11:02 AM.
 
Old 05-15-2009, 11:32 AM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
PHP may be a bit much for the main site itself (for what I can see), but if you're including any dynamic content, it's the way to go. As for an 'external site' for your video uploads, why would it have to be external?
 
Old 05-15-2009, 01:06 PM   #6
ChinookPiroh
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
No, no dynamic content that I can see. The site has to be external because we have crappy bandwidth. Just logging in to the site bogs down our network.
 
Old 05-15-2009, 01:39 PM   #7
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
If you have remote storage space, the most difficult step is getting the correct video into a file. Once you have the right stream, however, a simple SCP (Secure Copy, a method that uses SSH) to a different location is very easily accomplished.

Something to remember however -- if your bandwidth is such that even logging into your site slows it down, how would it be able to handle sending videos to an offsite location any more readily than serving them itself?
 
Old 05-15-2009, 09:20 PM   #8
ChinookPiroh
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks fur the help everyone but Ive given up. We want to host the site somewhere else now so itll have to be done from scratch anyway.
 
  


Reply

Tags
mysql, php, xampp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XAMPP-MySQL does not start on FC5 vikram_cvk Linux - Software 2 09-24-2008 04:52 PM
MySQL failed to start in XAMPP bhatmahesht Linux - Software 7 07-23-2008 05:48 PM
problems running xampp php konqi Linux - Software 1 02-25-2008 01:26 PM
MySQL in Terminal when Installed with Xampp SecretAgentX9 Linux - Server 1 11-13-2006 11:23 PM
xampp and php charnel Programming 3 07-26-2005 02:20 PM


All times are GMT -5. The time now is 12:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration