• Member Avatar for pzuurveen
    pzuurveen

    Began Watching how to remove this warning

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at G:\xampp\htdocs\prac\picvw.php:202) in G:\xampp\htdocs\prac\picvw.php on line 220
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in how to remove this warning

    there can be no output , or even empty lines outside <?php ?> before session_start(); so do as veedeoo tells you and put it at the top of the page …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Backup database empty file

    i have to backup my database via php codes but i always ended up with an empty file? <?php include "connection.php"; $command = 'mysqldump -u root -p ***** –all-databases > …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Backup database empty file

    I don't think ` or die(mysql_error()` works here because you access the mysql not though php but though the shell. to get te result back from the shell exec('command', $result); …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching PHP need to read file created dynamically

    Hi Friends, User logged in as: ankit.baphna@gmail.com I am creating gif image by below line 1 code with name demo25_"email address of user" ex: demo25_'ankit.baphna@gmail.com'.gif it gets created in my …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in PHP need to read file created dynamically

    vars inside ' ' are treated as plain text vars inside " " are treated as var so should work echo "<img src='libchart-1.3\libchart\demo\generated\demo25_$email.gif'>"; also posible echo '<img src="libchart-1.3\libchart\demo\generated\demo25_'.$email.'.gif">';
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Populating a Form from a mysql database

    do `var_dump($sql);` to see if the query looks like you want it to. (post the resulst) also read this artical about [mysql-php-sql-injection](http://www.tizag.com/mysqlTutorial/mysql-php-sql-injection.php)
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Populating a Form from a mysql database

    Me again, I have the following which should generate a form and populate that form. <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 )) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Populating a Form from a mysql database

    is that from the query from line 88? cant, there is no query at line 88, but there must be one.
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\Tes

    when i try to submit my file i get error > Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\Test\file_insert.php on line 49 My Code for Insert.php is: <html> <head><title>File …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\Tes

    what version of php are you using it's not default part of php before 5.3 See [http://www.php.net/manual/en/fileinfo.installation.php](http://www.php.net/manual/en/fileinfo.installation.php)
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Insert into mysql failing

    Hey guys, the code below is where I am having the problem. The error I am getting when trying to insert the record is *Could not enter data: Unknown column …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Insert into mysql failing

    change the ` (back tick) in the query value part to ' (single qoute) stings are surounde by a single qoute. Colomnames by a back tick
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching sending email

    Hello there Masters.. I have a little problem on my mail() function.. when I send mail the sender is always apache@blabla.com. what I want is when the message is sent …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in sending email

    sender must be an emailadress $sender = "markii-designs@yoursever.com";
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Getting Child Node name with simpleXML

    In your exampele, `&pn; &adj-no; and &n;` are values of `$node->sense->pos` not child-elements
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Getting Child Node name with simpleXML

    I am going through an XML file and trying to get the name of a child (or children) node(s) but I'm missing something. Even though there are child nodes, my …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Getting Child Node name with simpleXML

    can you post the (part of) xml-file?
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Repopulate input field issue

    I'm having issues with repopulating my input fields after being submitted if there is an error. I've tried the simple `<?php if(isset($_POST['value'])){echo $_POST['value'];} ?>` That doesn't work. And I'm thinking …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Repopulate input field issue

    Your $_POST values are lost because the redirect in form-check.php You can also put the code from form-check.php into the index.php file. And than have your form action point to …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Understanding code

    Hallo, I am trying to understand this code which doesn't make sense to me. company.php <?php require('wds.php'); include(INC_DIR . 'header.inc.php'); ?> <div class="container"> <div id="header"> <h1 id="book-of-love"><img src="<?php echo SITEURL; …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Understanding code

    look to me that `company/vision-mission.html` get redirected to `company.php?pageSlug=vision-mission` in company the vision-mision page is fechted for the data base: wdsQuery("SELECT pages_ID, pages_title, pages_description, pages_content, pages_slug FROM " . $dbtable['pages'] …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching SESSIONS variable not working on ipage

    Sessions wont work on ipage, I know there are post like this all over internet but i did try all the answers and nothing seems to work i tried this.. …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in SESSIONS variable not working on ipage

    N is the number of levels of subdirectory used. `"N;/temp"` makes no sence. `3; /temp` does, but is not necessary and not recommended, so do you reley need it? see …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching How to attach two or more files and send mail in PHP

    **The code below sends only one attachment, but I need to attach and send two file(one rar file and pdf)** $email_to = "$email"; // The email you are sending to …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in How to attach two or more files and send mail in PHP

    just do the same for the pdf as you did for the rar. you will need a different fileatt_type (just google that) don't forget the `--{$mime_boundary}\n`
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching update problem

    i have a problem with this i wanna update a profile i can update the title and the body but i can update the image here is the program i …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in update problem

    > here is the program where?
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Assign Javascript array values to php Array values

    Hi , I just want to know,is it possible to assign the javascript array variables to the php array variables. I am new to php ,so please can anyone explain …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Assign Javascript array values to php Array values

    no. php runs on the server. Then the html & javaschript output is sent to the browser. The browser runs the javascript. to get the javascript valus back to the …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching upload many images with they label

    I need to upload 5 images at ones with they labels I have made this before to upload many images at one it works fine but I need to have …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in upload many images with they label

    your html <p><label for="img1">صورة 1</label> <input type="file" name="img[]" id="fileField1" /> <input type="text" name="label[]" id="Limage1" placeholder="Add label"> </p> your php ... $tmp_name = $_FILES["img"]["tmp_name"][$key]; $name = $_FILES["img"]["name"][$key]; $label = $_POST['label'][$key]; .... …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Send email to multiple recipent based on checkbox

    It doesn't change anything in the <form>. Just where the data is sendto when you press your send button. the javascript: [http://www.w3schools.com/jsref/met_form_submit.asp](http://www.w3schools.com/jsref/met_form_submit.asp)
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Send email to multiple recipent based on checkbox

    I got 1 form that contain a table that can be editable . In that table i added 1 column for checkbox . The checkbox is use to send a …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Send email to multiple recipent based on checkbox

    your sendbutten is just a link to send_email.php to actualy send your form :`<input type="submit" value="send eamail">` before the </form> also change `<form name="form2" method="post" action="send_email.php" class="search_form">` or use javascript
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Help me create A small database application

    Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Help me create A small database application

    The html form date type is in most cases just a text. If you want te curent time justuse the php [date function](http://nl3.php.net/manual/en/function.date.php). if you want another date I recoment …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching adding icon to each post by wordpress plugin.

    i am developing a plugin where i need that on each post title a small icon added next to post title. my code is below. it is adding icon but …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in adding icon to each post by wordpress plugin.

    Your function sends the tilte to the theme. The theme add the link (or not) frorm the defalt 2013 theme: `<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>`
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in FTP access via WordPress site (8 posts)

    You can use any ftp-client to login to you wp-site. Use the same username/password as when updating. But if that cusom-form is on the same server as wp, you can …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching FTP access via WordPress site (8 posts)

    How to access ftp via wordpress?
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in FTP access via WordPress site (8 posts)

    wordpress has it own opload tools for images and other 'media'. But it uses ftp when you do an update. What is not working for you?
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in send image from one page to display in another page

    ` $image = $row["image"];` is $row["image"] the url to the image? after that you start messing up php and html code
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Uploading multiple images without name duplication

    You change the use the filename that you already changed as the oridanal one. ` $filename_data=explode(".", $_FILES['img']['name']);` The solustion is to take this out of the while loop. You also …
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Best way to iterate object 'collections'

    Hi, I've got a class in PHP with an array of objects in it. I need to loop through these objects and call 2 methods on them but I'm not …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Best way to iterate object 'collections'

    foreach( $array as $index => $value) { echo "$index , $value"; } 0 , first 1 , second 2 , third
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching Uploading multiple images without name duplication

    I am trying to upload multi-images I am using this script everything is fine and the images uploaded successfully the problem here is I don't want to duplicate the images …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in Uploading multiple images without name duplication

    1. You move te uploaded file before you check it exist. 2. you rename the already remaned file creating something like: image_0_1_2.jpg
  • Member Avatar for pzuurveen
    pzuurveen

    Began Watching send image from one page to display in another page

    guys! Im new in PHP and im developing a small website wherein there's many images on the page and when i click one of the image it must be shown …
  • Member Avatar for pzuurveen
    pzuurveen

    Replied To a Post in send image from one page to display in another page

    if you already have the info you need in $_POST there is no reson to put it in a $_SESSION. $_POST is usaly obtaind from a <FORM> on the first …

The End.