thanks
can anything be done with primary key set as auto_increment.
User Profile
Collapse
-
how to update mysql database with new data set?
i have a strange problem. I have a massive database with primary key being autoincrement ID and other fields. The company i work with often publishes the data in excel sheet and i converted to mysql table.
what if they make new changes to existing data? how do i update my mysql data base accordingly? -
php exec problem with unzip
I want to upload a zip file and then extract/unzip it. I am accomplishing this with php exec command. I am calling unzip from php exec command within a php script and it is not extracting files. why?
[PHP]<?php
echo exec('unzip file.zip');
?>[/PHP]
i checked apache logs and it says
It works perfectly fine when i unzip using SSH command line..
how to fix this problem.... -
Thanks very much.
I like Komodo IDE and PSpad. Both are very good.
I managed to find them along with other editors and thanks to this site: free-php-editor.comLeave a comment:
-
searching for a good php editor ::
anybody know a good PHP editor with IDE?
i am searching for a open source editor. i dont want dreamweaver or other paid editors.
please suggest me one! -
-
set textarea value to iframe?
i am planning on kind of editor by replacing the textarea with iframe so that i could edit the content with rich html.
I am facing weird problem and i cannot set the value of iframe innerHTML with the value of textarea while loading. The idea is hide the textarea after moving the value to iframe rich text editor.
what could be the problem. here is the code
...Code:var myeditor; window.onload
Last edited by gits; Jul 20 '12, 11:46 AM. -
replace textarea with javascript?
i am currently working on a WYSIWYG html editor with javascript. i have to convert textarea to iframe to do get the html environment to get it work as form POST.
my questions are..
1. can iframe submit the POST form data to script? is it form object?
2. does anybody know how to replace those textarea with iframe?
i am looking to code my own rich text editor which is a text area replacement. -
777 Permissions Problem
i am very worried about assigning 777 permissions to anything that is uploaded via PHP script. i own a dedicated server running centos with cpanel.
I read somewhere that assigning the apache or nobody ownership to the upload folder is a good security measure. I did try assigning nobody to the upload folder using
It looks like not working for me. Here is what the problems i have...
Eventhough... -
thanks :) i am using GET only in querying mysql and i use only POST to insert or edit in the database.
looks like i need to write a function though :) hmmm...
i guess it should be something like filtering user data. can anybody post code for this?Leave a comment:
-
PHP Forms Security
what is the best way to secure forms in php?
I basically have a login system with my script and what worries me most is i directly use $_GET[$var] in mysql queries?
Any advice or suggestions related to securing forms is much appreciated :) -
HOWTO: Pull Title & Description from URL in PHP
i am planning to code a script in php for bookmarking. how to pull title and description from a given URL?
Is there special functions exist within PHP? -
thanks markus :)
actually, i am bit worried becuase people can upload HTML files in the editor and PHP script outputting the page. Like..
$text = <html content is stored in database>
and a PHP file like show.php echoing the $text.Leave a comment:
-
can you shed more light on this? actually i also use forms to do various things, but dont get your point on how it can be exploited....Leave a comment:
-
Is it safe to allow HTML code inside PHP?
is it safe to allow users using a html text editor? i got open source java script based HTML editor and i am using it to allow people to type their blog and forum?
is it safe? -
what is mysql injection?
i heard a lot about mysql injection, dont know how actually people exploit it.
I normally query my mysql like this...
[PHP]select * from table where id-='$_GET[id]'[/PHP]
is this safe way of quering the database? -
Does a login system prevent Spam?
i am currently working on a small blog project with PHP. I have implemented a login system where users must register an account to make a blog post and comment it.
does this necessarily prevent SPAM (like comment spam etc) ? -
Best Way to Process PHP Form
what is the best method to process the form on the same page with PHP? How to do it? -
How to Output Messages from PHP page to another?
what is the best way to output error messages from one page to another?
i currently send the messages to display using header() with GET
Is there any good workarounds? or a standard way of doing it?... -
Looks like you are getting more traffic/visitors :)
just optimize mysql and apache. There could be extra modules in apache that might slow down. Also do a check about mysql memory usage.Leave a comment:
No activity results to display
Show More
Leave a comment: