473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Edit site while online without uploading

eragon
431 256MB
Hey peoples! i need help... alot... if what i am trying to do is possible. i am looking for a javascript or other script of the sort that will allow mt to edit my site while still online, without having to edit it on my computer and upload it. I could make a form to edit the page, but it cant save, so, thats where i need help. does this method exist? (Yes, it does, how else are these forums created? i put stuff in this text box, it shows up in the forum...) Please share your knowledge!!!

I need the help...

Yours Thankfully,

Eragon

One by one the IPods have stolen my sanity.... [O [_]]
May 23 '07 #1
21 2229
pbmods
5,821 Expert 4TB
JavaScript is client-side. If you want to edit your content server-side, you'll need to create a server-side script using a language such as PHP or Perl.

For more information, you'll want to do some research on content management with PHP.
May 23 '07 #2
eragon
431 256MB
JavaScript is client-side. If you want to edit your content server-side, you'll need to create a server-side script using a language such as PHP or Perl.

For more information, you'll want to do some research on content management with PHP.
ok, ill change my site over to PHP. Now, when i put the scripts needed in the pages, and i make the form, will the changes made with the form be saved so that it will show up on every computer that views the page?
May 23 '07 #3
acoder
16,027 Expert Mod 8TB
ok, ill change my site over to PHP. Now, when i put the scripts needed in the pages, and i make the form, will the changes made with the form be saved so that it will show up on every computer that views the page?
Yes that should work if you've programmed it correctly. If you still have problems, post your code here.

PS: changed thread title.
May 24 '07 #4
eragon
431 256MB
ok, i have Macromedia Dreamweaver, so ill use that to change the site to PHP. Also, are there some built in functions that will help me with CMS? (Content Management Systems) Could some people refer me to a good site, not a google search please? thanks in advance...

Yours Thankfully,

Eragon
May 24 '07 #5
acoder
16,027 Expert Mod 8TB
See these free ones Disclaimer: I can't recommend any.
May 25 '07 #6
acoder
16,027 Expert Mod 8TB
Here is a better list.
May 25 '07 #7
eragon
431 256MB
ill use PHPWCMS and see how that works. i still havent found out how to view *.php files on my computer... ill find out soon.

Thanxs much,
Eragon
May 27 '07 #8
eragon
431 256MB
I love this website!!!! Its helped me soo much! THank all you guys who helped me out!!!

Sighned, (sp?)

Eragon
May 27 '07 #9
eragon
431 256MB
this is so confusing
May 27 '07 #10
eragon
431 256MB
PHPWCMS dosn't work right...
Cute News dosn't work right...
I will try others, however, i would like to find a working, easy to configure CMS i can use... Any suggstions?
May 27 '07 #11
eragon
431 256MB
CMS Simple looks nice...
May 27 '07 #12
eragon
431 256MB
looks can be decieving
May 27 '07 #13
eragon
431 256MB
Warning: realpath() has been disabled for security reasons in /home/www/1221581815.awardspace.com/pivot/pv_core.php on line 34

Warning: realpath() has been disabled for security reasons in /home/www/1221581815.awardspace.com/pivot/pv_core.php on line 35

Warning: main(/pvlib.php): failed to open stream: No such file or directory in /home/www/1221581815.awardspace.com/pivot/pv_core.php on line 43

Fatal error: main(): Failed opening required '/pvlib.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/1221581815.awardspace.com/pivot/pv_core.php on line 43

why????
May 27 '07 #14
eragon
431 256MB
i found a tutorial:

Look Here
May 27 '07 #15
eragon
431 256MB
i execute this:

[PHP]<?php
// set your infomation.
$dbhost='http://fdb1.awardspace.com/';
$dbusername='sqldb';
$dbuserpass='eragon';
$dbname='sqldb';

// connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
//select the database
mysql_select_db($dbname) or die('Cannot select database');

//create the table, customize it if you want
$query = 'CREATE TABLE users(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
username VARCHAR(30) NOT NULL,
password VARCHAR(20) NOT NULL,
email VARCHAR(40) NOT NULL)';
$result = mysql_query($query);
echo "Table Created!";
?>[/PHP]


and i get this:

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/www/1221581815.awardspace.com/script2.php on line 9

Warning: mysql_select_db(): Unknown MySQL Server Host 'db1.awardspace.com' (1) in /home/www/1221581815.awardspace.com/script2.php on line 11

Warning: mysql_select_db(): A link to the server could not be established in /home/www/1221581815.awardspace.com/script2.php on line 11
Cannot select database
(quote taken from my browser when i run the PHP file (IE 6.0))

What am i doing wrong?????
May 27 '07 #16
eragon
431 256MB
please excuse the multiple posts, i am very annoyed. and noe that the pssword i listed above is NOT my real password, i just simply put my name in there so nobody would try and get on to my server.

again, please excuse the multiple posts.
May 27 '07 #17
pbmods
5,821 Expert 4TB
again, please excuse the multiple posts.
Excused.

You're having issues on the PHP side, not JavaScript. Since you've already started a new thread on the PHP forum, I'm going to watch that thread, and I will recommend to a JavaScript moderator that this thread be closed.
May 27 '07 #18
eragon
431 256MB
ok, i dont need this thread no more, ill use the one in the PHP section, you can close it.
May 27 '07 #19
acoder
16,027 Expert Mod 8TB
I won't close this thread just in case, but you can choose not to post in it :)
May 28 '07 #20
eragon
431 256MB
I won't close this thread just in case, but you can choose not to post in it :)
lol, ok ok, can you help me with my other problem, its in the PHP section?
May 28 '07 #21
acoder
16,027 Expert Mod 8TB
lol, ok ok, can you help me with my other problem, its in the PHP section?
I'm sure there'll be some PHP experts who'll help you there. Don't really go on that forum much. Have my hands full on this forum as it is!
May 29 '07 #22

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. ...
2
by: Verde | last post by:
I currently let users upload files (graphics) to a Web site. I want to limit the size of graphics, so I have the following in Web.config <httpRuntime maxRequestLength="110" /> That works just...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
4
by: Peter | last post by:
(VS 2003) I have a DataGrid and accept button. My problem is when a user starts to edit one of the values in the grid and does not either press Enter or move of the current cell and presses the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.