bx93
Members-
Content Count
70 -
Joined
-
Last visited
Everything posted by bx93
-
Thanks, but the file contains only 1-52.Currently, I want to enhance the menu operation of my web site. So, I want to know more things about menu introduction. Would you paste the remainder here, any other menu involved urls is also helpful.
-
With my experience, I think dreamweaver is good for the beginner. And it could be downloaded and u could have about 1 month trial. However, to design a good web page, we still must know html. Learning from others code, or the tutors, it's interesting way which I'm also on the process.
-
OS Talk Which OS do you think is the best?
bx93 replied to almoo7's topic in Websites and Web Designing
I vote Linux, as it's powerful and is free for us. Our programmers always thinking pirate is not good as we want the others to value our work. At the other hand, we also cannot pirate the others' work. OS is also a kind of software, what we should do if some software is not so valuable to be paid, instead of pirating it, I will choose another one. There is also another reason considering about the technology. As we know Linux is open to the public, we may learn the deep world from Linux source code. But it's hard/impossible to learn from the other OS code. -
You may use the MX 2004 for 30 days, I think there is enough time for you to design your website. I download one for trial, and there is 20 days left. I don't know currently if I could re-install the software to continue the trial.
-
Javascript: Disable Mouse Right-click In Browser
bx93 replied to wannabeeaweak's topic in Programming
This is important for someone to keep safe their product which they use to get money. See the following link: http://forums.xisto.com/no_longer_exists/ However, I don't know how to achieve this, as I could not open the link in a new window, and don't know how to save the html. -
Thanks, so http://forums.xisto.com/no_longer_exists/ is just the same as http://forums.xisto.com/no_longer_exists/. The only difference is the word size need to type, is it right? Considering the real domain address, I agree with some others who said that it should be paid to get a stable one. But to us, who run a non-commercial site, I think all of them works, and we may change the site to stable one termly. With the welcome content, the friends could make a bookmark with our site, so the typing will be done by the computers, so don't worry about the URL any more.
-
What's the difference between redirecting domain provider and the real DNS service? Does the former can only be supported by the provider such as dot.tk, and could not be moved to other place and the real DNS could be placed at any place?
-
When I used the export function, there was some trouble when the content was displaying on the page:The IE explorer crash.I wonder if the type longtext cause the problem. (there is some field larger than 40K byte)
-
The bithday script!! Quite handy accually
bx93 replied to websaint's topic in Websites and Web Designing
Thanks all. We may record all the birthdays of friends into the database. Using similar script we will be informed if the days are coming. To have more time to prepare the gift for them, we need be noticed several days before their birthday.I will try it and post the involved script here. -
speedi3579, you are totally true in technology aspect. However, considering the cost in trainning and learning, it's really difficult for someone to master all the tools. Being a programmer is easy, but it's difficult to be a senior one. So everyone will temp to solve the problem with his/her favourite programming language, with such language, he/she could solve the problem efficiently and make the program stable and readable.So in my opinion, I prefer to C/C++, then we may master a serial tools and enable to solve the problem as veteran.
-
All the code works at my web pages. However, there still some problems with such method.1. The speed, during the evaluation, I found the speed is not so good especially when the page is reviewed at the second time. The displaying from files is more fast than from database.2. Hard to operate the swf(flash type) file. I have some swfs to display in the pages. But I didn't find the way to operate it with MySql database currently.If there is someone else here to try it?
-
The starter hosting at Xisto.com supports only 20M space for the pages. But thanks OpaQue, the MySql database space is not limited.These days, I conducted an evaluation using MySql database to operate the image. First, create the database and table(which I had already introduce at the database session), upload the images and insert them into MySql database. When review the pages, these images are retrieved from the database and shown in the pages. The code is as following:table structure:CREATE TABLE `files` ( `id` int(10) NOT NULL auto_increment, `name` varchar(200) NOT NULL default '', `type` varchar(30) NOT NULL default '', `size` int(10) NOT NULL default '0', `data` text NOT NULL, PRIMARY KEY (`id`)) TYPE=MyISAM AUTO_INCREMENT=21 ;storedata.php<? $file_uploaded = $userfile; $filehandle = fopen($file_uploaded, "rb") or die( "Can't open file!" ); $filedata = ''; while (!feof($filehandle)) { $data = chunk_split(base64_encode(fread($filehandle,102400))); $filedata = $filedata.$data; } fclose ($filehandle); $query= "INSERT INTO files (name, type, size, data) VALUES('".$_FILES['userfile']['name']."','".$_FILES['userfile']['type']."',".$_FILES['userfile']['size'].", '$filedata');"; mysql_query($query);?>fetchdata.php<? $query= "SELECT data FROM files where name='$fname'"; $result = mysql_query($query); $row = mysql_fetch_row($result); $fdata = $row[0]; echo base64_decode($fdata);?>Assume these is a py1.gif has been stored into the database, it could be displayed as following:<img src='fetchdata.php?fname=py1.gif'>Thanks to Eric, he help me when I have the problem with the display on pages.
-
Having used Macromedia Dreamweaver MX 2004, I found that there is really many difference between all these web page designer.:)However, seem the static html pages could be easy made by these tools, but not the dynamic ones. Now I turn to use notepad sometimes to write some php files and use cuteftp to upload my pages. I feel more freely to make the pages, and control it freely now. One of my friends also think that using text editor may also have the chance to use the current enhancement of web technologies.
-
I got a free domain http://forums.xisto.com/no_longer_exists/. At the first several days, the speed is fast. I very happy to find that it is available immediately after I applied. However, I found there is some ads after a while, and now the web site seems not available. Could some one here find the solution. Is is possible to have its free domain, and totally host it on Xisto.com, or other place?
-
I want to design a form to get the feedback from the visitors. However, I meet some problem:Assume the form is: <form action="record_ly.php" target="_self" method="post" name="formguestbook" onsubmit="java script:return affirmNoBlank();"> <tr class="guestbook_list"> <td height="20" align="right">Topic: </td> <td><input class="guestinput" type="text" name="topic"> <font color="#FF0000">*</font></td> </tr> <tr class="guestbook_list"> <td height="20" align="right">E-mail:</td> <td><input class="guestinput" type="text" name="email" onBlur="CheckEmailBasic(this, 'Email box')"> <font color="CC3300">(Required if you want the response!)</font></td> </tr> <tr class="guestbook_list"> <td width="24%" height="20" align="right" valign="top">Content:</td> <td> <textarea class="guesttext" rows="10" name="content"></textarea> </td> </tr> <tr class="guestbook_list"> <td width="24%" height="30"></td> <td> <input type="submit" name="Submit" value="Submit" class="input_button"> <input type="reset" name="Reset" value="Reset" class="input_button"> </td> </tr> </form>There is some operation in record_ly.php. However, when I try the script. The paper remain at the record_ly.php and could not return to the form. What should I do if I want to remain at the form?Thanks in advance.
-
How to upload a serial files with php/html
bx93 replied to bx93's topic in Websites and Web Designing
I see. There are many sites provide multi-files loading with multi input fields. However, I did find several sites can upload all the images in one directory to the server as we chose a certain directory. So there should be some solution to upload a directory.To zip a set of files is ok to transfer the data to the server, but we should unzip the files at the server side then, it makes some trouble.I'm thinking there should be some API/ActiveX alike objects in windows/linux could support the upload of a directory. -
How to upload a serial files with php/html
bx93 replied to bx93's topic in Websites and Web Designing
Thanks kilz, I tried your form script:<html> <body><form action="setload.php" method="POST" enctype="multipart/form-data"><input type="file" name="file"></form> </body> </html>and I copy your php script to a file named setload.php.However it couldn't solve my problem. There is only one button which could use to choose one file. I wonder if I could choose one directory. Besides, could the function copy in php copy the file from client side to server side? Otherwise, there should be file transfer, but how to do it? -
With Eric's help, I could deal with the upload operation with one image file now.However, I still want to upload a set of local files, maybe the gif files in one directory, is there anyone know how to deal with php and html?Is it possible for me to upload all the image files in one directory which was only given by its path name?
-
Thanks everyone,I'm in the process to achieve the success. Now, I could store some message to the mysql database. Maybe my experience will provide some slight help to the new comer such as myself, so I write it here:First of all, login on your cpanel provided by Xisto, and use sitemanagement tools to create your mysql databases, users and grant the users with correct (I used MysqlDatabase and phpMyAdmin). With the phpMyAdmin we may also create the certain tables.To keep safe of the database, table and password, I use php file to operate the data. Besides the command Xisto has provided, I use msql_query("sql query") to send sql querys to mysql, use mysql_close to close the connection created by mysql_connect. My php file is like this,<?$dbh=mysql_connect ("localhost", "<User>", "<password for the user>") or die ('I cannot connect to the database because: ' . mysql_error());mysql_select_db ("<database instance>"); $query="<sql query>;"; $result=mysql_query($query); $close = mysql_close($dbh) or die ("Unable to close database server connect!"); ?>If there is any suggestion, please approve it as needed. However, I still don't know how to return from my php file to its caller, could anyone here help me with it.
-
Password protect your site! Make a simple password protection
bx93 replied to websaint's topic in Websites and Web Designing
I agree with marijnnn, I have tried to write something in my php file which store message to mysql database. It works and the operations in php file will not be viewed via web link. However, to be safe, we need not only the operation, but also must consider the transfer (which marijnnn has already talked about), one more issue we should consider is: we also need to protect our database and the password. -
Totally agree. For now, Xisto has become one part of my life. Though I have gotten another place for my webpage from one of my friends, I like here because I would learn here. Posting your experice, your questions, your comments. It's so nice here that other place could not provide. Hope Xisto will last for a long time.
-
Password protect your site! Make a simple password protection
bx93 replied to websaint's topic in Websites and Web Designing
I just begin to learn PHP, and very happy to find that it's so similar as C. To save the time, I skiped most of PHP desription. However, now I have something not very sure:1. How could I keep some pages can be called in the html or php, but could not be viewed from the website? Your method described here may have solved this obstacle already, would you describe it a little more.2. How could php load the client files to the server?3. May I display some image(jpg or gif) with php?I'm anxious to get the help from you, thank you in advance. -
I'm very interested by your ability to use only notepad in web design and coding.and I have some questions about your programming: 1. How do you manage all the objects, methods, events? 2. What about your productivity? 3. (Maybe the most issue, I want to know) Is there any problem you meet in web design and coding? Please forgive me if I have bored you.
-
There is a book named: "Balancing Agility and Discipline", in which Boehm suggest a mixture between the different processes. When reading the top considering about the "programming job", I start to think what our programmers should do in software development: just follow the discipline, such as code standard, design pattern or we could try to be more agile sometime, to build an perfect article freely?
-
It's really an interesting topic to disscuss the programming job.I have been involved in software development for more than 8 years. I like programming because I enjoy the problem solving in software system designning and architecture designing or some hard component detail design.