any link to the documentation?
What does mean?
You mean share all the file?
What are the stacks?
where are you from sir ?
Still awaiting response🤝
I think it’s obvious?

👆here
With the previous versions of php (5) it works but when I upgraded, it doesn’t support count or sizeof when variables are passed like that
you should see the documentation to see what’s the different between two version about this function
any link to the documentation?
php.net/sizeof
if(isset($users) && count($users) ) would work…
so it seems that you are passing null to function sizeof
True, But I have got the core to solve the problem now
Let me give you an example – if your building an WebApp let’s it as *Invoices* and think that in future your gonna develop IOS & Android App for the same, or you want few of your clients to consume your Application then you need to have some of doing so
REST APIs comes to your rescue.
If you just you JSON it’s more than sufficient. No need to SOAP as it’s very complex and adds lots of complexity on developer as well as consumer side
Thanks.👍
After I ran the migrations successfully, I try to persist an entity and I get the following error:
‘‘‘
IlluminateDatabaseQueryException could not find driver
‘‘‘
What does mean? Couldn’t migrations use the same driver?
Class ‘UnisharpCkeditorServiceProvider’ not found
Class ‘UnisharpCkeditorServiceProvider’ not found
Could you please share your code and someone can help you out
You mean share all the file?
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
class CKEditorController extends Controller
{
/**
* Display a listing of the resource.
*
* @return IlluminateHttpResponse
*/
public function index()
{
//
return view(‘editor’);
}
/**
* Show the form for creating a new resource.
*
* @return IlluminateHttpResponse
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*
* @param IlluminateHttpRequest $request
* @return IlluminateHttpResponse
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*
* @param int $id
* @return IlluminateHttpResponse
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return IlluminateHttpResponse
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param IlluminateHttpRequest $request
* @param int $id
* @return IlluminateHttpResponse
*/
public function update(Request $request, $id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return IlluminateHttpResponse
*/
public function destroy($id)
{
//
}
public function upload(Request $request)
{
if($request->hasFile(‘upload’)) {
//get filename with extension
$filenamewithextension = $request->file(‘upload’)->getClientOriginalName();
//get filename without extension
$filename = pathinfo($filenamewithextension, PATHINFO_FILENAME);
//get file extension
$extension = $request->file(‘upload’)->getClientOriginalExtension();
//filename to store
$filenametostore = $filename.’_’.time().’.’.$extension;
//Upload File
$request->file(‘upload’)->storeAs(‘public/uploads’, $filenametostore);
$CKEditorFuncNum = $request->input(‘CKEditorFuncNum’);
$url = asset(‘storage/uploads/’.$filenametostore);
$msg = ‘Image successfully uploaded’;
$re = “<script>window.parent.CKEDITOR.tools.callFunction($CKEditorFuncNum, ‘$url’, ‘$msg’)</script>”;
// Render HTML output
@header(‘Content-type: text/html; charset=utf-8’);
echo $re;
}
}
}
<!–<script>
CKEDITOR.replace( ‘summary-ckeditor’ );
</script>–>
<script>
CKEDITOR.replace( ‘summary-ckeditor’, {
filebrowserUploadUrl: “{{route(‘upload’, [‘_token’ => csrf_token() ])}}”,
filebrowserUploadMethod: ‘form’
});
</script>
{
if($request->hasFile(‘upload’)) {
//get filename with extension
$filenamewithextension = $request->file(‘upload’)->getClientOriginalName();
//get filename without extension
$filename = pathinfo($filenamewithextension, PATHINFO_FILENAME);
//get file extension
$extension = $request->file(‘upload’)->getClientOriginalExtension();
//filename to store
$filenametostore = $filename.’_’.time().’.’.$extension;
//Upload File
$request->file(‘upload’)->storeAs(‘public/uploads’, $filenametostore);
$CKEditorFuncNum = $request->input(‘CKEditorFuncNum’);
$url = asset(‘storage/uploads/’.$filenametostore);
$msg = ‘Image successfully uploaded’;
$re = “<script>window.parent.CKEDITOR.tools.callFunction($CKEditorFuncNum, ‘$url’, ‘$msg’)</script>”;
// Render HTML output
@header(‘Content-type: text/html; charset=utf-8’);
echo $re;
}
}
}
you can pin me .
What are the stacks? 🙂
Vue laravel nodejs
India mostly looking out for people from and within India its much more easier to send and move money around locally
Well true that but not all of them lock down got me locked up in a foren country and it’s quite hard pushing or making money worse still in a country u barely know of
where are you from sir ?
Speaking of horrible…
Yes one has to be very selective many of them otherwise u may end up building lots of bugs instead of getting work done