Search Results

Search found 42698 results on 1708 pages for 'php in array'.

Page 245/1708 | < Previous Page | 241 242 243 244 245 246 247 248 249 250 251 252  | Next Page >

  • How rar a folder with php ?

    - by Sjne
    I simple want to rar a folder with the help of php, so there's 2 ways to do this one is via shell_exec or exec, which isnt working for me but shell_exec and exec is enabled on server and working for other commands other method is via .sh file, but i dont know how to use it properly :( i need some code which works properly for this

    Read the article

  • Cake php menu generation

    - by RSK
    hai everyone........ I am trying to generate dynamic menu according to the user permission given with ACL component in cake php.. ie., if a user logins, i need to check which all actions are permitted for that specific user and according that list of actions i need to generate menu can any one help me to get all the permitted actions from the acos,aros,acos_aros tables thanks in advance

    Read the article

  • Storing Icons and Sql with PHP

    - by Ole Jak
    So I have a simple Apache with MySql I am developing a PHP app. I have Users Table in my DB. I vant to let them store Icons. My question Is what's the best way of attaching such data as icons (100-250kb's) to DB - Is it beter to store them Inside DB or store them as File and some how attaching links to icons into DB. What's the best way? Are there any classes that automate this process (of attaching such data to DB)?

    Read the article

  • Where is the smallest PHP Forum?

    - by Xeoncross
    I know there are minimalist forums out there like punBB - but has anyone ever run into a super tiny forum/discussion system that was barely more than posting comments? Are there any microscopic forums hidden on google code or github? I found a PHP version of ruby's Beast written in CodeIgniter - but it was still pretty large.

    Read the article

  • Curve-fitting in PHP

    - by Francesc
    Hi, I have a MySql table called today_stats. It has got Id, date and clicks. I'm trying to create a script to get the values and try to predict the next 7 days clicks. How I can predict it in PHP?

    Read the article

  • php replace a pattern

    - by Hulk
    Suppose in a file there is a pattern as sumthing.c: and asdfg.c: and many more.. with *.c: pattern How to replace this with the text yourinput and save the file using php The pattern is *.c thanks..

    Read the article

  • What is the best beginner's guide to PHP?

    - by Ami
    I work a lot with Wordpress and I'm trying to customize some of my themes, all of which are written in PHP. I've been trying to learn this language for a little while, but I'm not an experienced coder (My knowledge only includes HTML with some CSS). Can you recommend a guide/book/tutorial/etc that would work for a beginner?

    Read the article

  • SCORM lib for php

    - by Kombuwa
    hi all, we have developed e-learning web site for one of our customer. recently he asked he need SCORM feed. i dornt know whether my system is compatible with scrom. do any body know any opensource php tool or lib to generate scrom from existing data. thanks

    Read the article

  • PHP Summarize any URL

    - by Dylan Taylor
    Hey guys, How can I, in PHP, get a summary of any URL? By summary, I mean something similar to the URL descriptions in Google web search results. Is this possible? Is there already some kind of tool I can plug in to so I don't have to generate my own summaries? I don't want to use metadata descriptions if possible. -Dylan

    Read the article

  • Is this PHP code secure?

    - by Oliver Bayes-Shelton
    Just a quick question: is the following PHP code secure? Also is there anything you think I could or should add? $post = $_GET['post']; if(is_numeric($post)) { $post = mysql_real_escape_string($post); } else { die("NAUGHTY NAUGHTY"); } mysql_select_db("****", $*****); $content = mysql_query("SELECT * FROM tbl_***** WHERE Id='" . $post . "'");

    Read the article

  • Calendar php problem:(

    - by Marin
    Hi everybody! Can you please help me for this problem: It shows me this error in WAMP: Notice: Undefined index: searchstring in C:\wamp\www\Reece Calendar 0.9\includes\search.php on line 180 AND THE LINE IS: <input type=\"text\" name=\"searchstring\" size='70' value='".htmlspecialchars($_POST['searchstring'])."'/> How can I modify it?Please help me!Thnx in advance=)

    Read the article

  • Non ASCII char in PHP?

    - by domagoj412
    Hello, I am trying to send something to serial port (r232) with PHP. I am using this class: http://www.phpclasses.org/browse/package/3679.html The problem is that I am allowed to send only 1 byte. But if I send something like "1", I am actually sending 49 (ASCII for 1). Instead of send("1"), I tried with send(1) but it is no good, because this is integer which has 2 bytes. So is there a way to send a "real" char, not ASCII equivalent?

    Read the article

  • sending data to a php script

    - by kalpaitch
    Whats the best way to send data to the server and have it run through a php script. Bearing in mind I do not want to have the user redirected to a different page and no response needs to be sent back from the server.

    Read the article

  • looking for php-based image viewer / browser

    - by stereofrog
    (don't know if this better belongs to SU/SF, feel free to move if so) Hi, I've got a directory with 1000+ subfolders full with hi-res images. I'm looking for php software that would allow me to explore it server-side: browse folders - preview images - download hi-res. NB: support for print formats (tiff, eps) is a must!

    Read the article

  • redirect user, then log his visit using php and mysql

    - by Bart van Heukelom
    I have a PHP redirect page to track clicks on links. Basically it does: - get url from $_GET - connect to database - create row for url, or update with 1 hit if it exists - redirect browser to url using Location: header I was wondering if it's possible to send the redirect to the client first, so it can get on with it's job, and then log the click. Would simply switching things around work?

    Read the article

  • php xml attribute value replace

    - by Mark
    Say i have an xml file of this nature some data I wan to replace attributes of each later using one function in php: example say: replaceAttribute("collections","somecollection,"newcollection");

    Read the article

  • PHP mod rewrite .htaccess file godaddy.com question

    - by max
    I'm new to PHP and i was trying to learn mod rewrite to rewrite my URLs i use godaddy as my hosting company and they say to add the desired code to the body of your .htaccess file how do I mod rewrite my URLs and add it to my .htaccess file? Can some one give me an example of how to do this as well as point me to a good tutorial and or book on how to mod rewrite my URLs?

    Read the article

  • php file read not working

    - by Bharanikumar
    in server , i have some.php , when i try to read the content using file_get_content and fread both these not reading my content.. if i try some other url like yahoo.com , these function reading content , any idea, WHY this prob

    Read the article

< Previous Page | 241 242 243 244 245 246 247 248 249 250 251 252  | Next Page >