|
Hello everyone,
is there any class in php that i can use to convert my excel file to pdf?
Thanks in advance
jyn
|
|
|
|
|
|
Or any function that i can use in php to convert excel file to pdf.
Thanks
jyn
|
|
|
|
|
No, no built in function you can just call to convert an excel file to a pdf, as the original replier said check phpclasses for any results.
|
|
|
|
|
I am trying to save result from SOAP function to XML file. I am calling SOAP function getProductListResult of web service http://public.ws.cz.elinkx.biz/service.asmx (description is available without logging).
I want save/serialize getProductListResult->ProductList to XML but it is stdClass and cant be converted to string and i got:
Catchable fatal error: Object of class stdClass could not be converted to string
I tried calling $data->getProductListResult->ProductList->any but didnt help (nor $data->getProductListResult->any)
thanks for help
code:
$soap = new SoapClient(CONST_SOAP_EDSoapURL,
array( 'style' => SOAP_DOCUMENT,
'use' => SOAP_LITERAL,
'trace' => true));
$data = $soap->getProductList(
array( 'login' => CONST_SOAP_EDLogin,
'password' => CONST_SOAP_EDPassword,
'onStock' => 'true'));
$doc = new DOMDocument();
$doc->loadXML((string) $data->getProductListResult->ProductList);
$doc->save('_data/ceniky/cenikED.xml');
|
|
|
|
|
I wish to create and place buynow buttons on my site. Now if I create them and add a success url then the download location is visable. I could hide source but I was wondering if the success url was say success.php and the code would check the path of whoever activates it. Only allowing the download if the path is correct. Which in this case would be the Paypal site after payment made.
Bit of background:
I am creating an online garage sale for myself and as I am reasonably conversant with basic I putting together a automatic shop building program (I'm retired and its a hobby) Now creating the buttons with a fill in form is easy but the code is not encrypted. Thus my enquiry.
I have searched but have not found how to detect the difference between a redirection from Paypal and someone targeting the success url albeit a php file.
It all started due to the fact that I tried selling my stuff on Ebay and the insertion charges added too much cost to items I wish to sell.
they are all one off treasures. Actually Marc helped me with handling a one off item (Inventry Control) that led me to understand creation of a php info form. I am most greatful to him for that.
So any idea or pointer would be most welcomed. This is not a commercial project. At 66 I do not have enough time writing a help file and a Installation file Plus everything else that goes with it including a domain and web pages. Not that desperate yet.
Terry
|
|
|
|
|
you can send additional variables with your PayPal buttons (make sure you encrypt them - it's a pain but worthwhile). You have to create custom buttons.
You might also want to consider using PayPal's IPN & PDT variables to add the buyers info into a database upon a successful transaction. then when they get to the thank you page you can get them to check they have paid using your database (but this will be a time-consuming task).
|
|
|
|
|
G'Day Marc That is what I am doing for software downloads so the path is hidden. The reason I raised the question is that I now have a basic program to create the necessary php files to handle the inventry of one problem that you helped me with.
That led me to understanding how to set up a php based form. Which i prompting another basic program.
The buttons for AddtoCart, BuyNow, and Donate Buttons I now have a simple program with a input window to create.
The whole reason is to sell my bits and pieces on my online garage sale. So to make the task simple and consistant I am trying to automate with simple utilities.
It is coming together ok as you can see at Mr T's World
What I am after currently is to make a download imposible to do if it is not accessed by the right path.
You are right though in what you say. That is probably what I shall do.
By the way I am prepared to share my inventry producing software and shop structure.
I use Blue Voda's Web Builder and use my software to convert their preview file into a named html file and transfer it to a folder of my choice. I use it as it is dead easy to create a great site. every object is placed absolute.
Thanks Marc for all your help and have a G'Day
Terry
Terry
|
|
|
|
|
Hi I am PHP programmer. I try to create thumbnail using php exec(FFMPEG) function on linux server. But it will not create thumbnail.
On the same time the code works fine and create thumbnail in shell command of the same server when I tested it.
Anyone can help me. Thanks
|
|
|
|
|
make sure you have correct permissions on all relevant directories. make sure your server doesn't have exec disabled in php.ini
|
|
|
|
|
Thanks for your reply.
I checked that the correct permissions on all relevant directories and exec function not in disabled in php.ini. Problem is not in these two sections.
Finally I found the solution that change the safe mode in php ini file likes below.
safe_mode = On’ To safe_mode = Off’.
Now thumbnail created successfully.
Thanks again.
modified on Friday, July 3, 2009 12:28 AM
|
|
|
|
|
Remember to create membership in http://www.codeproject.com/
Using Yahoo Email Id.
Thanks and Regards
Malraj b
|
|
|
|
|
What?
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
|
Crikey.. thats a tricky php question!
|
|
|
|
|
Hi,
As i am developing a small CRUD(create,read,update,delete) application. In this application the following errors persists.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\WishList\index.php:3) in C:\xampp\htdocs\WishList\index.php on line 14
Can anyone provide solution for this one.
|
|
|
|
|
session_start() needs to be the first thing called on a page; you can't have anything before it.
Have a read of this.[^]
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
you can't print any text to the screen before calling session_start()
|
|
|
|
|
Ok. Thanks for your responses.
|
|
|
|
|
hi
I have written a source plugin that plays youtube videos in mp4 format. the problem i am facing is that playback starts in the beginning for a few seconds and then hangs. following is the pipeline i am using and its output:
./gst-launch utubesrc location='http://www.youtube.com/get_video?video_id=oHM6HSYYoKk&t=vjVQa1PpcFPIKPyPli_EZJou4CVqjAvS16yr8noO1bg=&fmt=18' ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=f ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=1000000 ! faad ! audioconvert !alsasink latency-time=40000 provide-clock=false f. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=1000000 ! ffdec_h264 ! queue max-size-buffers=6max-size-bytes=0 ! ffmpegcolorspace ! autovideosink
output:
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
This pipeline was working fine with ffmpeg version 0.10.7 but now i have to use 0.10.2
Reply ASAP !!
|
|
|
|
|
|
http://itprojectsforyou.com[^],The site provides real time and academic projects with source codes for all type of customers. In addition to the real time projects, website focus on helping graduates and undergraduates to do their educational curriculum projects and seminars. Website have great inventory of project concepts and details. Students can discover the concepts and our team helps students to learn, develop, deploy and present this as projects.These projects will give an excellent exposure to cutting edge technologies. Our team has helped lot of students to successfully submit academic projects and there by adding more values to their resumes.
|
|
|
|
|
F... Off and Die
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I downloaded the latest version of XML::XSLT from CPAN and when I create an instance of the XSL processor, I get the following error
my $xslt = XML::XSLT->new ($xslfile, warnings => 1);
Can't call method "createDocumentFragment" on an undefined value at C:/Perl/site/lib/XML/XSLT.pm line 766.
Is there something that I should include or check for?
Thanks!
|
|
|
|
|
Dear All,
Is there any way to open a new konsole in Linux without the autologout feature. I know that a can set the autolougout variable to zero to keep the konsole opened forever. but actually, I developed a gui that let users click on a button to open a konsole and I don't want them to manually set this variable to zero to avoid close the konsole.
any idea?
Regards,
|
|
|
|