Laser-irradiated metallic foils were considered as x-ray sources for extended x-ray absorption fine structure (EXAFS) measurements and confirmed by experiments on the SGIII prototype facility. The Au foils were irradiated by laser beams with a total energy of 2.77 kJ and full width at half maximum (FWHM) of 1 ns to create an x-ray source. The x-ray emission was spectrally smooth in the energy range of Ti EXAFS, the FWHM of Au foil x-ray radiation pulse in the energy range of 0.1–4000 eV was 0.99 ns, and the FWHM of x-ray pulse in the energy range of 5000–6000 eV was deduced to be 0.55 ns according to simulation results. A shaped laser pulse was designed to achieve the Ti sample’s laser-direct-driven ramp compression process. By creating a quasi-stable state lasting longer than 1 ns as the probing window during the compression process, the demand for temporal resolution was reduced. EXAFS spectra of compressed Ti in α and ω-phase were obtained and compared, and structural phase transition was verified by EXAFS pattern changes. The velocity of the back interface of the Ti sample was measured by the velocity interferometer system for any reflector, and the maximum of the deduced pressure in the middle of the Ti sample was 8.2 GPa, which is consistent with the α-ω phase transition.