-
Replied To a Post in Signup page
Hi, I only see two HTML sources. Can you share your PHP code? -
Replied To a Post in Calling url from one server to other
Without seeing your code it is difficult to answer. Are you using an API to submit these requests? -
Began Watching Proud to announce...
Hi guys, It gives me great pleasure to announce that I will be collaborating with fellow Daniwebber Veedeo in creating a fully baked, no nonsense CMS in Codeigniter. I will … -
Began Watching Could you share your knowledge about life?
That might be quiet strange question. Would any of you tell me basic teachings about your life? Something as if you would be thinking like "Oh darn, if I just … -
Replied To a Post in Season's Greetings
Happy Holidays! -
Gave Reputation to almostbob in what is explode function in php?
## Spoiler alert ## # Entirely ridiculous post follows # `Explode()` is a construct developed for the lemmings game, it makes the lemming explode to blow a hole through the … -
Began Watching Is Zend studio the best way to create php mobile apps?
I want to make my website a mobile application. I write in php and after a little research it seems that Zend is the best way to create mobile apps … -
Replied To a Post in Function for Copying Arrays
In addition. It does not work because `$to` exists only in the function scope and since you declare it as function argument `$b`, you should get PHP notices: PHP Notice: … -
Began Watching Reading and Understanding IP Ranges from RIR records
Hi, I am preparing IP ranges for countries to use in my script (.htaccess file) from the data provided by RIRs (Apnic, Afrinic, Arin, Lacnic, Ripencc). I have a couple … -
Replied To a Post in is_date() is malfunctioning
Hi, **@SalmiSoft** sorry I just saw your answer! **@Osagie_1** the problem is given by the regular expression in `preg_match()`, right now you are checking if there is a digit, not … -
Replied To a Post in messages mess up
It happens because the index `$_FILES['uploaded']` is not set, this is defined by the attribute **name** of your input field: <input type="file" name="uploaded" /> So check if the value is … -
Replied To a Post in Connect Wordpress and Dreamweaver
Uh, I think a local server is required so the template can be processed by PHP. If you're using **PHP 5.4+** then you can start the built in server to … -
Replied To a Post in messages mess up
Hi, can you explain your issue? The only problem I see is indentation and the variable `$Ok` at line 9 which should be `$ok`, PHP is case sensitive. -
Replied To a Post in Codeigniter upload problems
Hi! I've experienced this kind of issue in past, it was due to a mismatch of mime-types and I fixed by updating the *application/config/mimes.php* file. But I was trying to … -
Replied To a Post in effect of changing url?
There are not specific advantages for web pages, but for their components yes: from a performance point of view, serving images (and in general static contents) from different subdomains, will … -
Replied To a Post in HOW DO I CONVERT DIV CONTENT INTO AN IMAGE
Ok, that's clear, my point is this: If you can generate that div through PHP, then you don't need to convert it, you have to use the same data source … -
Replied To a Post in Block IP from accessing a certain page on website
You're welcome! If we are done, please mark the thread solved. Bye! -
Replied To a Post in HOW DO I CONVERT DIV CONTENT INTO AN IMAGE
Wait, let's try to simply the task: 1. you want to write text to an image? 2. Or you want to extract text from an existing HTML code? -
Gave Reputation to diafol in simulating with php-json API, an xml-like json structure
Was bored so cooked up a quick n dirty class. Seems to work Ok.. class jBuilder { public $phpArray=array(); public $containerName; public function __construct($containerName=NULL) { if($containerName) $this->makeContainer($containerName); } public function … -
Replied To a Post in Array in email (phpmailer), how to put into message part
It seems all these arrays will have the same size, so you can loop them together, for example: # read size of one of these arrays $count = count($_REQUEST['gender']); # … -
Replied To a Post in Block IP from accessing a certain page on website
You could implement this check directly in your PHP application. For example with `rlanvin/php-ip` library you can do: $block = new IPBlock::create('111.111.111.111/24'); if($block->contains($_SERVER['REMOTE_ADDR'])) { header('HTTP/1.1 403 Forbidden'); include $_SERVER['DOCUMENT_ROOT'] . … -
Gave Reputation to ademmeda in Block IP from accessing a certain page on website
**@cereal**, thank you so much. Your suggestion will simplify things for me considerably and I am glad I asked this here. I have been checking so many sites/forums etc. and … -
Replied To a Post in Error displaying results from an in_array()
Create `$friends` like this: foreach($results as $row) { $friends[$row['id']]['first_name'] = $row['first_name']; $friends[$row['id']]['last_name'] = $row['last_name']; } So you save the user ID as index key of the array, when you want … -
Began Watching Email Question
Sup guys. So I have an email question. Basically, we've got around 4 employees in our office we've been managing to get away with gmail accounts and luckily registered when … -
Replied To a Post in Block IP from accessing a certain page on website
`IF` is part of the core since 2.4, while `Require` is part of `mod_authz_core`, which is loaded by default and available since version 2.3, at least in debian & co. … -
Began Watching JSON to MySQL
Hello, I have a app where each page has an undefined number of tables (Meaning on one page we may have 3 tables and on another we may have 15). … -
Replied To a Post in Block IP from accessing a certain page on website
> what does [8-9] mean exactly? This is used to define a range. The `mod_rewrite` module does not support the CIDR notation, in your case you could write: RewriteCond %{REMOTE_ADDR} … -
Replied To a Post in Block IP from accessing a certain page on website
Hi hi! If considering only Apache you can try with the `Location` directive: <Location /mypage/> order deny, allow deny from 10.0.0.120 </Location> The applicable **context** for this directive is **server … -
Gave Reputation to diafol in Need a PHP/HTML coder!
OK. Jorge you're right. I am a miserable git. @zzmrmartinzz In addition to the free work, if you're interested I have a very beautiful girlfriend, a car I'm hoping to … -
Replied To a Post in Need help With php connection
Hi, with `mysqli_connect_errno()` you check if there is an error, if yes then, with the same function, you get the error code, which is an integer, while with `mysqli_connect_error()` you … -
Began Watching Validating domain and publish/reserve IP for custom domain
Hi All, I am doing a project whereby I can create and publish websites/landing page to custom domains. However I am a newbie at publishing. Can someone please guide as … -
Replied To a Post in Subquery Matching
Ok, as long `acadCred.courseCode` uses the same format of `crse.preReq`, your query should work fine. Could you show the table structures and some data? -
Replied To a Post in Subquery Matching
What kind of values are returned by `crse.preReq` in the sub query: integers, CSV? If CSV then the `IN()` clause is not the correct solution, because it can return something … -
Replied To a Post in Parse Google GMail aliases
Whoops! There is a little bug in the previous code that prevents correct results when pushing **googlemail.com** accounts through `parseMail()` method, fixed by updating the `_parts()` method: /** * Parse … -
Replied To a Post in Make Intro video any Idea
Try video.js: http://www.videojs.com/ it is open source. -
Replied To a Post in PHP session
**@pzuurveen** sorry, I didn't saw your reply! ;D **@zebnoon1** There are few errors: `session_start()` must be placed in top of both files. Then, you're submitting the form to **session2.php**, so … -
Replied To a Post in varray
MySQL does not support the `varray` type, you can use `varchar` or `text` to store CSV lists and then use functions like `FIND_IN_SET`: - http://dev.mysql.com/doc/refman/5.6/en/string-functions.html -
Began Watching PHP Licensing
I would like to enquire further details about the terms of using php for commercial application development. The scenario is that I have built an application using PHP and intend … -
Began Watching Curious about wrong nameservers
Let's say I registered a domain and entered four nameservers, out of which two were wrong. Will 50% of my connections face problems in connecting to my website? -
Gave Reputation to broj1 in how to call a function in php if we click the submit button?
What does the error message say apart from Fatal error (post the whole text of the error message)? Also, the mysql_query function returns a resouce (a special php type). Are … -
Replied To a Post in Upgraded editor
**Problem 2** occurs in both situations for me. -
Replied To a Post in Upgraded editor
Hello! I'm having few small issues when using Google Chrome on Ubuntu. #Problem 1# It does not seem to indent correctly code snippets, an example here: * https://www.daniweb.com/web-development/php/code/488524/parse-google-gmail-aliases **Screenshots:** [Parsed](http://i.imgur.com/QxYqlui.png) … -
Edited Parse Google GMail aliases
When using emails as usernames you want them to be unique over your table, but this can be a problem if you consider a GMail account, because of their [username](https://support.google.com/mail/answer/12096?hl=en) … -
Created Parse Google GMail aliases
When using emails as usernames you want them to be unique over your table, but this can be a problem if you consider a GMail account, because of their [username](https://support.google.com/mail/answer/12096?hl=en) … -
Replied To a Post in Issues with $_SESSION when adding $_POST values
Be aware with this solution: a client could overwrite any index of the `$_SESSION` array through the `$_POST` keys. For example, if you set the *user id* and the *status* … -
Replied To a Post in Join 3 MySQL Tables
If the are columns with the same name, for example `id`, when using the wildcard character the database will return error `1052`: * http://dev.mysql.com/doc/refman/5.6/en/error-messages-server.html#error_er_non_uniq_error Solution is to define each column: … -
Replied To a Post in cURL won't scrape this page. Why?
Too bad I didn't read their docs! Thanks for sharing the solution. Bye ;D -
Gave Reputation to Ryujin in cURL won't scrape this page. Why?
@diafol, that's a thought but no, since the few calls i've tried all failed from the beginning. Have opened a ticket with Bluehost. @cereal, it's interesting because calls to other … -
Gave Reputation to matosha in Remove vsftpd on Kali linux
I found my answer here. The issue lied in this file. I commented out 3 parameters and the removal worked. installed pure-ftpd afterwards. -at the bottom of post [Click Here](http://ubuntuforums.org/showthread.php?t=1434911) -
Began Watching Geolocation permissions on different devices
If you use JavaScript for geolocation the first time someone uses it then his browser will ask for permission to send his location to the site where your web page …
The End.