[PHP/HTML]: URL Masking.
I want to know about the advantages and disadvantages of URL masking. Does it really make sense from security point of view? ...
I want to know about the advantages and disadvantages of URL masking. Does it really make sense from security point of view? ...
Is there any free profiling tool with which I can measure the performance of HTML, PHP and JavaScript code independently? ...
Disclaimer: I have no Twitter API experience nor have I used Twitter until today I've been given the task of creating a 'tweeting contest' - if anyone has Twitter API experience and/or has done this in the past, I would appreciate any useful tips that you may have. So the basic rules are that in order for a user to enter the co...
I will create 5 tables, namely data1, data2, data3, data4 and data5 tables. Each table can only store 1000 data records. When a new entry or when I want to insert a new data, I must do a check, $data1 = mysql_query(SELECT * FROM data1); <?php if(mysql_num_rows($data1) > 1000){ $data2 = mysql_query(SELECT * FROM data2); if(m...
I know there are already objects supporting Office 2007 files, but is there any native Office 2003 or earlier support ? ...
public function test(){ $data = ORM::factory('testdata')->find_all(); Table::factory() ->set_body_data($data) ->set_row_titles('id') ->set_column_titles(Table::AUTO) ->set_callback('format_row', 'row') ->render(true); $this->template->title = ''; ...
I'm working on an application which has data imported from a foreign (and wholly unchangeable) source. I'll simplify some of the tables to explain the problem. Below are the tables with their primary keys. invoices (doc_number, date_printed, batch_number) headers (doc_number, date_printed, batch_number) deliveries (doc_number...
Hi I am developing an web application using php. One of the requirement is the want member id looks like folder name such as http......com//joe The id is "joe" Normally i will use http......com/?id=joe but my client don't what this idea... How do i grab that id??? Thanks ...
This is most likely not an easy one but here is the situation: I have written a C# command line application which: creates a PDF using ITextSharp writes it to disk uses Acrord32.exe (this is Acrobat Reader) via System.Diagnostics.Process in order to silently print the generated PDF If I build my solution and double click the pdfGen....
I am trying to implement paging and i done that. The problem is when I click the search button the search results are displayed with no problem. 1st Snap http://www.flickr.com/photos/41695354@N08/4057149857/ 2nd snap http://www.flickr.com/photos/41695354@N08/4057149861/ When i click the next button, it once again gets the value from a...
As many PHP programmers, I am a kind of CMS guy, but also training my "framework" muscles too. From what I observe, there is more demand for Amazon Web Services in job descriptions. Hence, they are worth learning. But any learning should be well-targeted, with purpose, so I am asking questions below. My question is which kind of applic...
Hello I search a free gallery script php/mysql (or file based) I want that script to have tag support (like facebooks gallery) Can anybody help me with that? thanks ...
I have two dates in the format below: Start Date = 30-10-2009 End Date = 30-11-2009 How, with PHP could I calculate the seconds between these two dates? ...
Hi all, I've used GD before, but only ever for resizing/generating images on the fly - though I'm pretty positive it has the capabilities to do what I'm after. As simply as possible, I need to check an image to find out whether it has a light background or a dark background. I.e. if the background is predominately 'light' I'm returned ...
Hello everyone, just want to ask for an opinion regarding mysql. which one is the better solution? case1: store in 1 row:- product_id:1 attribute_id:1,2,3 when I retreive out the data, I split the string by ',' I saw some database, the store the data in this way, the record is a product, the column is stored product attribute: a:3...
hi all, Which is th best pdf generator for php, i know some opensources libs mpdf and fpdf.. Thanx in advance ...
Hi i am trying to get data from db, but in while loop, first data is coming blank, let me show you <?php $query = "SELECT * FROM `artists` WHERE label_id = '$id' ORDER BY name"; $result = mysql_query($query); while ($info = mysql_fetch_array($result)) { ?> <option value="<?php echo $info['ID']; ?>"><?php echo $info['name']; ?...
I need to use PHP to validate usernames, and I only want them to use alphanumeric, as well as dash (-), underscore (_) and period (.) Is this right? preg_match("/[A-Za-z0-9_-.]/",$text); ...
Problem with passing arraycollection to Advance datagrid. My Arraycollection structure like ` private var groupList:ArrayCollection = new ArrayCollection([ {Country:'India', children:[ {Country:'Series1', children:[ {Matches:'India Test series 1',isEnable:false,id:1,isSelected:true}, ...
I make an AJAX GET request to a PHP script to compare a value in a textfield to one in a database on every character typed - this works smoothly and beautifully on my laptop (Windows). I transfer my scripts to computer running windows server 2003 and it tries to make a GET request but it returns a "500 Internal Server Error"?! What is ...