Search found 331 matches

by gautamz07
Fri Sep 15, 2017 2:48 am
Forum: PHP - Frameworks
Topic: How to install bolt ?
Replies: 4
Views: 13733

Re: How to install bolt ?

ok thanks celaurian ! I'll try that out.
by gautamz07
Thu Sep 14, 2017 3:28 pm
Forum: PHP - Frameworks
Topic: How to install bolt ?
Replies: 4
Views: 13733

Re: How to install bolt ?

Hi Celauran, I did't change any of the configuration , i have tried this multiple times and everytime , after a couple of days suddenly my Bolt installation will stop working ! i don't know why. The only thing i play around with is the theme folder and nothing else once i have my bolt setup. About v...
by gautamz07
Mon Sep 11, 2017 3:08 pm
Forum: PHP - Frameworks
Topic: How to install bolt ?
Replies: 4
Views: 13733

How to install bolt ?

Hey guys , I am back to using bolt and i even installed it , made a few contenttypes and even customized my own theme and suddenly it stopped working and i got the following message::- https://imgur.com/a/xjmXk . What i am doing right now is i just install bolt from this like here --> https://bolt.c...
by gautamz07
Tue Aug 29, 2017 9:41 am
Forum: PHP - Code
Topic: Need a nice email sending template
Replies: 2
Views: 4310

Re: Need a nice email sending template

Ok thank you :| :P
by gautamz07
Mon Aug 28, 2017 2:52 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: What am i missing???
Replies: 7
Views: 9865

Re: What am i missing???

never seen a tm html tag , not sure where you got that from, First thing you should do is make sure your <a> tags completely container its child div, so the following code: #topmenu > a { display: inline-block; } Now add overflow:hidden on the <a> tag or its child <div> #topmenu > a { display: inlin...
by gautamz07
Sun Aug 27, 2017 4:17 pm
Forum: PHP - Code
Topic: Need a nice email sending template
Replies: 2
Views: 4310

Need a nice email sending template

I have the following email template for sending emails , that i found online: $body = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http...
by gautamz07
Fri Aug 04, 2017 2:49 pm
Forum: PHP - Code
Topic: what is tmp_name in a file ??
Replies: 1
Views: 3478

what is tmp_name in a file ??

Hey guys , i was just going through the following code for php file upload(i am just posting a small snippet): <?php $uploads_dir = '/uploads'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK) { $tmp_name = $_FILES["pictures"][&quo...
by gautamz07
Fri Aug 04, 2017 1:40 pm
Forum: PHP - Code
Topic: Ajax form not working , need some help.
Replies: 1
Views: 3412

Re: Ajax form not working , need some help.

Actually changing my JS code from:

Code: Select all

let data = new FormData();

$.each(files, function(key, value){
     data.append(key, value);
});
To:

Code: Select all

$('form').submit(function(e){
    let data = new FormData(this);
});

Made my code work ! :)
by gautamz07
Fri Aug 04, 2017 9:35 am
Forum: PHP - Code
Topic: Ajax form not working , need some help.
Replies: 1
Views: 3412

Ajax form not working , need some help.

Hey guys i have the following html code: <form action="mail/filesend.php" method="POST" accept-charset="utf-8" enctype="multipart/form-data" validate> <div class="input-wrpr"> <input type="file" name="files[]"> </div> <button type...
by gautamz07
Fri Jul 28, 2017 5:01 pm
Forum: PHP - Frameworks
Topic: Laravel : object implementing __toString(), "object" given
Replies: 3
Views: 17224

Re: Laravel : object implementing __toString(), "object" giv

@requinix , because i wanna see whats retrived in the $article variable , also if i remove that variable the next line throws the same error.
by gautamz07
Fri Jul 28, 2017 4:31 pm
Forum: PHP - Frameworks
Topic: Laravel : object implementing __toString(), "object" given
Replies: 3
Views: 17224

Laravel : object implementing __toString(), "object" given

I have the folllowing route in my route.php file: Route::get('/edit/{id}' , [ 'uses' => 'adminController@editArticle', 'as' => 'editArticle' ]); The editArticle function looks like the folllowing: public function editArticle(Request $request) { /* Get the last part of the URI */ $explodedUrl = explo...
by gautamz07
Mon Jul 03, 2017 1:53 am
Forum: PHP - Frameworks
Topic: suggestions for newsletter system - Laravel
Replies: 0
Views: 10152

suggestions for newsletter system - Laravel

Hey Guys , i have a code blog , so basically what i want to do is , i want to add a newsletter feature to my code blog, and once a week , i wanna send a newsletter to everyone who subscribes to my blog and newsletter , basically the email will just be a hyperlinks to my latest blog posts. I came acr...
by gautamz07
Tue Jun 06, 2017 7:19 am
Forum: PHP - Frameworks
Topic: Any good payment gateways for debit credit cards suggestions
Replies: 2
Views: 15722

Re: Any good payment gateways for debit credit cards suggest

Thanks celaurian , does't work in india unfortunately , any other options ?

I had tried that before i went to razorpay .
by gautamz07
Sun Jun 04, 2017 1:35 pm
Forum: PHP - Frameworks
Topic: Any good payment gateways for debit credit cards suggestions
Replies: 2
Views: 15722

Any good payment gateways for debit credit cards suggestions

Hey guys , i have created the following donate form: http://imgur.com/a/c23ko I would like to add a payment gateway where in a person can fill in his credit or debit card number and make the payment. Can anybody suggest what payment gateway i should use ? NOTE:: I would not like to use paypal :P i h...
by gautamz07
Sun May 14, 2017 3:30 am
Forum: PHP - Code
Topic: How to echo JSON sent using javascript in
Replies: 1
Views: 2280

How to echo JSON sent using javascript in

Hey guys , i have the following update.js file: var xhr = new XMLHttpRequest(); xhr.open('POST' , 'updateuserinfo.php'); xhr.setRequestHeader('Content-Type' , 'application/json'); xhr.onload = function() { if (xhr.status === 200) { console.log('done !'); } } let data = { name : 'John', profession : ...