- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 13
- Upvoting Members
- 13
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Re: You want URL and not path. I suppose you could try `echo 'http://localhost/img_mysql/images/' . $row['image']`. | |
Re: You could open new topic. But answer to your question could be done with Mailchimp service. And if you want to use it dinamically from your PHP application, you can use their API system. | |
Re: Have you checked the [docs](http://www.php.net/manual/en/features.file-upload.multiple.php) already? | |
Re: Go to `/usr/local/bin` location and execute `mv composer.phar /usr/local/bin/composer` command. Then you can use `composer` further. Double check what [docs](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) say. | |
Re: PHP interpreter doesn't check `.html` pages unless stated otherwise. In Apache2@Ubuntu/Debian use this directive in `.htaccess` file. AddType application/x-httpd-php .html .htm or AddType application/x-httpd-php5 .html .htm If you are running PHP as CGI, you should write AddHandler application/x-httpd-php .html .htm or AddHandler application/x-httpd-php5 .html .htm Solution from [here](http://stackoverflow.com/questions/4687208/using-htaccess-to-make-all-html-pages-to-run-as-php-files). | |
Re: So show some code where you stuck. I can recommend [great article](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) of how to ask for help. Help us to help you. ;) Other than that, you can use AJAX to move recorded file to DB since you have already the file name/location. You can tweak `invokeSaveAsDialog` function of … | |
Re: 1. We don't know what `user_1` and/or `user_2` are. 2. Post complete HTML form. 3. Post JS/AJAX code used. 4. Post PHP code used. [How to ask](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/). | |
Re: This doesn't work this way. Check [here](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) and try again. | |
Re: Shorthand is easy to remember as well: http://php.net/manual/en/language.operators.comparison.php#92685 | |
Re: Welcome to aboard. First, you shouldn't use mysql driver but you should use mysqli if procedural (as this example is) or PDO (preferable) if OOP. Secondly, you need to loop over returned results. Check [example 2](http://php.net/manual/en/function.mysql-query.php#example-1794). Also, check what have you got if print_r($result) without html tags. | |
Re: Also, I think you should omit `onClick="update_cart_detail()"` since you trigger function and whole AJAX process by clicking `id="update_cart"` which is that button. | |
Re: Before form you want to check out if data is sent by POST so let's say right after line 40 (or first line after opening if condition) you need something like: if ( isset($_POST['submit_btn']) ) { // do what you need // insert or what ever // don't forget validation … | |
Re: Can you test it on non secured page and check results, some development environment maybe? | |
Re: Copy all files to localhost and check if there is same behaviour. | |
Re: Check if .htaccess is written well for online environment. | |
Re: Check [this](http://datamapper.wanwizard.eu/) docs. | |
Re: Try to add any relevant code in next post (i.e. PHP, HTML, CSS, JS that is used in action). | |
Re: Check if [this solution](http://webcheatsheet.com/php/reading_clean_text_from_pdf.php) suits you. I have just googled it. Seems like possible solution. I am getting some results but not wanted. Try if it will fit your request. | |
Re: Seems like `$topuid` is not an array. `var_dump($topuid);exit;` just before line 198 to see what is there. | |
Re: I use: `isset($_POST['checkboxName']);` to determine checkbox fields. | |
| |
Re: What stopped you from [google](http://bit.ly/1mP54SY)? (Hint: w3schools, phpfileuploader or tutorial on php.about.com seem to be good ones.) | |
| Re: Some practice I've met and started to use was to have folder named assets in the root: -application -assets --css --img --js -system .htaccess index.php Third party libraries are meant to be in `application/third_party` folder. |
Re: It's not secured enough. Someone could manually type id in url and update wrong page. | |
Re: Try to look the code in first place. I am very satisfied with Google Chrome right click Inspect element context option. If you check it, you will see that login form is just div *css-ed* with `display: none;` rule. With JS/jQuery you can make the magic removing that rule (class) … | |
Re: It looks like there is IO.php (not necessarily) file with same class name (mandatory) in it to me. I would say there is `public static function intValue($int = FALSE){}` or something like that inside class. Are you familiar with OOP? | |
Re: Following your pseudo logic, closest answer would be if (refreshed == TRUE) { revertColor(red) } | |
Re: Revert the loop code. It is fine. Variable is created and you can use it next in code. My question is where do you pick `$_POST['edit_event']` in your form? Because you set condition for fetching data if edit_event is posted. | |
Re: [Save your file as utf-8 without BOM](http://ch1.php.net/manual/en/function.session-start.php#103550). |