ayok
Members-
Posts
340 -
Joined
-
Last visited
Never
Everything posted by ayok
-
Hi guys, I have a new experience today as a webdesigner. A client ask me to show the php scripts I made for his website. He doesn't understand PHP, so he will show this to his friend, which is a programmer. The reason is he wants just to check my script whethe it's good. And so far the website is working properly. Is that a common request? Thank you, ayok
-
Hi, A short question. I've got this query $fetch = mysql_query("SELECT * FROM table LIMIT 0,3 ORDER BY date DESC")or die(mysql_error()); But then I get mysql error for the limit. I think because I order it based on the date. Could anybody tell why and how to fix this? Thank you, ayok
-
Ok I'll do that. Thanks a lot, Daniel0. ayok
-
Hmm.. i c.. I think I don't have access to change those. So do I have to ask the hosting to do that? Thank you for answering my questions so far. ayok
-
But why it doesn't work as i expect?
-
Thank you for being so patient to explain me about "former" and "latter". Uh? I think what I want is the other way around. I want detail.php?id=234 become detail/id/234. So my code is wrong? How do I change it then? My code now: RewriteRule ^detail/product/([0-9]+)/?$ detail.php?id=$1 thanks, ayok
-
Hi Daniel0, I still don't see any effect. My .htaccess now looks like this: Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^detail/id/(.*)/?$ detail.php?id=$1 What do you mean by former url? http://www.myweb.com/detail.php?id=234? ayok
-
Thanks Daniel, I didn't know that there is specific forum about this. I am new with configuring .htaccess. I was looking for a solution in seo, and I find .htaccess solution. Basically what i'm going to do is to rewrite the url become seo friendly. I try this way, but end up with a problem. I don't really understand what you mean.. So I should switch it like: RewriteRule ^detail.php?id=$1?$ detail/id/(.*)/ ? ayok
-
anyone?
-
To how much? What 'tried to allocate 9152 bytes' means? I can upload some pictures without this error. What size limit that I can set for the user knowledge to avoid this error? I have no access to php.ini. Thanks, ayok
-
Hi, I have an upload page for images. It can upload multiple images. However I've got problem when I upload bigger images, and getting this error Is it something to do with the memory_limit? In my phpinfo, I see memory_limit = 16MB. Any idea how I can solve this error? Thanks, ayok
-
Hi, I'm trying to get a friendly url using the htaccess file, as followed: Options +FollowSymLinks RewriteEngine on RewriteRule ^detail/id/(.*)/ detail.php?id=$1 RewriteRule ^detail/id/(.*) detail.php?id=$1 I expect to get an url like http://www.myweb.com/detail/id/234 from the original url http://www.myweb.com/detail.php?id=234. However I've got two problem doing this experiment. First, for some server I am not able to upload .htaccess file. Even i tried to upload it as htaccess.txt. Second, I finally able to upload to other server, but it just doesn't work.. I still see http://www.myweb.com/detail.php?id=234 on url bar. Could anyone help me with this? thanks, ayok
-
Hi thanks, Here is the code for the upload page: <? echo "<table width=500 align=center>"; echo"<form enctype='multipart/form-data' action='newpics.php' method='POST'>"; for($i=0;$i<5;$i++){ $no=$i+1; echo "<tr><td>Foto $no:</td><td> <input type='FILE' name='fupload[]'></td></tr>"; } echo "<tr><td><INPUT TYPE=submit value=Uplot></td></tr>"; echo "</form></table>"; } ?> And this is newpics.php <? $fupload = $_FILES['fupload']['tmp_name']; $fupload_name = $_FILES['fupload']['name']; $fupload_type = $_FILES['fupload']['type']; $jml_file=count($fupload); $i=0; while($i < $jml_file){ $direktori_file = "../../writable/products/$fupload_name[$i]"; move_uploaded_file($fupload[$i],"$direktori_file"); $i++; } header("location:index.php"); ?> move_uploaded_file doesn't work. It just goes to index.php with no uploaded image. But, this script are working on my localhost. ayok
-
Hi, I have a problem with my upload script, the move_uploaded_file doesn't work. It works on other server, but in this server, where I work on now, it's just return false with no error message. Could anybody tell me what's wrong? thanks, ayok
-
Hi, I'm looking for a way to set up the web content from the rss feed from other website. Is there any tutorial about it? Thank you, ayok
-
perhaps you can turn the volume down like 20 or 10, so it's not that scary..
-
HappyLand - Kids game built for Lutheran Media
ayok replied to matthewjumpsoffbuildings's topic in Website Critique
IMO, the animation should a bit faster. Nice work. -
Hi. Thanks. I think that's what I need. Is there any tutorial about parsing $_SERVER['REQUEST_URI']? I can't really find it on php.net. ayok
-
How can I change the apache modul on webserver? Should I ask my hosting?
-
Hi all, One question. I want to change a php url text, for example: www.myweb.com/gbook.php?id=blah&page=bleh, in to shorter text in order to do an SEO, like www.myweb.com/gbook.php/newpage. What function do I need? thanks, ayok
-
Yup. it looks like old design. At least you can use photoshop to design the layout and just import it as a table.
-
Thanks tibberous, I've checked the root level, but i didn't find any .htaccess file.. well.. there are some folders, i haven't checked it one by one. I named my index, just simple index.html.
-
Hi guys.. I've got a strange problem. I make a site inside a site. What I mean is I have this site www.woonmodern.nl and I make another website inside the folder /luxury/. The problem is, when I look for http://www.woonmodern.nl/luxury, I can open the webiste, but if I aim specific file like http://www.woonmodern.nl/luxury/index.html, I cannot open the file... What's happened? Has anybody had the same problem? Would you share with me how to solve it? I upload it using dreamweaver. thank you, ayok
-
Thanks calabiyau, I think I can fix the navigation bar, but I don't know whether the content still drops. I've reduce the width of the content. Could anybody see? I don't see change on screenshot immediately.
-
Hi, I've just made a website with CSS, and I've checked on opera, firefox and ie7. However, I saw somewhere on IE6 that this website is messed up. I just couldn't see the detail, cos I immediately shut it down. It looks failure. http://www.vanmansomtaxaties.nl Could someone check again for me on ie6? what's wrong with it? Any feedback is also welcom. Thank you, ayok