Jump to content

cksraj

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

About cksraj

  • Birthday 06/21/1975

Profile Information

  • Gender
    Male

cksraj's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi I would like to open a printer window on a perticular page load in my PHP web application. How can I do it? Kindly help me. Thanks, Crew Kasy Raj
  2. Yes, the scenario is when user checks the check box like "Remember me" in login page we should alow him to dashboard with out asking credentials in the next time. We remove his details, only when he logout from the webpage. Is this make sense? Thanks Crew Kasy Raj
  3. Hi I have to maintain username and password between different browsers or every new browser opened by user. I am using cookies to maintain values between browser closes/changes. When user's browser does not support cookies, it is not working. How to over come it? Do we have alternate to cookies? Kindly help me Thanks Crew Kasy Raju
  4. Thanks for your reply. I tried that it is working fine. But if I want to restrict the access when non authenticated users tries with absoulte/complete path, that is including image name http://servername/website/main/editor/images/main.gif How can I do this? Thanks CrewKasyRaj
  5. I've a folder which holds image (.gif/.jpg) files. the folder has been given --rwe-- permission to get the URL access. However, this allows unauthorized persons to access the images directly from the URL, the following proposed solution does not work: 1. putting the image folder outside my root directory - i don't have access to the root directory 2. having <directory> read and write </directory> permission, but does not work - it blocks php script to execute. Can anyone suggest me the solution for my problem? Problems: 1. I should have images access only to the PHP scripts and authenticated users. 2. Restrict the direct access to the images (by non authenticated users) Thanks Crew Kasy Raj
  6. Hi Emopoops Thanks for your reply. But did you get my question? The value of $_FILES["userFile"]["type"] is always 'application/octet-stream' when I select 'DOC', 'XLS' 'PPT' files. So how to check if the files are of those types????????? Thanks Crew Kasy
  7. Hi All, I am getting file input from the user in my application. I would like to allow only specific types of file listed below; 'PDF' => 'application/pdf', 'DOC' => 'application/msword', 'XLS' => 'application/vnd.ms-excel', 'PPT' => 'application/vnd.ms-powerpoint', From the above list except "PDF", for other types $_FILES["userFile"]["type"] value is 'application/octet-stream'. When I allow 'application/octet-stream' it allows db,exe and etc...Is it possible to allow only the above types of file? Thanks Crew Kasy
  8. Hi All Is it possible to store the image in MySql database using PHP? If yes then what are the steps should I follow to store and retrive it back? Thanks Crew Raj
  9. Ok let me ask you in this way... How will you show/create a blank graph(no data available) using PHPLot? May be x and y axis with no line/bar graph... I hope this makes sense? Thanks Crew Kasy Raj
  10. Hi All, I would like to have PHP tab control with/without Javascript. But I want to retrieve some information from database server when clicking on a tab. Any body had used this kind of tab? Any help please!!! Thanks Crew Kasy Raj
  11. Hi All, I am plotting a line graph using PHPLOT. When there is no data in database, DrawGraph() function of PHPLOT displays message saying that "No array of data available". Is it possible for me to change it to a custom message like "No data available"? Since I am running the phplot code inside the IMG tag I am not able to check the validation before setting the SRC (php file). Kindly advice me... Thanks Crew Kasi Raj :'(
  12. Hi Team, I plotted a line graph using PHPLOT. X-Time Y-Performance. So x values will be 1 to 24 for a day. Y = Performance data. Assume that the data (Y) is available for 3rd hr to 20th hr only. Is there a way to create a dotted line to show the boundaries? So the boundaries are defined as the area where data exists Thanks Crew Kasy Raj
  13. Hi Team I am trying to read a file contents (CSV file) size of 78MB using PHP. But my code is not working. It is breaking in the below line; $fcontents = file($import->getCSVName()); But if I read other files which is of size 32MB then it is working fine. How can I come out of this problem? Is there any limit for file size to read? If so what is the maximum size? Please advice. Thanks, Crew Kasy Raj
  14. Thanks for your detailed reply. I got it clearly.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.